aws-native logo
AWS Native v0.54.0, Mar 21 23

aws-native.ses.ConfigurationSet

Resource schema for AWS::SES::ConfigurationSet.

Example Usage

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var configSetName = config.Require("configSetName");
    var configSet = new AwsNative.SES.ConfigurationSet("configSet", new()
    {
        Name = configSetName,
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ses"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		configSetName := cfg.Require("configSetName")
		_, err := ses.NewConfigurationSet(ctx, "configSet", &ses.ConfigurationSetArgs{
			Name: pulumi.String(configSetName),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

config = pulumi.Config()
config_set_name = config.require("configSetName")
config_set = aws_native.ses.ConfigurationSet("configSet", name=config_set_name)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const config = new pulumi.Config();
const configSetName = config.require("configSetName");
const configSet = new aws_native.ses.ConfigurationSet("configSet", {name: configSetName});

Coming soon!

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var configSetName = config.Require("configSetName");
    var configSet = new AwsNative.SES.ConfigurationSet("configSet", new()
    {
        Name = configSetName,
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ses"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		configSetName := cfg.Require("configSetName")
		_, err := ses.NewConfigurationSet(ctx, "configSet", &ses.ConfigurationSetArgs{
			Name: pulumi.String(configSetName),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

config = pulumi.Config()
config_set_name = config.require("configSetName")
config_set = aws_native.ses.ConfigurationSet("configSet", name=config_set_name)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const config = new pulumi.Config();
const configSetName = config.require("configSetName");
const configSet = new aws_native.ses.ConfigurationSet("configSet", {name: configSetName});

Coming soon!

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var configSetName = config.Require("configSetName");
    var eventDestinationName = config.Require("eventDestinationName");
    var eventType1 = config.Require("eventType1");
    var eventType2 = config.Require("eventType2");
    var eventType3 = config.Require("eventType3");
    var dimensionName1 = config.Require("dimensionName1");
    var dimensionValueSource1 = config.Require("dimensionValueSource1");
    var defaultDimensionValue1 = config.Require("defaultDimensionValue1");
    var dimensionName2 = config.Require("dimensionName2");
    var dimensionValueSource2 = config.Require("dimensionValueSource2");
    var defaultDimensionValue2 = config.Require("defaultDimensionValue2");
    var configSet = new AwsNative.SES.ConfigurationSet("configSet", new()
    {
        Name = configSetName,
    });

    var cwEventDestination = new AwsNative.SES.ConfigurationSetEventDestination("cwEventDestination", new()
    {
        ConfigurationSetName = configSet.Id,
        EventDestination = new AwsNative.SES.Inputs.ConfigurationSetEventDestinationEventDestinationArgs
        {
            Name = eventDestinationName,
            Enabled = true,
            MatchingEventTypes = new[]
            {
                eventType1,
                eventType2,
                eventType3,
            },
            CloudWatchDestination = new AwsNative.SES.Inputs.ConfigurationSetEventDestinationCloudWatchDestinationArgs
            {
                DimensionConfigurations = new[]
                {
                    new AwsNative.SES.Inputs.ConfigurationSetEventDestinationDimensionConfigurationArgs
                    {
                        DimensionName = dimensionName1,
                        DimensionValueSource = dimensionValueSource1,
                        DefaultDimensionValue = defaultDimensionValue1,
                    },
                    new AwsNative.SES.Inputs.ConfigurationSetEventDestinationDimensionConfigurationArgs
                    {
                        DimensionName = dimensionName2,
                        DimensionValueSource = dimensionValueSource2,
                        DefaultDimensionValue = defaultDimensionValue2,
                    },
                },
            },
        },
    });

});

Coming soon!

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

config = pulumi.Config()
config_set_name = config.require("configSetName")
event_destination_name = config.require("eventDestinationName")
event_type1 = config.require("eventType1")
event_type2 = config.require("eventType2")
event_type3 = config.require("eventType3")
dimension_name1 = config.require("dimensionName1")
dimension_value_source1 = config.require("dimensionValueSource1")
default_dimension_value1 = config.require("defaultDimensionValue1")
dimension_name2 = config.require("dimensionName2")
dimension_value_source2 = config.require("dimensionValueSource2")
default_dimension_value2 = config.require("defaultDimensionValue2")
config_set = aws_native.ses.ConfigurationSet("configSet", name=config_set_name)
cw_event_destination = aws_native.ses.ConfigurationSetEventDestination("cwEventDestination",
    configuration_set_name=config_set.id,
    event_destination=aws_native.ses.ConfigurationSetEventDestinationEventDestinationArgs(
        name=event_destination_name,
        enabled=True,
        matching_event_types=[
            event_type1,
            event_type2,
            event_type3,
        ],
        cloud_watch_destination=aws_native.ses.ConfigurationSetEventDestinationCloudWatchDestinationArgs(
            dimension_configurations=[
                aws_native.ses.ConfigurationSetEventDestinationDimensionConfigurationArgs(
                    dimension_name=dimension_name1,
                    dimension_value_source=dimension_value_source1,
                    default_dimension_value=default_dimension_value1,
                ),
                aws_native.ses.ConfigurationSetEventDestinationDimensionConfigurationArgs(
                    dimension_name=dimension_name2,
                    dimension_value_source=dimension_value_source2,
                    default_dimension_value=default_dimension_value2,
                ),
            ],
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const config = new pulumi.Config();
const configSetName = config.require("configSetName");
const eventDestinationName = config.require("eventDestinationName");
const eventType1 = config.require("eventType1");
const eventType2 = config.require("eventType2");
const eventType3 = config.require("eventType3");
const dimensionName1 = config.require("dimensionName1");
const dimensionValueSource1 = config.require("dimensionValueSource1");
const defaultDimensionValue1 = config.require("defaultDimensionValue1");
const dimensionName2 = config.require("dimensionName2");
const dimensionValueSource2 = config.require("dimensionValueSource2");
const defaultDimensionValue2 = config.require("defaultDimensionValue2");
const configSet = new aws_native.ses.ConfigurationSet("configSet", {name: configSetName});
const cwEventDestination = new aws_native.ses.ConfigurationSetEventDestination("cwEventDestination", {
    configurationSetName: configSet.id,
    eventDestination: {
        name: eventDestinationName,
        enabled: true,
        matchingEventTypes: [
            eventType1,
            eventType2,
            eventType3,
        ],
        cloudWatchDestination: {
            dimensionConfigurations: [
                {
                    dimensionName: dimensionName1,
                    dimensionValueSource: dimensionValueSource1,
                    defaultDimensionValue: defaultDimensionValue1,
                },
                {
                    dimensionName: dimensionName2,
                    dimensionValueSource: dimensionValueSource2,
                    defaultDimensionValue: defaultDimensionValue2,
                },
            ],
        },
    },
});

Coming soon!

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var configSetName = config.Require("configSetName");
    var eventDestinationName = config.Require("eventDestinationName");
    var eventType1 = config.Require("eventType1");
    var eventType2 = config.Require("eventType2");
    var eventType3 = config.Require("eventType3");
    var dimensionName1 = config.Require("dimensionName1");
    var dimensionValueSource1 = config.Require("dimensionValueSource1");
    var defaultDimensionValue1 = config.Require("defaultDimensionValue1");
    var dimensionName2 = config.Require("dimensionName2");
    var dimensionValueSource2 = config.Require("dimensionValueSource2");
    var defaultDimensionValue2 = config.Require("defaultDimensionValue2");
    var configSet = new AwsNative.SES.ConfigurationSet("configSet", new()
    {
        Name = configSetName,
    });

    var cwEventDestination = new AwsNative.SES.ConfigurationSetEventDestination("cwEventDestination", new()
    {
        ConfigurationSetName = configSet.Id,
        EventDestination = new AwsNative.SES.Inputs.ConfigurationSetEventDestinationEventDestinationArgs
        {
            Name = eventDestinationName,
            Enabled = true,
            MatchingEventTypes = new[]
            {
                eventType1,
                eventType2,
                eventType3,
            },
            CloudWatchDestination = new AwsNative.SES.Inputs.ConfigurationSetEventDestinationCloudWatchDestinationArgs
            {
                DimensionConfigurations = new[]
                {
                    new AwsNative.SES.Inputs.ConfigurationSetEventDestinationDimensionConfigurationArgs
                    {
                        DimensionName = dimensionName1,
                        DimensionValueSource = dimensionValueSource1,
                        DefaultDimensionValue = defaultDimensionValue1,
                    },
                    new AwsNative.SES.Inputs.ConfigurationSetEventDestinationDimensionConfigurationArgs
                    {
                        DimensionName = dimensionName2,
                        DimensionValueSource = dimensionValueSource2,
                        DefaultDimensionValue = defaultDimensionValue2,
                    },
                },
            },
        },
    });

});

Coming soon!

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

config = pulumi.Config()
config_set_name = config.require("configSetName")
event_destination_name = config.require("eventDestinationName")
event_type1 = config.require("eventType1")
event_type2 = config.require("eventType2")
event_type3 = config.require("eventType3")
dimension_name1 = config.require("dimensionName1")
dimension_value_source1 = config.require("dimensionValueSource1")
default_dimension_value1 = config.require("defaultDimensionValue1")
dimension_name2 = config.require("dimensionName2")
dimension_value_source2 = config.require("dimensionValueSource2")
default_dimension_value2 = config.require("defaultDimensionValue2")
config_set = aws_native.ses.ConfigurationSet("configSet", name=config_set_name)
cw_event_destination = aws_native.ses.ConfigurationSetEventDestination("cwEventDestination",
    configuration_set_name=config_set.id,
    event_destination=aws_native.ses.ConfigurationSetEventDestinationEventDestinationArgs(
        name=event_destination_name,
        enabled=True,
        matching_event_types=[
            event_type1,
            event_type2,
            event_type3,
        ],
        cloud_watch_destination=aws_native.ses.ConfigurationSetEventDestinationCloudWatchDestinationArgs(
            dimension_configurations=[
                aws_native.ses.ConfigurationSetEventDestinationDimensionConfigurationArgs(
                    dimension_name=dimension_name1,
                    dimension_value_source=dimension_value_source1,
                    default_dimension_value=default_dimension_value1,
                ),
                aws_native.ses.ConfigurationSetEventDestinationDimensionConfigurationArgs(
                    dimension_name=dimension_name2,
                    dimension_value_source=dimension_value_source2,
                    default_dimension_value=default_dimension_value2,
                ),
            ],
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const config = new pulumi.Config();
const configSetName = config.require("configSetName");
const eventDestinationName = config.require("eventDestinationName");
const eventType1 = config.require("eventType1");
const eventType2 = config.require("eventType2");
const eventType3 = config.require("eventType3");
const dimensionName1 = config.require("dimensionName1");
const dimensionValueSource1 = config.require("dimensionValueSource1");
const defaultDimensionValue1 = config.require("defaultDimensionValue1");
const dimensionName2 = config.require("dimensionName2");
const dimensionValueSource2 = config.require("dimensionValueSource2");
const defaultDimensionValue2 = config.require("defaultDimensionValue2");
const configSet = new aws_native.ses.ConfigurationSet("configSet", {name: configSetName});
const cwEventDestination = new aws_native.ses.ConfigurationSetEventDestination("cwEventDestination", {
    configurationSetName: configSet.id,
    eventDestination: {
        name: eventDestinationName,
        enabled: true,
        matchingEventTypes: [
            eventType1,
            eventType2,
            eventType3,
        ],
        cloudWatchDestination: {
            dimensionConfigurations: [
                {
                    dimensionName: dimensionName1,
                    dimensionValueSource: dimensionValueSource1,
                    defaultDimensionValue: defaultDimensionValue1,
                },
                {
                    dimensionName: dimensionName2,
                    dimensionValueSource: dimensionValueSource2,
                    defaultDimensionValue: defaultDimensionValue2,
                },
            ],
        },
    },
});

Coming soon!

Create ConfigurationSet Resource

new ConfigurationSet(name: string, args?: ConfigurationSetArgs, opts?: CustomResourceOptions);
@overload
def ConfigurationSet(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     delivery_options: Optional[ConfigurationSetDeliveryOptionsArgs] = None,
                     name: Optional[str] = None,
                     reputation_options: Optional[ConfigurationSetReputationOptionsArgs] = None,
                     sending_options: Optional[ConfigurationSetSendingOptionsArgs] = None,
                     suppression_options: Optional[ConfigurationSetSuppressionOptionsArgs] = None,
                     tracking_options: Optional[ConfigurationSetTrackingOptionsArgs] = None,
                     vdm_options: Optional[ConfigurationSetVdmOptionsArgs] = None)
@overload
def ConfigurationSet(resource_name: str,
                     args: Optional[ConfigurationSetArgs] = None,
                     opts: Optional[ResourceOptions] = None)
func NewConfigurationSet(ctx *Context, name string, args *ConfigurationSetArgs, opts ...ResourceOption) (*ConfigurationSet, error)
public ConfigurationSet(string name, ConfigurationSetArgs? args = null, CustomResourceOptions? opts = null)
public ConfigurationSet(String name, ConfigurationSetArgs args)
public ConfigurationSet(String name, ConfigurationSetArgs args, CustomResourceOptions options)
type: aws-native:ses:ConfigurationSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ConfigurationSetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ConfigurationSetArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ConfigurationSetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ConfigurationSetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ConfigurationSetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ConfigurationSet Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ConfigurationSet resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the ConfigurationSet resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

ConfigurationSetDashboardOptions

EngagementMetrics string

Whether emails sent with this configuration set have engagement tracking enabled.

EngagementMetrics string

Whether emails sent with this configuration set have engagement tracking enabled.

engagementMetrics String

Whether emails sent with this configuration set have engagement tracking enabled.

engagementMetrics string

Whether emails sent with this configuration set have engagement tracking enabled.

engagement_metrics str

Whether emails sent with this configuration set have engagement tracking enabled.

engagementMetrics String

Whether emails sent with this configuration set have engagement tracking enabled.

ConfigurationSetDeliveryOptions

SendingPoolName string

The name of the dedicated IP pool to associate with the configuration set.

TlsPolicy string

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require , messages are only delivered if a TLS connection can be established. If the value is Optional , messages can be delivered in plain text if a TLS connection can't be established.

SendingPoolName string

The name of the dedicated IP pool to associate with the configuration set.

TlsPolicy string

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require , messages are only delivered if a TLS connection can be established. If the value is Optional , messages can be delivered in plain text if a TLS connection can't be established.

sendingPoolName String

The name of the dedicated IP pool to associate with the configuration set.

tlsPolicy String

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require , messages are only delivered if a TLS connection can be established. If the value is Optional , messages can be delivered in plain text if a TLS connection can't be established.

sendingPoolName string

The name of the dedicated IP pool to associate with the configuration set.

tlsPolicy string

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require , messages are only delivered if a TLS connection can be established. If the value is Optional , messages can be delivered in plain text if a TLS connection can't be established.

sending_pool_name str

The name of the dedicated IP pool to associate with the configuration set.

tls_policy str

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require , messages are only delivered if a TLS connection can be established. If the value is Optional , messages can be delivered in plain text if a TLS connection can't be established.

sendingPoolName String

The name of the dedicated IP pool to associate with the configuration set.

tlsPolicy String

Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require , messages are only delivered if a TLS connection can be established. If the value is Optional , messages can be delivered in plain text if a TLS connection can't be established.

ConfigurationSetGuardianOptions

OptimizedSharedDelivery string

Whether emails sent with this configuration set have optimized delivery algorithm enabled.

OptimizedSharedDelivery string

Whether emails sent with this configuration set have optimized delivery algorithm enabled.

optimizedSharedDelivery String

Whether emails sent with this configuration set have optimized delivery algorithm enabled.

optimizedSharedDelivery string

Whether emails sent with this configuration set have optimized delivery algorithm enabled.

optimized_shared_delivery str

Whether emails sent with this configuration set have optimized delivery algorithm enabled.

optimizedSharedDelivery String

Whether emails sent with this configuration set have optimized delivery algorithm enabled.

ConfigurationSetReputationOptions

ReputationMetricsEnabled bool

If true , tracking of reputation metrics is enabled for the configuration set. If false , tracking of reputation metrics is disabled for the configuration set.

ReputationMetricsEnabled bool

If true , tracking of reputation metrics is enabled for the configuration set. If false , tracking of reputation metrics is disabled for the configuration set.

reputationMetricsEnabled Boolean

If true , tracking of reputation metrics is enabled for the configuration set. If false , tracking of reputation metrics is disabled for the configuration set.

reputationMetricsEnabled boolean

If true , tracking of reputation metrics is enabled for the configuration set. If false , tracking of reputation metrics is disabled for the configuration set.

reputation_metrics_enabled bool

If true , tracking of reputation metrics is enabled for the configuration set. If false , tracking of reputation metrics is disabled for the configuration set.

reputationMetricsEnabled Boolean

If true , tracking of reputation metrics is enabled for the configuration set. If false , tracking of reputation metrics is disabled for the configuration set.

ConfigurationSetSendingOptions

ConfigurationSetSuppressionOptions

SuppressedReasons List<string>

A list that contains the reasons that email addresses are automatically added to the suppression list for your account.

SuppressedReasons []string

A list that contains the reasons that email addresses are automatically added to the suppression list for your account.

suppressedReasons List<String>

A list that contains the reasons that email addresses are automatically added to the suppression list for your account.

suppressedReasons string[]

A list that contains the reasons that email addresses are automatically added to the suppression list for your account.

suppressed_reasons Sequence[str]

A list that contains the reasons that email addresses are automatically added to the suppression list for your account.

suppressedReasons List<String>

A list that contains the reasons that email addresses are automatically added to the suppression list for your account.

ConfigurationSetTrackingOptions

CustomRedirectDomain string

The domain to use for tracking open and click events.

CustomRedirectDomain string

The domain to use for tracking open and click events.

customRedirectDomain String

The domain to use for tracking open and click events.

customRedirectDomain string

The domain to use for tracking open and click events.

custom_redirect_domain str

The domain to use for tracking open and click events.

customRedirectDomain String

The domain to use for tracking open and click events.

ConfigurationSetVdmOptions

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0