TopicProperty Struct
An interest group, theme, or label within a list.
Lists can have multiple topics.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ses as ses } from 'aws-cdk-lib';
const topicProperty: ses.CfnContactList.TopicProperty = {
defaultSubscriptionStatus: 'defaultSubscriptionStatus',
displayName: 'displayName',
topicName: 'topicName',
// the properties below are optional
description: 'description',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ses as ses
topic_property = ses.CfnContactList.TopicProperty(
default_subscription_status="defaultSubscriptionStatus",
display_name="displayName",
topic_name="topicName",
# the properties below are optional
description="description"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ses.*;
TopicProperty topicProperty = TopicProperty.builder()
.defaultSubscriptionStatus("defaultSubscriptionStatus")
.displayName("displayName")
.topicName("topicName")
// the properties below are optional
.description("description")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SES;
var topicProperty = new TopicProperty {
DefaultSubscriptionStatus = "defaultSubscriptionStatus",
DisplayName = "displayName",
TopicName = "topicName",
// the properties below are optional
Description = "description"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
topicProperty := &TopicProperty{
DefaultSubscriptionStatus: jsii.String("defaultSubscriptionStatus"),
DisplayName: jsii.String("displayName"),
TopicName: jsii.String("topicName"),
// the properties below are optional
Description: jsii.String("description"),
}
Properties
defaultSubscriptionStatusstringdefault_subscription_statusstrdefaultSubscriptionStatusStringDefaultSubscriptionStatusstringDefaultSubscriptionStatus*string required #The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description of what the topic is about, which the contact will see.
The name of the topic the contact will see.
The name of the topic.