Class CfnContactList
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ses.CfnContactList
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IContactListRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:45.741Z")
@Stability(Stable)
public class CfnContactList
extends CfnResource
implements IInspectable, IContactListRef, ITaggable
A list that contains contacts that have subscribed to a particular topic or topics.
Example:
// 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.*;
CfnContactList cfnContactList = CfnContactList.Builder.create(this, "MyCfnContactList")
.contactListName("contactListName")
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.topics(List.of(TopicProperty.builder()
.defaultSubscriptionStatus("defaultSubscriptionStatus")
.displayName("displayName")
.topicName("topicName")
// the properties below are optional
.description("description")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnContactList.static interfaceAn interest group, theme, or label within a list.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ses.IContactListRef
IContactListRef.Jsii$Default, IContactListRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnContactList(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnContactList(software.amazon.jsii.JsiiObjectRef objRef) CfnContactList(software.constructs.Construct scope, String id) Create a newAWS::SES::ContactList.CfnContactList(software.constructs.Construct scope, String id, CfnContactListProps props) Create a newAWS::SES::ContactList. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForContactList(IContactListRef resource) static IContactListReffromContactListName(software.constructs.Construct scope, String id, String contactListName) Creates a new IContactListRef from a contactListName.The name of the contact list.A reference to a ContactList resource.A description of what the contact list is about.getTags()Tag Manager which manages the tags for this resource.The tags associated with a contact list.An interest group, theme, or label within a list.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnContactList.renderProperties(Map<String, Object> props) voidsetContactListName(String value) The name of the contact list.voidsetDescription(String value) A description of what the contact list is about.voidsetTagsRaw(List<CfnTag> value) The tags associated with a contact list.voidAn interest group, theme, or label within a list.voidsetTopics(IResolvable value) An interest group, theme, or label within a list.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnContactList
protected CfnContactList(software.amazon.jsii.JsiiObjectRef objRef) -
CfnContactList
protected CfnContactList(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnContactList
@Stability(Stable) public CfnContactList(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnContactListProps props) Create a newAWS::SES::ContactList.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties.
-
CfnContactList
@Stability(Stable) public CfnContactList(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::SES::ContactList.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
arnForContactList
@Stability(Stable) @NotNull public static String arnForContactList(@NotNull IContactListRef resource) - Parameters:
resource- This parameter is required.
-
fromContactListName
@Stability(Stable) @NotNull public static IContactListRef fromContactListName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String contactListName) Creates a new IContactListRef from a contactListName.- Parameters:
scope- This parameter is required.id- This parameter is required.contactListName- This parameter is required.
-
isCfnContactList
Checks whether the given object is a CfnContactList.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getContactListRef
A reference to a ContactList resource.- Specified by:
getContactListRefin interfaceIContactListRef
-
getTags
Tag Manager which manages the tags for this resource. -
getContactListName
The name of the contact list. -
setContactListName
The name of the contact list. -
getDescription
A description of what the contact list is about. -
setDescription
A description of what the contact list is about. -
getTagsRaw
The tags associated with a contact list. -
setTagsRaw
The tags associated with a contact list. -
getTopics
An interest group, theme, or label within a list.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnContactList.TopicProperty> -
setTopics
An interest group, theme, or label within a list. -
setTopics
An interest group, theme, or label within a list.
-