EndPointProperty Struct
Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
| 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 endPointProperty: cloudfront.CfnRealtimeLogConfig.EndPointProperty = {
kinesisStreamConfig: {
roleArn: 'roleArn',
streamArn: 'streamArn',
},
streamType: 'streamType',
};
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
end_point_property = cloudfront.CfnRealtimeLogConfig.EndPointProperty(
kinesis_stream_config=cloudfront.CfnRealtimeLogConfig.KinesisStreamConfigProperty(
role_arn="roleArn",
stream_arn="streamArn"
),
stream_type="streamType"
)
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.*;
EndPointProperty endPointProperty = EndPointProperty.builder()
.kinesisStreamConfig(KinesisStreamConfigProperty.builder()
.roleArn("roleArn")
.streamArn("streamArn")
.build())
.streamType("streamType")
.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 endPointProperty = new EndPointProperty {
KinesisStreamConfig = new KinesisStreamConfigProperty {
RoleArn = "roleArn",
StreamArn = "streamArn"
},
StreamType = "streamType"
};
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"
endPointProperty := &EndPointProperty{
KinesisStreamConfig: &KinesisStreamConfigProperty{
RoleArn: jsii.String("roleArn"),
StreamArn: jsii.String("streamArn"),
},
StreamType: jsii.String("streamType"),
}
Properties
kinesisStreamConfigIResolvable | CfnRealtimeLogConfig.kinesis_stream_configtyping.Union[IResolvable, KinesisStreamConfigProperty]kinesisStreamConfigIResolvableKinesisStreamConfigIResolvableKinesisStreamConfiginterface{} required #Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration.
The type of data stream where you are sending real-time log data.
The only valid value is Kinesis .