Skip to content

Create Configuration Set Event Destination

sesv2_create_configuration_set_event_destination R Documentation

Create an event destination

Description

Create an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon EventBridge and associate a rule to send the event to the specified target.

A single configuration set can include more than one event destination.

Usage

sesv2_create_configuration_set_event_destination(ConfigurationSetName,
  EventDestinationName, EventDestination)

Arguments

ConfigurationSetName

[required] The name of the configuration set .

EventDestinationName

[required] A name that identifies the event destination within the configuration set.

EventDestination

[required] An object that defines the event destination.

Value

An empty list.

Request syntax

svc$create_configuration_set_event_destination(
  ConfigurationSetName = "string",
  EventDestinationName = "string",
  EventDestination = list(
    Enabled = TRUE|FALSE,
    MatchingEventTypes = list(
      "SEND"|"REJECT"|"BOUNCE"|"COMPLAINT"|"DELIVERY"|"OPEN"|"CLICK"|"RENDERING_FAILURE"|"DELIVERY_DELAY"|"SUBSCRIPTION"
    ),
    KinesisFirehoseDestination = list(
      IamRoleArn = "string",
      DeliveryStreamArn = "string"
    ),
    CloudWatchDestination = list(
      DimensionConfigurations = list(
        list(
          DimensionName = "string",
          DimensionValueSource = "MESSAGE_TAG"|"EMAIL_HEADER"|"LINK_TAG",
          DefaultDimensionValue = "string"
        )
      )
    ),
    SnsDestination = list(
      TopicArn = "string"
    ),
    EventBridgeDestination = list(
      EventBusArn = "string"
    ),
    PinpointDestination = list(
      ApplicationArn = "string"
    )
  )
)