CfnConfigurationSetEventDestinationProps

class aws_cdk.aws_pinpointemail.CfnConfigurationSetEventDestinationProps(*, configuration_set_name, event_destination_name, event_destination=None)

Bases: object

Properties for defining a CfnConfigurationSetEventDestination.

Parameters
  • configuration_set_name (str) – The name of the configuration set that contains the event destination that you want to modify.

  • event_destination_name (str) – The name of the event destination that you want to modify.

  • event_destination (Union[IResolvable, EventDestinationProperty, Dict[str, Any], None]) – An object that defines the event destination.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationseteventdestination.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_pinpointemail as pinpointemail

cfn_configuration_set_event_destination_props = pinpointemail.CfnConfigurationSetEventDestinationProps(
    configuration_set_name="configurationSetName",
    event_destination_name="eventDestinationName",

    # the properties below are optional
    event_destination=pinpointemail.CfnConfigurationSetEventDestination.EventDestinationProperty(
        matching_event_types=["matchingEventTypes"],

        # the properties below are optional
        cloud_watch_destination=pinpointemail.CfnConfigurationSetEventDestination.CloudWatchDestinationProperty(
            dimension_configurations=[pinpointemail.CfnConfigurationSetEventDestination.DimensionConfigurationProperty(
                default_dimension_value="defaultDimensionValue",
                dimension_name="dimensionName",
                dimension_value_source="dimensionValueSource"
            )]
        ),
        enabled=False,
        kinesis_firehose_destination=pinpointemail.CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty(
            delivery_stream_arn="deliveryStreamArn",
            iam_role_arn="iamRoleArn"
        ),
        pinpoint_destination=pinpointemail.CfnConfigurationSetEventDestination.PinpointDestinationProperty(
            application_arn="applicationArn"
        ),
        sns_destination=pinpointemail.CfnConfigurationSetEventDestination.SnsDestinationProperty(
            topic_arn="topicArn"
        )
    )
)

Attributes

configuration_set_name

The name of the configuration set that contains the event destination that you want to modify.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationseteventdestination.html#cfn-pinpointemail-configurationseteventdestination-configurationsetname

Return type

str

event_destination

An object that defines the event destination.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationseteventdestination.html#cfn-pinpointemail-configurationseteventdestination-eventdestination

Return type

Union[IResolvable, EventDestinationProperty, None]

event_destination_name

The name of the event destination that you want to modify.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpointemail-configurationseteventdestination.html#cfn-pinpointemail-configurationseteventdestination-eventdestinationname

Return type

str