Class CfnConfigurationSet

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-04-10T22:22:35.595Z") @Stability(Stable) public class CfnConfigurationSet extends CfnResource implements IInspectable
Configuration sets let you create groups of rules that you can apply to the emails you send using Amazon SES.

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:PutConfigurationSetDeliveryOptions
  • ses:PutConfigurationSetReputationOptions
  • ses:PutConfigurationSetSendingOptions
  • ses:PutConfigurationSetSuppressionOptions
  • ses: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()
                 .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())
         .trackingOptions(TrackingOptionsProperty.builder()
                 .customRedirectDomain("customRedirectDomain")
                 .build())
         .vdmOptions(VdmOptionsProperty.builder()
                 .dashboardOptions(DashboardOptionsProperty.builder()
                         .engagementMetrics("engagementMetrics")
                         .build())
                 .guardianOptions(GuardianOptionsProperty.builder()
                         .optimizedSharedDelivery("optimizedSharedDelivery")
                         .build())
                 .build())
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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)
      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)
      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

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getDeliveryOptions

      @Stability(Stable) @Nullable public Object getDeliveryOptions()
      Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
    • setDeliveryOptions

      @Stability(Stable) public void setDeliveryOptions(@Nullable IResolvable value)
      Specifies 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 whether messages that use the configuration set are required to use Transport Layer Security (TLS).
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the configuration set.

      The name must meet the following requirements:.

    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the configuration set.

      The name must meet the following requirements:.

    • getReputationOptions

      @Stability(Stable) @Nullable public Object getReputationOptions()
      An object that represents the reputation settings for the configuration set.
    • setReputationOptions

      @Stability(Stable) public void setReputationOptions(@Nullable IResolvable value)
      An object that represents the reputation settings for the configuration set.
    • setReputationOptions

      @Stability(Stable) public void setReputationOptions(@Nullable CfnConfigurationSet.ReputationOptionsProperty value)
      An object that represents the reputation settings for the configuration set.
    • getSendingOptions

      @Stability(Stable) @Nullable public Object getSendingOptions()
      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 IResolvable value)
      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

      @Stability(Stable) @Nullable public Object getSuppressionOptions()
      An object that contains information about the suppression list preferences for your account.
    • setSuppressionOptions

      @Stability(Stable) public void setSuppressionOptions(@Nullable IResolvable value)
      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.
    • getTrackingOptions

      @Stability(Stable) @Nullable public Object getTrackingOptions()
      The name of the custom open and click tracking domain associated with the configuration set.
    • setTrackingOptions

      @Stability(Stable) public void setTrackingOptions(@Nullable IResolvable value)
      The name of the custom open and click tracking domain associated with the configuration set.
    • setTrackingOptions

      @Stability(Stable) public void setTrackingOptions(@Nullable CfnConfigurationSet.TrackingOptionsProperty value)
      The name of the custom open and click tracking domain associated with the configuration set.
    • getVdmOptions

      @Stability(Stable) @Nullable public Object getVdmOptions()
      The Virtual Deliverability Manager (VDM) options that apply to the configuration set.
    • setVdmOptions

      @Stability(Stable) public void setVdmOptions(@Nullable IResolvable value)
      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.