Interface CfnTopicPolicyProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.165Z") @Stability(Stable) public interface CfnTopicPolicyProps extends
Properties for defining a CfnTopicPolicy.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object policyDocument;
 CfnTopicPolicyProps cfnTopicPolicyProps = CfnTopicPolicyProps.builder()
  • Method Details

    • getPolicyDocument

      @Stability(Stable) @NotNull Object getPolicyDocument()
      A policy document that contains permissions to add to the specified SNS topics.
    • getTopics

      @Stability(Stable) @NotNull List<String> getTopics()
      The Amazon Resource Names (ARN) of the topics to which you want to add the policy.

      You can use the [Ref]( function to specify an [AWS::SNS::Topic]( resource.

    • builder

      @Stability(Stable) static CfnTopicPolicyProps.Builder builder()
      a CfnTopicPolicyProps.Builder of CfnTopicPolicyProps