KinesisStreamConfigProperty Struct
Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const kinesisStreamConfigProperty: cloudfront.CfnRealtimeLogConfig.KinesisStreamConfigProperty = {
roleArn: 'roleArn',
streamArn: 'streamArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront
kinesis_stream_config_property = cloudfront.CfnRealtimeLogConfig.KinesisStreamConfigProperty(
role_arn="roleArn",
stream_arn="streamArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;
KinesisStreamConfigProperty kinesisStreamConfigProperty = KinesisStreamConfigProperty.builder()
.roleArn("roleArn")
.streamArn("streamArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var kinesisStreamConfigProperty = new KinesisStreamConfigProperty {
RoleArn = "roleArn",
StreamArn = "streamArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
kinesisStreamConfigProperty := &KinesisStreamConfigProperty{
RoleArn: jsii.String("roleArn"),
StreamArn: jsii.String("streamArn"),
}
Properties
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.
notes
For more information the IAM role, see Real-time log configuration IAM role in the Amazon CloudFront Developer Guide .
The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.