Class CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty>
- Enclosing interface:
CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty
@Stability(Stable)
public static final class CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty.getRoleArn()Sets the value ofCfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty.getRoleArn()streamArn(IStreamRef streamArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleArn
@Stability(Stable) public CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty.Builder roleArn(String roleArn) Sets the value ofCfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty.getRoleArn()- Parameters:
roleArn- 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 .- Returns:
this
-
roleArn
@Stability(Stable) public CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty.Builder roleArn(IRoleRef roleArn) Sets the value ofCfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty.getRoleArn()- Parameters:
roleArn- 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 .- Returns:
this
-
streamArn
@Stability(Stable) public CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty.Builder streamArn(String streamArn) - Parameters:
streamArn- The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.- Returns:
this
-
streamArn
@Stability(Stable) public CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty.Builder streamArn(IStreamRef streamArn) - Parameters:
streamArn- The Amazon Resource Name (ARN) of the Kinesis data stream where you are sending real-time log data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty>- Returns:
- a new instance of
CfnRealtimeLogConfigPropsMixin.KinesisStreamConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-