Interface CfnTopicPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopicPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:38.165Z")
@Stability(Stable)
public interface CfnTopicPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTopicPolicy
.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTopicPolicyProps
static final class
An implementation forCfnTopicPolicyProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTopicPolicyProps.Builder
builder()
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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyDocument
A policy document that contains permissions to add to the specified SNS topics. -
getTopics
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. -
builder
- Returns:
- a
CfnTopicPolicyProps.Builder
ofCfnTopicPolicyProps
-