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.2.0 published on Monday, Sep 18, 2023 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.2.0 published on Monday, Sep 18, 2023 by Pulumi

    Provides an SES event destination

    Example Usage

    CloudWatch Destination

    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()
        {
            ConfigurationSetName = aws_ses_configuration_set.Example.Name,
            Enabled = true,
            MatchingTypes = new[]
            {
                "bounce",
                "send",
            },
            CloudwatchDestinations = new[]
            {
                new Aws.Ses.Inputs.EventDestinationCloudwatchDestinationArgs
                {
                    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{
    			ConfigurationSetName: pulumi.Any(aws_ses_configuration_set.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
    	})
    }
    
    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()        
                .configurationSetName(aws_ses_configuration_set.example().name())
                .enabled(true)
                .matchingTypes(            
                    "bounce",
                    "send")
                .cloudwatchDestinations(EventDestinationCloudwatchDestinationArgs.builder()
                    .defaultValue("default")
                    .dimensionName("dimension")
                    .valueSource("emailHeader")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aws as aws
    
    cloudwatch = aws.ses.EventDestination("cloudwatch",
        configuration_set_name=aws_ses_configuration_set["example"]["name"],
        enabled=True,
        matching_types=[
            "bounce",
            "send",
        ],
        cloudwatch_destinations=[aws.ses.EventDestinationCloudwatchDestinationArgs(
            default_value="default",
            dimension_name="dimension",
            value_source="emailHeader",
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const cloudwatch = new aws.ses.EventDestination("cloudwatch", {
        configurationSetName: aws_ses_configuration_set.example.name,
        enabled: true,
        matchingTypes: [
            "bounce",
            "send",
        ],
        cloudwatchDestinations: [{
            defaultValue: "default",
            dimensionName: "dimension",
            valueSource: "emailHeader",
        }],
    });
    
    resources:
      cloudwatch:
        type: aws:ses:EventDestination
        properties:
          configurationSetName: ${aws_ses_configuration_set.example.name}
          enabled: true
          matchingTypes:
            - bounce
            - send
          cloudwatchDestinations:
            - defaultValue: default
              dimensionName: dimension
              valueSource: emailHeader
    

    Kinesis Destination

    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()
        {
            ConfigurationSetName = aws_ses_configuration_set.Example.Name,
            Enabled = true,
            MatchingTypes = new[]
            {
                "bounce",
                "send",
            },
            KinesisDestination = new Aws.Ses.Inputs.EventDestinationKinesisDestinationArgs
            {
                StreamArn = aws_kinesis_firehose_delivery_stream.Example.Arn,
                RoleArn = aws_iam_role.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{
    			ConfigurationSetName: pulumi.Any(aws_ses_configuration_set.Example.Name),
    			Enabled:              pulumi.Bool(true),
    			MatchingTypes: pulumi.StringArray{
    				pulumi.String("bounce"),
    				pulumi.String("send"),
    			},
    			KinesisDestination: &ses.EventDestinationKinesisDestinationArgs{
    				StreamArn: pulumi.Any(aws_kinesis_firehose_delivery_stream.Example.Arn),
    				RoleArn:   pulumi.Any(aws_iam_role.Example.Arn),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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()        
                .configurationSetName(aws_ses_configuration_set.example().name())
                .enabled(true)
                .matchingTypes(            
                    "bounce",
                    "send")
                .kinesisDestination(EventDestinationKinesisDestinationArgs.builder()
                    .streamArn(aws_kinesis_firehose_delivery_stream.example().arn())
                    .roleArn(aws_iam_role.example().arn())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aws as aws
    
    kinesis = aws.ses.EventDestination("kinesis",
        configuration_set_name=aws_ses_configuration_set["example"]["name"],
        enabled=True,
        matching_types=[
            "bounce",
            "send",
        ],
        kinesis_destination=aws.ses.EventDestinationKinesisDestinationArgs(
            stream_arn=aws_kinesis_firehose_delivery_stream["example"]["arn"],
            role_arn=aws_iam_role["example"]["arn"],
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const kinesis = new aws.ses.EventDestination("kinesis", {
        configurationSetName: aws_ses_configuration_set.example.name,
        enabled: true,
        matchingTypes: [
            "bounce",
            "send",
        ],
        kinesisDestination: {
            streamArn: aws_kinesis_firehose_delivery_stream.example.arn,
            roleArn: aws_iam_role.example.arn,
        },
    });
    
    resources:
      kinesis:
        type: aws:ses:EventDestination
        properties:
          configurationSetName: ${aws_ses_configuration_set.example.name}
          enabled: true
          matchingTypes:
            - bounce
            - send
          kinesisDestination:
            streamArn: ${aws_kinesis_firehose_delivery_stream.example.arn}
            roleArn: ${aws_iam_role.example.arn}
    

    SNS Destination

    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()
        {
            ConfigurationSetName = aws_ses_configuration_set.Example.Name,
            Enabled = true,
            MatchingTypes = new[]
            {
                "bounce",
                "send",
            },
            SnsDestination = new Aws.Ses.Inputs.EventDestinationSnsDestinationArgs
            {
                TopicArn = aws_sns_topic.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{
    			ConfigurationSetName: pulumi.Any(aws_ses_configuration_set.Example.Name),
    			Enabled:              pulumi.Bool(true),
    			MatchingTypes: pulumi.StringArray{
    				pulumi.String("bounce"),
    				pulumi.String("send"),
    			},
    			SnsDestination: &ses.EventDestinationSnsDestinationArgs{
    				TopicArn: pulumi.Any(aws_sns_topic.Example.Arn),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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()        
                .configurationSetName(aws_ses_configuration_set.example().name())
                .enabled(true)
                .matchingTypes(            
                    "bounce",
                    "send")
                .snsDestination(EventDestinationSnsDestinationArgs.builder()
                    .topicArn(aws_sns_topic.example().arn())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_aws as aws
    
    sns = aws.ses.EventDestination("sns",
        configuration_set_name=aws_ses_configuration_set["example"]["name"],
        enabled=True,
        matching_types=[
            "bounce",
            "send",
        ],
        sns_destination=aws.ses.EventDestinationSnsDestinationArgs(
            topic_arn=aws_sns_topic["example"]["arn"],
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const sns = new aws.ses.EventDestination("sns", {
        configurationSetName: aws_ses_configuration_set.example.name,
        enabled: true,
        matchingTypes: [
            "bounce",
            "send",
        ],
        snsDestination: {
            topicArn: aws_sns_topic.example.arn,
        },
    });
    
    resources:
      sns:
        type: aws:ses:EventDestination
        properties:
          configurationSetName: ${aws_ses_configuration_set.example.name}
          enabled: true
          matchingTypes:
            - bounce
            - send
          snsDestination:
            topicArn: ${aws_sns_topic.example.arn}
    

    Create EventDestination Resource

    new EventDestination(name: string, args: EventDestinationArgs, opts?: CustomResourceOptions);
    @overload
    def EventDestination(resource_name: str,
                         opts: Optional[ResourceOptions] = 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)
    @overload
    def EventDestination(resource_name: str,
                         args: EventDestinationArgs,
                         opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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
    

    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.2.0 published on Monday, Sep 18, 2023 by Pulumi