@Stability(value=Stable) public static final class CfnAlert.SNSConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAlert.SNSConfigurationProperty>
CfnAlert.SNSConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAlert.SNSConfigurationProperty |
build()
Builds the configured instance.
|
CfnAlert.SNSConfigurationProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnAlert.SNSConfigurationProperty.getRoleArn() |
CfnAlert.SNSConfigurationProperty.Builder |
snsTopicArn(String snsTopicArn)
Sets the value of
CfnAlert.SNSConfigurationProperty.getSnsTopicArn() |
@Stability(value=Stable) public CfnAlert.SNSConfigurationProperty.Builder roleArn(String roleArn)
CfnAlert.SNSConfigurationProperty.getRoleArn()roleArn - The ARN of the IAM role that has access to the target SNS topic. This parameter is required.this@Stability(value=Stable) public CfnAlert.SNSConfigurationProperty.Builder snsTopicArn(String snsTopicArn)
CfnAlert.SNSConfigurationProperty.getSnsTopicArn()snsTopicArn - The ARN of the target SNS topic. This parameter is required.this@Stability(value=Stable) public CfnAlert.SNSConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnAlert.SNSConfigurationProperty>CfnAlert.SNSConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.