interface CfnTopicPolicyMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SNS.CfnTopicPolicyMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssns#CfnTopicPolicyMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.sns.CfnTopicPolicyMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_sns.CfnTopicPolicyMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_sns » 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 { aws_sns as sns } from '@aws-cdk/cfn-property-mixins';
declare const policyDocument: any;
const cfnTopicPolicyMixinProps: sns.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