Class CfnTopicInlinePolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sns.CfnTopicInlinePolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicInlinePolicyPropsMixin>
- Enclosing class:
CfnTopicInlinePolicyPropsMixin
@Stability(Stable)
public static final class CfnTopicInlinePolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicInlinePolicyPropsMixin>
A fluent builder for
CfnTopicInlinePolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) policyDocument(Object policyDocument) A policy document that contains permissions to add to the specified Amazon topic.The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
-
Method Details
-
create
@Stability(Stable) public static CfnTopicInlinePolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTopicInlinePolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTopicInlinePolicyPropsMixin.Builder.
-
policyDocument
@Stability(Stable) public CfnTopicInlinePolicyPropsMixin.Builder policyDocument(Object policyDocument) A policy document that contains permissions to add to the specified Amazon topic.- Parameters:
policyDocument- A policy document that contains permissions to add to the specified Amazon topic. This parameter is required.- Returns:
this- See Also:
-
topicArn
The Amazon Resource Name (ARN) of the topic to which you want to add the policy.- Parameters:
topicArn- The Amazon Resource Name (ARN) of the topic to which you want to add the policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicInlinePolicyPropsMixin>- Returns:
- a newly built instance of
CfnTopicInlinePolicyPropsMixin.
-