interface CfnTopicPolicyMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SNS.Mixins.CfnTopicPolicyMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssns/mixins#CfnTopicPolicyMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.sns.mixins.CfnTopicPolicyMixinProps |
Python | aws_cdk.mixins_preview.aws_sns.mixins.CfnTopicPolicyMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_sns » mixins » CfnTopicPolicyMixinProps |
Properties for CfnTopicPolicyPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicpolicy.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as sns_mixins } from '@aws-cdk/mixins-preview/aws-sns';
declare const policyDocument: any;
const cfnTopicPolicyMixinProps: sns_mixins.CfnTopicPolicyMixinProps = {
policyDocument: policyDocument,
topics: ['topics'],
};
Properties
| Name | Type | Description |
|---|---|---|
| policy | any | A policy document that contains permissions to add to the specified SNS topics. |
| topics? | string[] | The Amazon Resource Names (ARN) of the topics to which you want to add the policy. |
policyDocument?
Type:
any
(optional)
A policy document that contains permissions to add to the specified SNS topics.
topics?
Type:
string[]
(optional)
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.

.NET
Go
Java
Python
TypeScript