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

.NET
Go
Java
Python
TypeScript