@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.251Z") @Stability(value=Stable) public class CfnConfigurationSet extends CfnResource implements IInspectable
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(TagsProperty.builder()
.key("key")
.value("value")
.build()))
.trackingOptions(TrackingOptionsProperty.builder()
.customRedirectDomain("customRedirectDomain")
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnConfigurationSet.Builder
A fluent builder for
CfnConfigurationSet. |
static interface |
CfnConfigurationSet.DeliveryOptionsProperty
Used to associate a configuration set with a dedicated IP pool.
|
static interface |
CfnConfigurationSet.ReputationOptionsProperty
Enable or disable collection of reputation metrics for emails that you send using this configuration set in the current AWS Region.
|
static interface |
CfnConfigurationSet.SendingOptionsProperty
Used to enable or disable email sending for messages that use this configuration set in the current AWS Region.
|
static interface |
CfnConfigurationSet.TagsProperty
An object that defines the tags (keys and values) that you want to associate with the configuration set.
|
static interface |
CfnConfigurationSet.TrackingOptionsProperty
An object that defines the tracking options for a configuration set.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnConfigurationSet(software.constructs.Construct scope,
String id,
CfnConfigurationSetProps props)
Create a new `AWS::PinpointEmail::ConfigurationSet`.
|
protected |
CfnConfigurationSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnConfigurationSet(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
Object |
getDeliveryOptions()
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
|
String |
getName()
The name of the configuration set.
|
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.
|
Object |
getSendingOptions()
An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.
|
List<CfnConfigurationSet.TagsProperty> |
getTags()
An object that defines the tags (keys and values) that you want to associate with the configuration set.
|
Object |
getTrackingOptions()
An object that defines the open and click tracking options for emails that you send using the configuration set.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setDeliveryOptions(CfnConfigurationSet.DeliveryOptionsProperty value)
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
|
void |
setDeliveryOptions(IResolvable value)
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
|
void |
setName(String value)
The name of the configuration set.
|
void |
setReputationOptions(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.
|
void |
setReputationOptions(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.
|
void |
setSendingOptions(CfnConfigurationSet.SendingOptionsProperty value)
An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.
|
void |
setSendingOptions(IResolvable value)
An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.
|
void |
setTags(List<CfnConfigurationSet.TagsProperty> value)
An object that defines the tags (keys and values) that you want to associate with the configuration set.
|
void |
setTrackingOptions(CfnConfigurationSet.TrackingOptionsProperty value)
An object that defines the open and click tracking options for emails that you send using the configuration set.
|
void |
setTrackingOptions(IResolvable value)
An object that defines the open and click tracking options for emails that you send using the configuration set.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnConfigurationSet(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConfigurationSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnConfigurationSet(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnConfigurationSetProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getDeliveryOptions()
@Stability(value=Stable)
public void setDeliveryOptions(@Nullable
CfnConfigurationSet.DeliveryOptionsProperty value)
@Stability(value=Stable)
public void setDeliveryOptions(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getReputationOptions()
@Stability(value=Stable)
public void setReputationOptions(@Nullable
CfnConfigurationSet.ReputationOptionsProperty value)
@Stability(value=Stable)
public void setReputationOptions(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getSendingOptions()
@Stability(value=Stable)
public void setSendingOptions(@Nullable
CfnConfigurationSet.SendingOptionsProperty value)
@Stability(value=Stable)
public void setSendingOptions(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public List<CfnConfigurationSet.TagsProperty> getTags()
@Stability(value=Stable)
public void setTags(@Nullable
List<CfnConfigurationSet.TagsProperty> value)
@Stability(value=Stable) @Nullable public Object getTrackingOptions()
@Stability(value=Stable)
public void setTrackingOptions(@Nullable
CfnConfigurationSet.TrackingOptionsProperty value)
@Stability(value=Stable)
public void setTrackingOptions(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.