Class CfnConfigurationSet
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IConfigurationSetRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
For more information about using configuration sets, see Using Amazon SES Configuration Sets in the Amazon SES Developer Guide .
Required permissions:
To apply any of the resource options, you will need to have the corresponding AWS Identity and Access Management (IAM) SES API v2 permissions:
ses:GetConfigurationSet- (This permission is replacing the v1 ses:DescribeConfigurationSet permission which will not work with these v2 resource options.)
ses:PutConfigurationSetDeliveryOptionsses:PutConfigurationSetReputationOptionsses:PutConfigurationSetSendingOptionsses:PutConfigurationSetSuppressionOptionsses:PutConfigurationSetTrackingOptions
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.*;
CfnConfigurationSet cfnConfigurationSet = CfnConfigurationSet.Builder.create(this, "MyCfnConfigurationSet")
.deliveryOptions(DeliveryOptionsProperty.builder()
.maxDeliverySeconds(123)
.sendingPoolName("sendingPoolName")
.tlsPolicy("tlsPolicy")
.build())
.name("name")
.reputationOptions(ReputationOptionsProperty.builder()
.reputationMetricsEnabled(false)
.build())
.sendingOptions(SendingOptionsProperty.builder()
.sendingEnabled(false)
.build())
.suppressionOptions(SuppressionOptionsProperty.builder()
.suppressedReasons(List.of("suppressedReasons"))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.trackingOptions(TrackingOptionsProperty.builder()
.customRedirectDomain("customRedirectDomain")
.httpsPolicy("httpsPolicy")
.build())
.vdmOptions(VdmOptionsProperty.builder()
.dashboardOptions(DashboardOptionsProperty.builder()
.engagementMetrics("engagementMetrics")
.build())
.guardianOptions(GuardianOptionsProperty.builder()
.optimizedSharedDelivery("optimizedSharedDelivery")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnConfigurationSet.static interfaceAn object containing additional settings for your VDM configuration as applicable to the Dashboard.static interfaceSpecifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS).static interfaceAn object containing additional settings for your VDM configuration as applicable to the Guardian.static interfaceEnable or disable collection of reputation metrics for emails that you send using this configuration set in the current AWS Region.static interfaceUsed to enable or disable email sending for messages that use this configuration set in the current AWS Region.static interfaceAn object that contains information about the suppression list preferences for your account.static interfaceAn object that defines the tracking options for a configuration set.static interfaceThe Virtual Deliverability Manager (VDM) options that apply to a configuration set.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ses.IConfigurationSetRef
IConfigurationSetRef.Jsii$Default, IConfigurationSetRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnConfigurationSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnConfigurationSet(software.amazon.jsii.JsiiObjectRef objRef) CfnConfigurationSet(software.constructs.Construct scope, String id) Create a newAWS::SES::ConfigurationSet.CfnConfigurationSet(software.constructs.Construct scope, String id, CfnConfigurationSetProps props) Create a newAWS::SES::ConfigurationSet. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForConfigurationSet(IConfigurationSetRef resource) static IConfigurationSetReffromConfigurationSetName(software.constructs.Construct scope, String id, String configurationSetName) Creates a new IConfigurationSetRef from a configurationSetName.Tag Manager which manages the tags for this resource.A reference to a ConfigurationSet resource.Specifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS).getName()The name of the configuration set.An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.An object that defines whether or not Amazon SES can send email that you send using the configuration set.An object that contains information about the suppression list preferences for your account.getTags()An array of objects that define the tags (keys and values) that are associated with the configuration set.An object that defines the open and click tracking options for emails that you send using the configuration set.The Virtual Deliverability Manager (VDM) options that apply to the configuration set.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnConfigurationSet.renderProperties(Map<String, Object> props) voidsetDeliveryOptions(IResolvable value) Specifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS).voidSpecifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS).voidThe name of the configuration set.voidsetReputationOptions(IResolvable value) An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.voidAn object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.voidsetSendingOptions(IResolvable value) An object that defines whether or not Amazon SES can send email that you send using the configuration set.voidAn object that defines whether or not Amazon SES can send email that you send using the configuration set.voidsetSuppressionOptions(IResolvable value) An object that contains information about the suppression list preferences for your account.voidAn object that contains information about the suppression list preferences for your account.voidAn array of objects that define the tags (keys and values) that are associated with the configuration set.voidsetTrackingOptions(IResolvable value) An object that defines the open and click tracking options for emails that you send using the configuration set.voidAn object that defines the open and click tracking options for emails that you send using the configuration set.voidsetVdmOptions(IResolvable value) The Virtual Deliverability Manager (VDM) options that apply to the configuration set.voidThe Virtual Deliverability Manager (VDM) options that apply to the configuration set.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
-
CfnConfigurationSet
protected CfnConfigurationSet(software.amazon.jsii.JsiiObjectRef objRef) -
CfnConfigurationSet
protected CfnConfigurationSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnConfigurationSet
@Stability(Stable) public CfnConfigurationSet(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnConfigurationSetProps props) Create a newAWS::SES::ConfigurationSet.- 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.
-
CfnConfigurationSet
@Stability(Stable) public CfnConfigurationSet(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::SES::ConfigurationSet.- 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
-
arnForConfigurationSet
@Stability(Stable) @NotNull public static String arnForConfigurationSet(@NotNull IConfigurationSetRef resource) - Parameters:
resource- This parameter is required.
-
fromConfigurationSetName
@Stability(Stable) @NotNull public static IConfigurationSetRef fromConfigurationSetName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String configurationSetName) Creates a new IConfigurationSetRef from a configurationSetName.- Parameters:
scope- This parameter is required.id- This parameter is required.configurationSetName- This parameter is required.
-
isCfnConfigurationSet
Checks whether the given object is a CfnConfigurationSet.- 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.
-
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getConfigurationSetRef
A reference to a ConfigurationSet resource.- Specified by:
getConfigurationSetRefin interfaceIConfigurationSetRef
-
getDeliveryOptions
Specifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS).Returns union: either
IResolvableorCfnConfigurationSet.DeliveryOptionsProperty -
setDeliveryOptions
Specifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS). -
setDeliveryOptions
@Stability(Stable) public void setDeliveryOptions(@Nullable CfnConfigurationSet.DeliveryOptionsProperty value) Specifies the name of the dedicated IP pool to associate with the configuration set and whether messages that use the configuration set are required to use Transport Layer Security (TLS). -
getName
The name of the configuration set.The name must meet the following requirements:.
-
setName
The name of the configuration set.The name must meet the following requirements:.
-
getReputationOptions
An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.Returns union: either
IResolvableorCfnConfigurationSet.ReputationOptionsProperty -
setReputationOptions
An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set. -
setReputationOptions
@Stability(Stable) public void setReputationOptions(@Nullable CfnConfigurationSet.ReputationOptionsProperty value) An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set. -
getSendingOptions
An object that defines whether or not Amazon SES can send email that you send using the configuration set.Returns union: either
IResolvableorCfnConfigurationSet.SendingOptionsProperty -
setSendingOptions
An object that defines whether or not Amazon SES can send email that you send using the configuration set. -
setSendingOptions
@Stability(Stable) public void setSendingOptions(@Nullable CfnConfigurationSet.SendingOptionsProperty value) An object that defines whether or not Amazon SES can send email that you send using the configuration set. -
getSuppressionOptions
An object that contains information about the suppression list preferences for your account.Returns union: either
IResolvableorCfnConfigurationSet.SuppressionOptionsProperty -
setSuppressionOptions
An object that contains information about the suppression list preferences for your account. -
setSuppressionOptions
@Stability(Stable) public void setSuppressionOptions(@Nullable CfnConfigurationSet.SuppressionOptionsProperty value) An object that contains information about the suppression list preferences for your account. -
getTags
An array of objects that define the tags (keys and values) that are associated with the configuration set. -
setTags
An array of objects that define the tags (keys and values) that are associated with the configuration set. -
getTrackingOptions
An object that defines the open and click tracking options for emails that you send using the configuration set.Returns union: either
IResolvableorCfnConfigurationSet.TrackingOptionsProperty -
setTrackingOptions
An object that defines the open and click tracking options for emails that you send using the configuration set. -
setTrackingOptions
@Stability(Stable) public void setTrackingOptions(@Nullable CfnConfigurationSet.TrackingOptionsProperty value) An object that defines the open and click tracking options for emails that you send using the configuration set. -
getVdmOptions
The Virtual Deliverability Manager (VDM) options that apply to the configuration set.Returns union: either
IResolvableorCfnConfigurationSet.VdmOptionsProperty -
setVdmOptions
The Virtual Deliverability Manager (VDM) options that apply to the configuration set. -
setVdmOptions
@Stability(Stable) public void setVdmOptions(@Nullable CfnConfigurationSet.VdmOptionsProperty value) The Virtual Deliverability Manager (VDM) options that apply to the configuration set.
-