We recommend new projects start with resources from the AWS provider.
aws-native.cloudfront.RealtimeLogConfig
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
A real-time log configuration.
Create RealtimeLogConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RealtimeLogConfig(name: string, args: RealtimeLogConfigArgs, opts?: CustomResourceOptions);
@overload
def RealtimeLogConfig(resource_name: str,
args: RealtimeLogConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RealtimeLogConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
end_points: Optional[Sequence[RealtimeLogConfigEndPointArgs]] = None,
fields: Optional[Sequence[str]] = None,
sampling_rate: Optional[float] = None,
name: Optional[str] = None)
func NewRealtimeLogConfig(ctx *Context, name string, args RealtimeLogConfigArgs, opts ...ResourceOption) (*RealtimeLogConfig, error)
public RealtimeLogConfig(string name, RealtimeLogConfigArgs args, CustomResourceOptions? opts = null)
public RealtimeLogConfig(String name, RealtimeLogConfigArgs args)
public RealtimeLogConfig(String name, RealtimeLogConfigArgs args, CustomResourceOptions options)
type: aws-native:cloudfront:RealtimeLogConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RealtimeLogConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RealtimeLogConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RealtimeLogConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RealtimeLogConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RealtimeLogConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
RealtimeLogConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RealtimeLogConfig resource accepts the following input properties:
- End
Points List<Pulumi.Aws Native. Cloud Front. Inputs. 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.
- Name string
- The unique name of this real-time log configuration.
- End
Points []RealtimeLog Config End Point Args - 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.
- Name string
- The unique name of this real-time log configuration.
- 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.
- name String
- The unique name of this real-time log configuration.
- 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.
- name string
- The unique name of this real-time log configuration.
- end_
points Sequence[RealtimeLog Config End Point Args] - 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.
- name str
- The unique name of this real-time log configuration.
- 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.
- name String
- The unique name of this real-time log configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the RealtimeLogConfig resource produces the following output properties:
Supporting Types
RealtimeLogConfigEndPoint, RealtimeLogConfigEndPointArgs
- 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, RealtimeLogConfigKinesisStreamConfigArgs
- Role
Arn 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.
- 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 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 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 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 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 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 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 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 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 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 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.