interface CfnTopicInlinePolicyProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.SNS.CfnTopicInlinePolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssns#CfnTopicInlinePolicyProps |
Java | software.amazon.awscdk.services.sns.CfnTopicInlinePolicyProps |
Python | aws_cdk.aws_sns.CfnTopicInlinePolicyProps |
TypeScript | aws-cdk-lib » aws_sns » CfnTopicInlinePolicyProps |
Properties for defining a CfnTopicInlinePolicy
.
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-lib';
declare const policyDocument: any;
const cfnTopicInlinePolicyProps: sns.CfnTopicInlinePolicyProps = {
policyDocument: policyDocument,
topicArn: 'topicArn',
};
Properties
Name | Type | Description |
---|---|---|
policy | any | A policy document that contains permissions to add to the specified Amazon SNS topic. |
topic | string | The Amazon Resource Name (ARN) of the topic to which you want to add the policy. |
policyDocument
Type:
any
A policy document that contains permissions to add to the specified Amazon SNS topic.
topicArn
Type:
string
The Amazon Resource Name (ARN) of the topic to which you want to add the policy.