interface TopicPolicyReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SNS.TopicPolicyReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssns#TopicPolicyReference |
Java | software.amazon.awscdk.services.sns.TopicPolicyReference |
Python | aws_cdk.aws_sns.TopicPolicyReference |
TypeScript | aws-cdk-lib » aws_sns » TopicPolicyReference |
A reference to a TopicPolicy resource.
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';
const topicPolicyReference: sns.TopicPolicyReference = {
topicPolicyId: 'topicPolicyId',
};
Properties
| Name | Type | Description |
|---|---|---|
| topic | string | The Id of the TopicPolicy resource. |
topicPolicyId
Type:
string
The Id of the TopicPolicy resource.

.NET
Go
Java
Python
TypeScript