1. Packages
  2. AWS Classic
  3. API Docs
  4. ses
  5. EventDestination

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.ses.EventDestination

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Provides an SES event destination

    Example Usage

    CloudWatch Destination

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const cloudwatch = new aws.ses.EventDestination("cloudwatch", {
        name: "event-destination-cloudwatch",
        configurationSetName: example.name,
        enabled: true,
        matchingTypes: [
            "bounce",
            "send",
        ],
        cloudwatchDestinations: [{
            defaultValue: "default",
            dimensionName: "dimension",
            valueSource: "emailHeader",
        }],
    });
    
    import pulumi
    import pulumi_aws as aws
    
    cloudwatch = aws.ses.EventDestination("cloudwatch",
        name="event-destination-cloudwatch",
        configuration_set_name=example["name"],
        enabled=True,
        matching_types=[
            "bounce",
            "send",
        ],
        cloudwatch_destinations=[{
            "defaultValue": "default",
            "dimensionName": "dimension",
            "valueSource": "emailHeader",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ses"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ses.NewEventDestination(ctx, "cloudwatch", &ses.EventDestinationArgs{
    			Name:                 pulumi.String("event-destination-cloudwatch"),
    			ConfigurationSetName: pulumi.Any(example.Name),
    			Enabled:              pulumi.Bool(true),
    			MatchingTypes: pulumi.StringArray{
    				pulumi.String("bounce"),
    				pulumi.String("send"),
    			},
    			CloudwatchDestinations: ses.EventDestinationCloudwatchDestinationArray{
    				&ses.EventDestinationCloudwatchDestinationArgs{
    					DefaultValue:  pulumi.String("default"),
    					DimensionName: pulumi.String("dimension"),
    					ValueSource:   pulumi.String("emailHeader"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var cloudwatch = new Aws.Ses.EventDestination("cloudwatch", new()
        {
            Name = "event-destination-cloudwatch",
            ConfigurationSetName = example.Name,
            Enabled = true,
            MatchingTypes = new[]
            {
                "bounce",
                "send",
            },
            CloudwatchDestinations = new[]
            {
                new Aws.Ses.Inputs.EventDestinationCloudwatchDestinationArgs
                {
                    DefaultValue = "default",
                    DimensionName = "dimension",
                    ValueSource = "emailHeader",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ses.EventDestination;
    import com.pulumi.aws.ses.EventDestinationArgs;
    import com.pulumi.aws.ses.inputs.EventDestinationCloudwatchDestinationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var cloudwatch = new EventDestination("cloudwatch", EventDestinationArgs.builder()
                .name("event-destination-cloudwatch")
                .configurationSetName(example.name())
                .enabled(true)
                .matchingTypes(            
                    "bounce",
                    "send")
                .cloudwatchDestinations(EventDestinationCloudwatchDestinationArgs.builder()
                    .defaultValue("default")
                    .dimensionName("dimension")
                    .valueSource("emailHeader")
                    .build())
                .build());
    
        }
    }
    
    resources:
      cloudwatch:
        type: aws:ses:EventDestination
        properties:
          name: event-destination-cloudwatch
          configurationSetName: ${example.name}
          enabled: true
          matchingTypes:
            - bounce
            - send
          cloudwatchDestinations:
            - defaultValue: default
              dimensionName: dimension
              valueSource: emailHeader
    

    Kinesis Destination

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const kinesis = new aws.ses.EventDestination("kinesis", {
        name: "event-destination-kinesis",
        configurationSetName: exampleAwsSesConfigurationSet.name,
        enabled: true,
        matchingTypes: [
            "bounce",
            "send",
        ],
        kinesisDestination: {
            streamArn: exampleAwsKinesisFirehoseDeliveryStream.arn,
            roleArn: example.arn,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    kinesis = aws.ses.EventDestination("kinesis",
        name="event-destination-kinesis",
        configuration_set_name=example_aws_ses_configuration_set["name"],
        enabled=True,
        matching_types=[
            "bounce",
            "send",
        ],
        kinesis_destination={
            "streamArn": example_aws_kinesis_firehose_delivery_stream["arn"],
            "roleArn": example["arn"],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ses"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ses.NewEventDestination(ctx, "kinesis", &ses.EventDestinationArgs{
    			Name:                 pulumi.String("event-destination-kinesis"),
    			ConfigurationSetName: pulumi.Any(exampleAwsSesConfigurationSet.Name),
    			Enabled:              pulumi.Bool(true),
    			MatchingTypes: pulumi.StringArray{
    				pulumi.String("bounce"),
    				pulumi.String("send"),
    			},
    			KinesisDestination: &ses.EventDestinationKinesisDestinationArgs{
    				StreamArn: pulumi.Any(exampleAwsKinesisFirehoseDeliveryStream.Arn),
    				RoleArn:   pulumi.Any(example.Arn),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var kinesis = new Aws.Ses.EventDestination("kinesis", new()
        {
            Name = "event-destination-kinesis",
            ConfigurationSetName = exampleAwsSesConfigurationSet.Name,
            Enabled = true,
            MatchingTypes = new[]
            {
                "bounce",
                "send",
            },
            KinesisDestination = new Aws.Ses.Inputs.EventDestinationKinesisDestinationArgs
            {
                StreamArn = exampleAwsKinesisFirehoseDeliveryStream.Arn,
                RoleArn = example.Arn,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ses.EventDestination;
    import com.pulumi.aws.ses.EventDestinationArgs;
    import com.pulumi.aws.ses.inputs.EventDestinationKinesisDestinationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var kinesis = new EventDestination("kinesis", EventDestinationArgs.builder()
                .name("event-destination-kinesis")
                .configurationSetName(exampleAwsSesConfigurationSet.name())
                .enabled(true)
                .matchingTypes(            
                    "bounce",
                    "send")
                .kinesisDestination(EventDestinationKinesisDestinationArgs.builder()
                    .streamArn(exampleAwsKinesisFirehoseDeliveryStream.arn())
                    .roleArn(example.arn())
                    .build())
                .build());
    
        }
    }
    
    resources:
      kinesis:
        type: aws:ses:EventDestination
        properties:
          name: event-destination-kinesis
          configurationSetName: ${exampleAwsSesConfigurationSet.name}
          enabled: true
          matchingTypes:
            - bounce
            - send
          kinesisDestination:
            streamArn: ${exampleAwsKinesisFirehoseDeliveryStream.arn}
            roleArn: ${example.arn}
    

    SNS Destination

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const sns = new aws.ses.EventDestination("sns", {
        name: "event-destination-sns",
        configurationSetName: exampleAwsSesConfigurationSet.name,
        enabled: true,
        matchingTypes: [
            "bounce",
            "send",
        ],
        snsDestination: {
            topicArn: example.arn,
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    sns = aws.ses.EventDestination("sns",
        name="event-destination-sns",
        configuration_set_name=example_aws_ses_configuration_set["name"],
        enabled=True,
        matching_types=[
            "bounce",
            "send",
        ],
        sns_destination={
            "topicArn": example["arn"],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ses"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ses.NewEventDestination(ctx, "sns", &ses.EventDestinationArgs{
    			Name:                 pulumi.String("event-destination-sns"),
    			ConfigurationSetName: pulumi.Any(exampleAwsSesConfigurationSet.Name),
    			Enabled:              pulumi.Bool(true),
    			MatchingTypes: pulumi.StringArray{
    				pulumi.String("bounce"),
    				pulumi.String("send"),
    			},
    			SnsDestination: &ses.EventDestinationSnsDestinationArgs{
    				TopicArn: pulumi.Any(example.Arn),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var sns = new Aws.Ses.EventDestination("sns", new()
        {
            Name = "event-destination-sns",
            ConfigurationSetName = exampleAwsSesConfigurationSet.Name,
            Enabled = true,
            MatchingTypes = new[]
            {
                "bounce",
                "send",
            },
            SnsDestination = new Aws.Ses.Inputs.EventDestinationSnsDestinationArgs
            {
                TopicArn = example.Arn,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ses.EventDestination;
    import com.pulumi.aws.ses.EventDestinationArgs;
    import com.pulumi.aws.ses.inputs.EventDestinationSnsDestinationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sns = new EventDestination("sns", EventDestinationArgs.builder()
                .name("event-destination-sns")
                .configurationSetName(exampleAwsSesConfigurationSet.name())
                .enabled(true)
                .matchingTypes(            
                    "bounce",
                    "send")
                .snsDestination(EventDestinationSnsDestinationArgs.builder()
                    .topicArn(example.arn())
                    .build())
                .build());
    
        }
    }
    
    resources:
      sns:
        type: aws:ses:EventDestination
        properties:
          name: event-destination-sns
          configurationSetName: ${exampleAwsSesConfigurationSet.name}
          enabled: true
          matchingTypes:
            - bounce
            - send
          snsDestination:
            topicArn: ${example.arn}
    

    Create EventDestination Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EventDestination(name: string, args: EventDestinationArgs, opts?: CustomResourceOptions);
    @overload
    def EventDestination(resource_name: str,
                         args: EventDestinationArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def EventDestination(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         configuration_set_name: Optional[str] = None,
                         matching_types: Optional[Sequence[str]] = None,
                         cloudwatch_destinations: Optional[Sequence[EventDestinationCloudwatchDestinationArgs]] = None,
                         enabled: Optional[bool] = None,
                         kinesis_destination: Optional[EventDestinationKinesisDestinationArgs] = None,
                         name: Optional[str] = None,
                         sns_destination: Optional[EventDestinationSnsDestinationArgs] = None)
    func NewEventDestination(ctx *Context, name string, args EventDestinationArgs, opts ...ResourceOption) (*EventDestination, error)
    public EventDestination(string name, EventDestinationArgs args, CustomResourceOptions? opts = null)
    public EventDestination(String name, EventDestinationArgs args)
    public EventDestination(String name, EventDestinationArgs args, CustomResourceOptions options)
    
    type: aws:ses:EventDestination
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EventDestinationArgs
    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 EventDestinationArgs
    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 EventDestinationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EventDestinationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EventDestinationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var eventDestinationResource = new Aws.Ses.EventDestination("eventDestinationResource", new()
    {
        ConfigurationSetName = "string",
        MatchingTypes = new[]
        {
            "string",
        },
        CloudwatchDestinations = new[]
        {
            new Aws.Ses.Inputs.EventDestinationCloudwatchDestinationArgs
            {
                DefaultValue = "string",
                DimensionName = "string",
                ValueSource = "string",
            },
        },
        Enabled = false,
        KinesisDestination = new Aws.Ses.Inputs.EventDestinationKinesisDestinationArgs
        {
            RoleArn = "string",
            StreamArn = "string",
        },
        Name = "string",
        SnsDestination = new Aws.Ses.Inputs.EventDestinationSnsDestinationArgs
        {
            TopicArn = "string",
        },
    });
    
    example, err := ses.NewEventDestination(ctx, "eventDestinationResource", &ses.EventDestinationArgs{
    	ConfigurationSetName: pulumi.String("string"),
    	MatchingTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	CloudwatchDestinations: ses.EventDestinationCloudwatchDestinationArray{
    		&ses.EventDestinationCloudwatchDestinationArgs{
    			DefaultValue:  pulumi.String("string"),
    			DimensionName: pulumi.String("string"),
    			ValueSource:   pulumi.String("string"),
    		},
    	},
    	Enabled: pulumi.Bool(false),
    	KinesisDestination: &ses.EventDestinationKinesisDestinationArgs{
    		RoleArn:   pulumi.String("string"),
    		StreamArn: pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	SnsDestination: &ses.EventDestinationSnsDestinationArgs{
    		TopicArn: pulumi.String("string"),
    	},
    })
    
    var eventDestinationResource = new EventDestination("eventDestinationResource", EventDestinationArgs.builder()
        .configurationSetName("string")
        .matchingTypes("string")
        .cloudwatchDestinations(EventDestinationCloudwatchDestinationArgs.builder()
            .defaultValue("string")
            .dimensionName("string")
            .valueSource("string")
            .build())
        .enabled(false)
        .kinesisDestination(EventDestinationKinesisDestinationArgs.builder()
            .roleArn("string")
            .streamArn("string")
            .build())
        .name("string")
        .snsDestination(EventDestinationSnsDestinationArgs.builder()
            .topicArn("string")
            .build())
        .build());
    
    event_destination_resource = aws.ses.EventDestination("eventDestinationResource",
        configuration_set_name="string",
        matching_types=["string"],
        cloudwatch_destinations=[{
            "defaultValue": "string",
            "dimensionName": "string",
            "valueSource": "string",
        }],
        enabled=False,
        kinesis_destination={
            "roleArn": "string",
            "streamArn": "string",
        },
        name="string",
        sns_destination={
            "topicArn": "string",
        })
    
    const eventDestinationResource = new aws.ses.EventDestination("eventDestinationResource", {
        configurationSetName: "string",
        matchingTypes: ["string"],
        cloudwatchDestinations: [{
            defaultValue: "string",
            dimensionName: "string",
            valueSource: "string",
        }],
        enabled: false,
        kinesisDestination: {
            roleArn: "string",
            streamArn: "string",
        },
        name: "string",
        snsDestination: {
            topicArn: "string",
        },
    });
    
    type: aws:ses:EventDestination
    properties:
        cloudwatchDestinations:
            - defaultValue: string
              dimensionName: string
              valueSource: string
        configurationSetName: string
        enabled: false
        kinesisDestination:
            roleArn: string
            streamArn: string
        matchingTypes:
            - string
        name: string
        snsDestination:
            topicArn: string
    

    EventDestination 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 EventDestination resource accepts the following input properties:

    ConfigurationSetName string
    The name of the configuration set
    MatchingTypes List<string>
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    CloudwatchDestinations List<EventDestinationCloudwatchDestination>
    CloudWatch destination for the events
    Enabled bool
    If true, the event destination will be enabled
    KinesisDestination EventDestinationKinesisDestination
    Send the events to a kinesis firehose destination
    Name string
    The name of the event destination
    SnsDestination EventDestinationSnsDestination

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    ConfigurationSetName string
    The name of the configuration set
    MatchingTypes []string
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    CloudwatchDestinations []EventDestinationCloudwatchDestinationArgs
    CloudWatch destination for the events
    Enabled bool
    If true, the event destination will be enabled
    KinesisDestination EventDestinationKinesisDestinationArgs
    Send the events to a kinesis firehose destination
    Name string
    The name of the event destination
    SnsDestination EventDestinationSnsDestinationArgs

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    configurationSetName String
    The name of the configuration set
    matchingTypes List<String>
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    cloudwatchDestinations List<EventDestinationCloudwatchDestination>
    CloudWatch destination for the events
    enabled Boolean
    If true, the event destination will be enabled
    kinesisDestination EventDestinationKinesisDestination
    Send the events to a kinesis firehose destination
    name String
    The name of the event destination
    snsDestination EventDestinationSnsDestination

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    configurationSetName string
    The name of the configuration set
    matchingTypes string[]
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    cloudwatchDestinations EventDestinationCloudwatchDestination[]
    CloudWatch destination for the events
    enabled boolean
    If true, the event destination will be enabled
    kinesisDestination EventDestinationKinesisDestination
    Send the events to a kinesis firehose destination
    name string
    The name of the event destination
    snsDestination EventDestinationSnsDestination

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    configuration_set_name str
    The name of the configuration set
    matching_types Sequence[str]
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    cloudwatch_destinations Sequence[EventDestinationCloudwatchDestinationArgs]
    CloudWatch destination for the events
    enabled bool
    If true, the event destination will be enabled
    kinesis_destination EventDestinationKinesisDestinationArgs
    Send the events to a kinesis firehose destination
    name str
    The name of the event destination
    sns_destination EventDestinationSnsDestinationArgs

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    configurationSetName String
    The name of the configuration set
    matchingTypes List<String>
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    cloudwatchDestinations List<Property Map>
    CloudWatch destination for the events
    enabled Boolean
    If true, the event destination will be enabled
    kinesisDestination Property Map
    Send the events to a kinesis firehose destination
    name String
    The name of the event destination
    snsDestination Property Map

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    Outputs

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

    Arn string
    The SES event destination ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The SES event destination ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The SES event destination ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The SES event destination ARN.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The SES event destination ARN.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The SES event destination ARN.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing EventDestination Resource

    Get an existing EventDestination resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EventDestinationState, opts?: CustomResourceOptions): EventDestination
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            cloudwatch_destinations: Optional[Sequence[EventDestinationCloudwatchDestinationArgs]] = None,
            configuration_set_name: Optional[str] = None,
            enabled: Optional[bool] = None,
            kinesis_destination: Optional[EventDestinationKinesisDestinationArgs] = None,
            matching_types: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            sns_destination: Optional[EventDestinationSnsDestinationArgs] = None) -> EventDestination
    func GetEventDestination(ctx *Context, name string, id IDInput, state *EventDestinationState, opts ...ResourceOption) (*EventDestination, error)
    public static EventDestination Get(string name, Input<string> id, EventDestinationState? state, CustomResourceOptions? opts = null)
    public static EventDestination get(String name, Output<String> id, EventDestinationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    The SES event destination ARN.
    CloudwatchDestinations List<EventDestinationCloudwatchDestination>
    CloudWatch destination for the events
    ConfigurationSetName string
    The name of the configuration set
    Enabled bool
    If true, the event destination will be enabled
    KinesisDestination EventDestinationKinesisDestination
    Send the events to a kinesis firehose destination
    MatchingTypes List<string>
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    Name string
    The name of the event destination
    SnsDestination EventDestinationSnsDestination

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    Arn string
    The SES event destination ARN.
    CloudwatchDestinations []EventDestinationCloudwatchDestinationArgs
    CloudWatch destination for the events
    ConfigurationSetName string
    The name of the configuration set
    Enabled bool
    If true, the event destination will be enabled
    KinesisDestination EventDestinationKinesisDestinationArgs
    Send the events to a kinesis firehose destination
    MatchingTypes []string
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    Name string
    The name of the event destination
    SnsDestination EventDestinationSnsDestinationArgs

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    arn String
    The SES event destination ARN.
    cloudwatchDestinations List<EventDestinationCloudwatchDestination>
    CloudWatch destination for the events
    configurationSetName String
    The name of the configuration set
    enabled Boolean
    If true, the event destination will be enabled
    kinesisDestination EventDestinationKinesisDestination
    Send the events to a kinesis firehose destination
    matchingTypes List<String>
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    name String
    The name of the event destination
    snsDestination EventDestinationSnsDestination

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    arn string
    The SES event destination ARN.
    cloudwatchDestinations EventDestinationCloudwatchDestination[]
    CloudWatch destination for the events
    configurationSetName string
    The name of the configuration set
    enabled boolean
    If true, the event destination will be enabled
    kinesisDestination EventDestinationKinesisDestination
    Send the events to a kinesis firehose destination
    matchingTypes string[]
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    name string
    The name of the event destination
    snsDestination EventDestinationSnsDestination

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    arn str
    The SES event destination ARN.
    cloudwatch_destinations Sequence[EventDestinationCloudwatchDestinationArgs]
    CloudWatch destination for the events
    configuration_set_name str
    The name of the configuration set
    enabled bool
    If true, the event destination will be enabled
    kinesis_destination EventDestinationKinesisDestinationArgs
    Send the events to a kinesis firehose destination
    matching_types Sequence[str]
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    name str
    The name of the event destination
    sns_destination EventDestinationSnsDestinationArgs

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    arn String
    The SES event destination ARN.
    cloudwatchDestinations List<Property Map>
    CloudWatch destination for the events
    configurationSetName String
    The name of the configuration set
    enabled Boolean
    If true, the event destination will be enabled
    kinesisDestination Property Map
    Send the events to a kinesis firehose destination
    matchingTypes List<String>
    A list of matching types. May be any of "send", "reject", "bounce", "complaint", "delivery", "open", "click", or "renderingFailure".
    name String
    The name of the event destination
    snsDestination Property Map

    Send the events to an SNS Topic destination

    NOTE: You can specify "cloudwatch_destination" or "kinesis_destination" but not both

    Supporting Types

    EventDestinationCloudwatchDestination, EventDestinationCloudwatchDestinationArgs

    DefaultValue string
    The default value for the event
    DimensionName string
    The name for the dimension
    ValueSource string
    The source for the value. May be any of "messageTag", "emailHeader" or "linkTag".
    DefaultValue string
    The default value for the event
    DimensionName string
    The name for the dimension
    ValueSource string
    The source for the value. May be any of "messageTag", "emailHeader" or "linkTag".
    defaultValue String
    The default value for the event
    dimensionName String
    The name for the dimension
    valueSource String
    The source for the value. May be any of "messageTag", "emailHeader" or "linkTag".
    defaultValue string
    The default value for the event
    dimensionName string
    The name for the dimension
    valueSource string
    The source for the value. May be any of "messageTag", "emailHeader" or "linkTag".
    default_value str
    The default value for the event
    dimension_name str
    The name for the dimension
    value_source str
    The source for the value. May be any of "messageTag", "emailHeader" or "linkTag".
    defaultValue String
    The default value for the event
    dimensionName String
    The name for the dimension
    valueSource String
    The source for the value. May be any of "messageTag", "emailHeader" or "linkTag".

    EventDestinationKinesisDestination, EventDestinationKinesisDestinationArgs

    RoleArn string
    The ARN of the role that has permissions to access the Kinesis Stream
    StreamArn string
    The ARN of the Kinesis Stream
    RoleArn string
    The ARN of the role that has permissions to access the Kinesis Stream
    StreamArn string
    The ARN of the Kinesis Stream
    roleArn String
    The ARN of the role that has permissions to access the Kinesis Stream
    streamArn String
    The ARN of the Kinesis Stream
    roleArn string
    The ARN of the role that has permissions to access the Kinesis Stream
    streamArn string
    The ARN of the Kinesis Stream
    role_arn str
    The ARN of the role that has permissions to access the Kinesis Stream
    stream_arn str
    The ARN of the Kinesis Stream
    roleArn String
    The ARN of the role that has permissions to access the Kinesis Stream
    streamArn String
    The ARN of the Kinesis Stream

    EventDestinationSnsDestination, EventDestinationSnsDestinationArgs

    TopicArn string
    The ARN of the SNS topic
    TopicArn string
    The ARN of the SNS topic
    topicArn String
    The ARN of the SNS topic
    topicArn string
    The ARN of the SNS topic
    topic_arn str
    The ARN of the SNS topic
    topicArn String
    The ARN of the SNS topic

    Import

    Using pulumi import, import SES event destinations using configuration_set_name together with the event destination’s name. For example:

    $ pulumi import aws:ses/eventDestination:EventDestination sns some-configuration-set-test/event-destination-sns
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi