Class CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.smsvoice.CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty>
- Enclosing interface:
CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty
@Stability(Stable)
public static final class CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.iamRoleArn(String iamRoleArn) logGroupArn(String logGroupArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
iamRoleArn
@Stability(Stable) public CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty.Builder iamRoleArn(String iamRoleArn) - Parameters:
iamRoleArn- The Amazon Resource Name (ARN) of an AWS Identity and Access Management role that is able to write event data to an Amazon CloudWatch destination.- Returns:
this
-
logGroupArn
@Stability(Stable) public CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty.Builder logGroupArn(String logGroupArn) - Parameters:
logGroupArn- The name of the Amazon CloudWatch log group that you want to record events in.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty>- Returns:
- a new instance of
CfnConfigurationSetPropsMixin.CloudWatchLogsDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-