@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.238Z") @Stability(value=Stable) public interface CfnTopicPolicyProps extends software.amazon.jsii.JsiiSerializable
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() |
Object |
getPolicyDocument()
A policy document that contains permissions to add to the specified SNS topics.
|
List<String> |
getTopics()
The Amazon Resource Names (ARN) of the topics to which you want to add the policy.
|
@Stability(value=Stable) @NotNull Object getPolicyDocument()
@Stability(value=Stable) @NotNull List<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.
@Stability(value=Stable) static CfnTopicPolicyProps.Builder builder()
CfnTopicPolicyProps.Builder of CfnTopicPolicyPropsCopyright © 2022. All rights reserved.