1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. cloudfront
  5. getRealtimeLogConfig

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.cloudfront.getRealtimeLogConfig

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

A real-time log configuration.

Using getRealtimeLogConfig

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getRealtimeLogConfig(args: GetRealtimeLogConfigArgs, opts?: InvokeOptions): Promise<GetRealtimeLogConfigResult>
function getRealtimeLogConfigOutput(args: GetRealtimeLogConfigOutputArgs, opts?: InvokeOptions): Output<GetRealtimeLogConfigResult>
Copy
def get_realtime_log_config(arn: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetRealtimeLogConfigResult
def get_realtime_log_config_output(arn: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetRealtimeLogConfigResult]
Copy
func LookupRealtimeLogConfig(ctx *Context, args *LookupRealtimeLogConfigArgs, opts ...InvokeOption) (*LookupRealtimeLogConfigResult, error)
func LookupRealtimeLogConfigOutput(ctx *Context, args *LookupRealtimeLogConfigOutputArgs, opts ...InvokeOption) LookupRealtimeLogConfigResultOutput
Copy

> Note: This function is named LookupRealtimeLogConfig in the Go SDK.

public static class GetRealtimeLogConfig 
{
    public static Task<GetRealtimeLogConfigResult> InvokeAsync(GetRealtimeLogConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetRealtimeLogConfigResult> Invoke(GetRealtimeLogConfigInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetRealtimeLogConfigResult> getRealtimeLogConfig(GetRealtimeLogConfigArgs args, InvokeOptions options)
public static Output<GetRealtimeLogConfigResult> getRealtimeLogConfig(GetRealtimeLogConfigArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:cloudfront:getRealtimeLogConfig
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .
Arn This property is required. string
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .
arn This property is required. String
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .
arn This property is required. string
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .
arn This property is required. str
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .
arn This property is required. String
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .

getRealtimeLogConfig Result

The following output properties are available:

Arn string
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .
EndPoints List<Pulumi.AwsNative.CloudFront.Outputs.RealtimeLogConfigEndPoint>
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
Fields List<string>
A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream. For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
SamplingRate double
The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.
Arn string
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .
EndPoints []RealtimeLogConfigEndPoint
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
Fields []string
A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream. For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
SamplingRate float64
The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.
arn String
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .
endPoints List<RealtimeLogConfigEndPoint>
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
fields List<String>
A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream. For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
samplingRate Double
The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.
arn string
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .
endPoints RealtimeLogConfigEndPoint[]
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
fields string[]
A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream. For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
samplingRate number
The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.
arn str
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .
end_points Sequence[RealtimeLogConfigEndPoint]
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
fields Sequence[str]
A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream. For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
sampling_rate float
The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.
arn String
The Amazon Resource Name (ARN) of the real-time log configuration. For example: arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig .
endPoints List<Property Map>
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
fields List<String>
A list of fields that are included in each real-time log record. In an API response, the fields are provided in the same order in which they are sent to the Amazon Kinesis data stream. For more information about fields, see Real-time log configuration fields in the Amazon CloudFront Developer Guide.
samplingRate Number
The sampling rate for this real-time log configuration. The sampling rate determines the percentage of viewer requests that are represented in the real-time log data. The sampling rate is an integer between 1 and 100, inclusive.

Supporting Types

RealtimeLogConfigEndPoint

KinesisStreamConfig This property is required. Pulumi.AwsNative.CloudFront.Inputs.RealtimeLogConfigKinesisStreamConfig
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
StreamType This property is required. string
The type of data stream where you are sending real-time log data. The only valid value is Kinesis.
KinesisStreamConfig This property is required. RealtimeLogConfigKinesisStreamConfig
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
StreamType This property is required. string
The type of data stream where you are sending real-time log data. The only valid value is Kinesis.
kinesisStreamConfig This property is required. RealtimeLogConfigKinesisStreamConfig
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
streamType This property is required. String
The type of data stream where you are sending real-time log data. The only valid value is Kinesis.
kinesisStreamConfig This property is required. RealtimeLogConfigKinesisStreamConfig
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
streamType This property is required. string
The type of data stream where you are sending real-time log data. The only valid value is Kinesis.
kinesis_stream_config This property is required. RealtimeLogConfigKinesisStreamConfig
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
stream_type This property is required. str
The type of data stream where you are sending real-time log data. The only valid value is Kinesis.
kinesisStreamConfig This property is required. Property Map
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
streamType This property is required. String
The type of data stream where you are sending real-time log data. The only valid value is Kinesis.

RealtimeLogConfigKinesisStreamConfig

RoleArn This property is required. string
The Amazon Resource Name (ARN) of an IAMlong (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream. For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.
StreamArn This property is required. string
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
RoleArn This property is required. string
The Amazon Resource Name (ARN) of an IAMlong (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream. For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.
StreamArn This property is required. string
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
roleArn This property is required. String
The Amazon Resource Name (ARN) of an IAMlong (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream. For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.
streamArn This property is required. String
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
roleArn This property is required. string
The Amazon Resource Name (ARN) of an IAMlong (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream. For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.
streamArn This property is required. string
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
role_arn This property is required. str
The Amazon Resource Name (ARN) of an IAMlong (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream. For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.
stream_arn This property is required. str
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
roleArn This property is required. String
The Amazon Resource Name (ARN) of an IAMlong (IAM) role that CloudFront can use to send real-time log data to your Kinesis data stream. For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide.
streamArn This property is required. String
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi