Class CfnConfigurationSet

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.pinpointemail.CfnConfigurationSet
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-17T05:10:14.634Z") @Stability(Stable) public class CfnConfigurationSet extends CfnResource implements IInspectable, ITaggableV2
Create a configuration set.

Configuration sets are groups of rules that you can apply to the emails you send using Amazon Pinpoint. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.

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.pinpointemail.*;
 CfnConfigurationSet cfnConfigurationSet = CfnConfigurationSet.Builder.create(this, "MyCfnConfigurationSet")
         .name("name")
         // the properties below are optional
         .deliveryOptions(DeliveryOptionsProperty.builder()
                 .sendingPoolName("sendingPoolName")
                 .build())
         .reputationOptions(ReputationOptionsProperty.builder()
                 .reputationMetricsEnabled(false)
                 .build())
         .sendingOptions(SendingOptionsProperty.builder()
                 .sendingEnabled(false)
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .trackingOptions(TrackingOptionsProperty.builder()
                 .customRedirectDomain("customRedirectDomain")
                 .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, @NotNull 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. 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.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

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

      @Stability(Stable) @NotNull public String getName()
      The name of the configuration set.
    • setName

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

      @Stability(Stable) @Nullable public Object getDeliveryOptions()
      An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
    • setDeliveryOptions

      @Stability(Stable) public void setDeliveryOptions(@Nullable IResolvable value)
      An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
    • setDeliveryOptions

      @Stability(Stable) public void setDeliveryOptions(@Nullable CfnConfigurationSet.DeliveryOptionsProperty value)
      An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
    • getReputationOptions

      @Stability(Stable) @Nullable public Object getReputationOptions()
      An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.
    • setReputationOptions

      @Stability(Stable) public void setReputationOptions(@Nullable IResolvable value)
      An object that defines whether or not Amazon Pinpoint 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 Pinpoint collects reputation metrics for the emails that you send that use the configuration set.
    • getSendingOptions

      @Stability(Stable) @Nullable public Object getSendingOptions()
      An object that defines whether or not Amazon Pinpoint 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 Pinpoint 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 Pinpoint can send email that you send using the configuration set.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An object that defines the tags (keys and values) that you want to associate with the configuration set.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An object that defines the tags (keys and values) that you want to associate with the configuration set.
    • getTrackingOptions

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