aws.ses.EventDestination
Explore with Pulumi AI
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=[{
"default_value": "default",
"dimension_name": "dimension",
"value_source": "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={
"stream_arn": example_aws_kinesis_firehose_delivery_stream["arn"],
"role_arn": 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={
"topic_arn": 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:
- Configuration
Set stringName - The name of the configuration set
- Matching
Types List<string> - A list of matching types. May be any of
"send"
,"reject"
,"bounce"
,"complaint"
,"delivery"
,"open"
,"click"
, or"renderingFailure"
. - Cloudwatch
Destinations List<EventDestination Cloudwatch Destination> - CloudWatch destination for the events
- Enabled bool
- If true, the event destination will be enabled
- Kinesis
Destination EventDestination Kinesis Destination - Send the events to a kinesis firehose destination
- Name string
- The name of the event destination
- Sns
Destination EventDestination Sns Destination Send the events to an SNS Topic destination
NOTE: You can specify
"cloudwatch_destination"
or"kinesis_destination"
but not both
- Configuration
Set stringName - The name of the configuration set
- Matching
Types []string - A list of matching types. May be any of
"send"
,"reject"
,"bounce"
,"complaint"
,"delivery"
,"open"
,"click"
, or"renderingFailure"
. - Cloudwatch
Destinations []EventDestination Cloudwatch Destination Args - CloudWatch destination for the events
- Enabled bool
- If true, the event destination will be enabled
- Kinesis
Destination EventDestination Kinesis Destination Args - Send the events to a kinesis firehose destination
- Name string
- The name of the event destination
- Sns
Destination EventDestination Sns Destination Args Send the events to an SNS Topic destination
NOTE: You can specify
"cloudwatch_destination"
or"kinesis_destination"
but not both
- configuration
Set StringName - The name of the configuration set
- matching
Types List<String> - A list of matching types. May be any of
"send"
,"reject"
,"bounce"
,"complaint"
,"delivery"
,"open"
,"click"
, or"renderingFailure"
. - cloudwatch
Destinations List<EventDestination Cloudwatch Destination> - CloudWatch destination for the events
- enabled Boolean
- If true, the event destination will be enabled
- kinesis
Destination EventDestination Kinesis Destination - Send the events to a kinesis firehose destination
- name String
- The name of the event destination
- sns
Destination EventDestination Sns Destination Send the events to an SNS Topic destination
NOTE: You can specify
"cloudwatch_destination"
or"kinesis_destination"
but not both
- configuration
Set stringName - The name of the configuration set
- matching
Types string[] - A list of matching types. May be any of
"send"
,"reject"
,"bounce"
,"complaint"
,"delivery"
,"open"
,"click"
, or"renderingFailure"
. - cloudwatch
Destinations EventDestination Cloudwatch Destination[] - CloudWatch destination for the events
- enabled boolean
- If true, the event destination will be enabled
- kinesis
Destination EventDestination Kinesis Destination - Send the events to a kinesis firehose destination
- name string
- The name of the event destination
- sns
Destination EventDestination Sns Destination Send the events to an SNS Topic destination
NOTE: You can specify
"cloudwatch_destination"
or"kinesis_destination"
but not both
- configuration_
set_ strname - 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[EventDestination Cloudwatch Destination Args] - CloudWatch destination for the events
- enabled bool
- If true, the event destination will be enabled
- kinesis_
destination EventDestination Kinesis Destination Args - Send the events to a kinesis firehose destination
- name str
- The name of the event destination
- sns_
destination EventDestination Sns Destination Args Send the events to an SNS Topic destination
NOTE: You can specify
"cloudwatch_destination"
or"kinesis_destination"
but not both
- configuration
Set StringName - The name of the configuration set
- matching
Types List<String> - A list of matching types. May be any of
"send"
,"reject"
,"bounce"
,"complaint"
,"delivery"
,"open"
,"click"
, or"renderingFailure"
. - cloudwatch
Destinations List<Property Map> - CloudWatch destination for the events
- enabled Boolean
- If true, the event destination will be enabled
- kinesis
Destination Property Map - Send the events to a kinesis firehose destination
- name String
- The name of the event destination
- sns
Destination 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:
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.
- Arn string
- The SES event destination ARN.
- Cloudwatch
Destinations List<EventDestination Cloudwatch Destination> - CloudWatch destination for the events
- Configuration
Set stringName - The name of the configuration set
- Enabled bool
- If true, the event destination will be enabled
- Kinesis
Destination EventDestination Kinesis Destination - Send the events to a kinesis firehose destination
- Matching
Types 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
- Sns
Destination EventDestination Sns Destination 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.
- Cloudwatch
Destinations []EventDestination Cloudwatch Destination Args - CloudWatch destination for the events
- Configuration
Set stringName - The name of the configuration set
- Enabled bool
- If true, the event destination will be enabled
- Kinesis
Destination EventDestination Kinesis Destination Args - Send the events to a kinesis firehose destination
- Matching
Types []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
- Sns
Destination EventDestination Sns Destination Args 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.
- cloudwatch
Destinations List<EventDestination Cloudwatch Destination> - CloudWatch destination for the events
- configuration
Set StringName - The name of the configuration set
- enabled Boolean
- If true, the event destination will be enabled
- kinesis
Destination EventDestination Kinesis Destination - Send the events to a kinesis firehose destination
- matching
Types 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
- sns
Destination EventDestination Sns Destination 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.
- cloudwatch
Destinations EventDestination Cloudwatch Destination[] - CloudWatch destination for the events
- configuration
Set stringName - The name of the configuration set
- enabled boolean
- If true, the event destination will be enabled
- kinesis
Destination EventDestination Kinesis Destination - Send the events to a kinesis firehose destination
- matching
Types 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
- sns
Destination EventDestination Sns Destination 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[EventDestination Cloudwatch Destination Args] - CloudWatch destination for the events
- configuration_
set_ strname - The name of the configuration set
- enabled bool
- If true, the event destination will be enabled
- kinesis_
destination EventDestination Kinesis Destination Args - 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 EventDestination Sns Destination Args 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.
- cloudwatch
Destinations List<Property Map> - CloudWatch destination for the events
- configuration
Set StringName - The name of the configuration set
- enabled Boolean
- If true, the event destination will be enabled
- kinesis
Destination Property Map - Send the events to a kinesis firehose destination
- matching
Types 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
- sns
Destination 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
- Default
Value string - The default value for the event
- Dimension
Name string - The name for the dimension
- Value
Source string - The source for the value. May be any of
"messageTag"
,"emailHeader"
or"linkTag"
.
- Default
Value string - The default value for the event
- Dimension
Name string - The name for the dimension
- Value
Source string - The source for the value. May be any of
"messageTag"
,"emailHeader"
or"linkTag"
.
- default
Value String - The default value for the event
- dimension
Name String - The name for the dimension
- value
Source String - The source for the value. May be any of
"messageTag"
,"emailHeader"
or"linkTag"
.
- default
Value string - The default value for the event
- dimension
Name string - The name for the dimension
- value
Source 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"
.
- default
Value String - The default value for the event
- dimension
Name String - The name for the dimension
- value
Source String - The source for the value. May be any of
"messageTag"
,"emailHeader"
or"linkTag"
.
EventDestinationKinesisDestination, EventDestinationKinesisDestinationArgs
- 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
EventDestinationSnsDestination, EventDestinationSnsDestinationArgs
- Topic
Arn string - The ARN of the SNS topic
- Topic
Arn string - The ARN of the SNS topic
- topic
Arn String - The ARN of the SNS topic
- topic
Arn string - The ARN of the SNS topic
- topic_
arn str - The ARN of the SNS topic
- topic
Arn 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.