Class CfnTopicPolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sns.CfnTopicPolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicPolicyPropsMixin>
- Enclosing class:
CfnTopicPolicyPropsMixin
@Stability(Stable)
public static final class CfnTopicPolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicPolicyPropsMixin>
A fluent builder for
CfnTopicPolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) policyDocument(Object policyDocument) A policy document that contains permissions to add to the specified SNS topics.The Amazon Resource Names (ARN) of the topics to which you want to add the policy.
-
Method Details
-
create
@Stability(Stable) public static CfnTopicPolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTopicPolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTopicPolicyPropsMixin.Builder.
-
policyDocument
A policy document that contains permissions to add to the specified SNS topics.- Parameters:
policyDocument- A policy document that contains permissions to add to the specified SNS topics. This parameter is required.- Returns:
this- See Also:
-
topics
The Amazon Resource Names (ARN) of the topics to which you want to add the policy.You can use the
[Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html)function to specify an[AWS::SNS::Topic](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html)resource.- Parameters:
topics- The Amazon Resource Names (ARN) of the topics to which you want to add the policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicPolicyPropsMixin>- Returns:
- a newly built instance of
CfnTopicPolicyPropsMixin.
-