FirehoseDeliveryStreamDestination

class aws_cdk.aws_ses.FirehoseDeliveryStreamDestination(*, delivery_stream, role=None)

Bases: object

An object that defines an Amazon Data Firehose destination for email events.

Parameters:
  • delivery_stream (IDeliveryStream) – The Amazon Data Firehose stream that the Amazon SES API v2 sends email events to.

  • role (Optional[IRole]) – The IAM role that the Amazon SES API v2 uses to send email events to the Amazon Data Firehose stream. Default: - Create IAM Role for Amazon Data Firehose Delivery stream

ExampleMetadata:

infused

Example:

import aws_cdk.aws_iam as iam
import aws_cdk.aws_kinesisfirehose as firehose

# my_configuration_set: ses.ConfigurationSet
# firehose_delivery_stream: firehose.IDeliveryStream
# iam_role: iam.IRole


# Create IAM Role automatically
my_configuration_set.add_event_destination("ToFirehose",
    destination=ses.EventDestination.firehose_delivery_stream(
        delivery_stream=firehose_delivery_stream
    )
)

# Specify your IAM Role
my_configuration_set.add_event_destination("ToFirehose",
    destination=ses.EventDestination.firehose_delivery_stream(
        delivery_stream=firehose_delivery_stream,
        role=iam_role
    )
)

Attributes

delivery_stream

The Amazon Data Firehose stream that the Amazon SES API v2 sends email events to.

role

The IAM role that the Amazon SES API v2 uses to send email events to the Amazon Data Firehose stream.

Default:
  • Create IAM Role for Amazon Data Firehose Delivery stream