We recommend new projects start with resources from the AWS provider.
aws-native.cloudfront.getRealtimeLogConfig
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::CloudFront::RealtimeLogConfig
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>
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]
func LookupRealtimeLogConfig(ctx *Context, args *LookupRealtimeLogConfigArgs, opts ...InvokeOption) (*LookupRealtimeLogConfigResult, error)
func LookupRealtimeLogConfigOutput(ctx *Context, args *LookupRealtimeLogConfigOutputArgs, opts ...InvokeOption) LookupRealtimeLogConfigResultOutput
> 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)
}
public static CompletableFuture<GetRealtimeLogConfigResult> getRealtimeLogConfig(GetRealtimeLogConfigArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cloudfront:getRealtimeLogConfig
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- The Amazon Resource Name (ARN) of the real-time log configuration. For example:
arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig
.
- Arn string
- The Amazon Resource Name (ARN) of the real-time log configuration. For example:
arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig
.
- arn String
- The Amazon Resource Name (ARN) of the real-time log configuration. For example:
arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig
.
- arn string
- The Amazon Resource Name (ARN) of the real-time log configuration. For example:
arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig
.
- arn str
- The Amazon Resource Name (ARN) of the real-time log configuration. For example:
arn:aws:cloudfront::111122223333:realtime-log-config/ExampleNameForRealtimeLogConfig
.
- arn 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
. - End
Points List<Pulumi.Aws Native. Cloud Front. Outputs. Realtime Log Config End Point> - 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 .
- Sampling
Rate 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
. - End
Points []RealtimeLog Config End Point - 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 .
- Sampling
Rate 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
. - end
Points List<RealtimeLog Config End Point> - 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 .
- sampling
Rate 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
. - end
Points RealtimeLog Config End Point[] - 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 .
- sampling
Rate 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[RealtimeLog Config End Point] - 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
. - end
Points 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 .
- sampling
Rate 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
- Kinesis
Stream Pulumi.Config Aws Native. Cloud Front. Inputs. Realtime Log Config Kinesis Stream Config - Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
- Stream
Type string - The type of data stream where you are sending real-time log data. The only valid value is
Kinesis
.
- Kinesis
Stream RealtimeConfig Log Config Kinesis Stream Config - Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
- Stream
Type string - The type of data stream where you are sending real-time log data. The only valid value is
Kinesis
.
- kinesis
Stream RealtimeConfig Log Config Kinesis Stream Config - Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
- stream
Type String - The type of data stream where you are sending real-time log data. The only valid value is
Kinesis
.
- kinesis
Stream RealtimeConfig Log Config Kinesis Stream Config - Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
- stream
Type string - The type of data stream where you are sending real-time log data. The only valid value is
Kinesis
.
- kinesis_
stream_ Realtimeconfig Log Config Kinesis Stream Config - Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
- stream_
type str - The type of data stream where you are sending real-time log data. The only valid value is
Kinesis
.
- kinesis
Stream Property MapConfig - Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
- stream
Type String - The type of data stream where you are sending real-time log data. The only valid value is
Kinesis
.
RealtimeLogConfigKinesisStreamConfig
- Role
Arn string The Amazon Resource Name (ARN) of an AWS Identity and Access Management (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 string - The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
- Role
Arn string The Amazon Resource Name (ARN) of an AWS Identity and Access Management (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 string - The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
- role
Arn String The Amazon Resource Name (ARN) of an AWS Identity and Access Management (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 String - The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
- role
Arn string The Amazon Resource Name (ARN) of an AWS Identity and Access Management (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 string - The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
- role_
arn str The Amazon Resource Name (ARN) of an AWS Identity and Access Management (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 str - The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.
- role
Arn String The Amazon Resource Name (ARN) of an AWS Identity and Access Management (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 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.