CfnConfigurationSetProps Struct
Properties for defining a CfnConfigurationSet.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpointemail as pinpointemail } from 'aws-cdk-lib';
const cfnConfigurationSetProps: pinpointemail.CfnConfigurationSetProps = {
name: 'name',
// the properties below are optional
deliveryOptions: {
sendingPoolName: 'sendingPoolName',
},
reputationOptions: {
reputationMetricsEnabled: false,
},
sendingOptions: {
sendingEnabled: false,
},
tags: [{
key: 'key',
value: 'value',
}],
trackingOptions: {
customRedirectDomain: 'customRedirectDomain',
},
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pinpointemail as pinpointemail
cfn_configuration_set_props = pinpointemail.CfnConfigurationSetProps(
name="name",
# the properties below are optional
delivery_options=pinpointemail.CfnConfigurationSet.DeliveryOptionsProperty(
sending_pool_name="sendingPoolName"
),
reputation_options=pinpointemail.CfnConfigurationSet.ReputationOptionsProperty(
reputation_metrics_enabled=False
),
sending_options=pinpointemail.CfnConfigurationSet.SendingOptionsProperty(
sending_enabled=False
),
tags=[CfnTag(
key="key",
value="value"
)],
tracking_options=pinpointemail.CfnConfigurationSet.TrackingOptionsProperty(
custom_redirect_domain="customRedirectDomain"
)
)
java
// 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.*;
CfnConfigurationSetProps cfnConfigurationSetProps = CfnConfigurationSetProps.builder()
.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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.PinpointEmail;
var cfnConfigurationSetProps = new CfnConfigurationSetProps {
Name = "name",
// the properties below are optional
DeliveryOptions = new DeliveryOptionsProperty {
SendingPoolName = "sendingPoolName"
},
ReputationOptions = new ReputationOptionsProperty {
ReputationMetricsEnabled = false
},
SendingOptions = new SendingOptionsProperty {
SendingEnabled = false
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TrackingOptions = new TrackingOptionsProperty {
CustomRedirectDomain = "customRedirectDomain"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnConfigurationSetProps := &CfnConfigurationSetProps{
Name: jsii.String("name"),
// the properties below are optional
DeliveryOptions: &DeliveryOptionsProperty{
SendingPoolName: jsii.String("sendingPoolName"),
},
ReputationOptions: &ReputationOptionsProperty{
ReputationMetricsEnabled: jsii.Boolean(false),
},
SendingOptions: &SendingOptionsProperty{
SendingEnabled: jsii.Boolean(false),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
TrackingOptions: &TrackingOptionsProperty{
CustomRedirectDomain: jsii.String("customRedirectDomain"),
},
}
Properties
deliveryOptionsoptionalIResolvable | CfnConfigurationSet.delivery_optionsoptionaltyping.Union[IResolvable, DeliveryOptionsProperty]deliveryOptionsoptionalIResolvableDeliveryOptionsoptionalIResolvableDeliveryOptionsoptionalinterface{} #An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
The name of the configuration set.
reputationOptionsoptionalIResolvable | CfnConfigurationSet.reputation_optionsoptionaltyping.Union[IResolvable, ReputationOptionsProperty]reputationOptionsoptionalIResolvableReputationOptionsoptionalIResolvableReputationOptionsoptionalinterface{} #An object that defines whether or not Amazon Pinpoint collects reputation metrics for the emails that you send that use the configuration set.
sendingOptionsoptionalIResolvable | CfnConfigurationSet.sending_optionsoptionaltyping.Union[IResolvable, SendingOptionsProperty]sendingOptionsoptionalIResolvableSendingOptionsoptionalIResolvableSendingOptionsoptionalinterface{} #An object that defines whether or not Amazon Pinpoint can send email that you send using the configuration set.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #An object that defines the tags (keys and values) that you want to associate with the configuration set.
trackingOptionsoptionalIResolvable | CfnConfigurationSet.tracking_optionsoptionaltyping.Union[IResolvable, TrackingOptionsProperty]trackingOptionsoptionalIResolvableTrackingOptionsoptionalIResolvableTrackingOptionsoptionalinterface{} #An object that defines the open and click tracking options for emails that you send using the configuration set.