@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:42.079Z")
public interface CfnTopicPolicyProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sns.*; Object policyDocument; CfnTopicPolicyProps cfnTopicPolicyProps = CfnTopicPolicyProps.builder() .policyDocument(policyDocument) .topics(List.of("topics")) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTopicPolicyProps.Builder
A builder for
CfnTopicPolicyProps |
static class |
CfnTopicPolicyProps.Jsii$Proxy
An implementation for
CfnTopicPolicyProps |
Modifier and Type | Method and Description |
---|---|
static CfnTopicPolicyProps.Builder |
builder() |
java.lang.Object |
getPolicyDocument()
A policy document that contains permissions to add to the specified SNS topics.
|
java.util.List<java.lang.String> |
getTopics()
The Amazon Resource Names (ARN) of the topics to which you want to add the policy.
|
java.lang.Object getPolicyDocument()
java.util.List<java.lang.String> getTopics()
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-properties-sns-topic.html)
resource.
static CfnTopicPolicyProps.Builder builder()
CfnTopicPolicyProps.Builder
of CfnTopicPolicyProps