Class CfnConfigurationSetEventDestination

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:41.358Z") @Stability(Stable) public class CfnConfigurationSetEventDestination extends CfnResource implements IInspectable
A CloudFormation AWS::SES::ConfigurationSetEventDestination.

Specifies a configuration set event destination. An event destination is an AWS service that Amazon SES publishes email sending events to. When you specify an event destination, you provide one, and only one, destination. You can send event data to Amazon CloudWatch, Amazon Kinesis Data Firehose, or Amazon Simple Notification Service (Amazon SNS).

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ses.*;
 CfnConfigurationSetEventDestination cfnConfigurationSetEventDestination = CfnConfigurationSetEventDestination.Builder.create(this, "MyCfnConfigurationSetEventDestination")
         .configurationSetName("configurationSetName")
         .eventDestination(EventDestinationProperty.builder()
                 .matchingEventTypes(List.of("matchingEventTypes"))
                 // the properties below are optional
                 .cloudWatchDestination(CloudWatchDestinationProperty.builder()
                         .dimensionConfigurations(List.of(DimensionConfigurationProperty.builder()
                                 .defaultDimensionValue("defaultDimensionValue")
                                 .dimensionName("dimensionName")
                                 .dimensionValueSource("dimensionValueSource")
                                 .build()))
                         .build())
                 .enabled(false)
                 .kinesisFirehoseDestination(KinesisFirehoseDestinationProperty.builder()
                         .deliveryStreamArn("deliveryStreamArn")
                         .iamRoleArn("iamRoleArn")
                         .build())
                 .name("name")
                 .snsDestination(SnsDestinationProperty.builder()
                         .topicArn("topicArn")
                         .build())
                 .build())
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnConfigurationSetEventDestination

      protected CfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnConfigurationSetEventDestination

      protected CfnConfigurationSetEventDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnConfigurationSetEventDestination

      @Stability(Stable) public CfnConfigurationSetEventDestination(@NotNull Construct scope, @NotNull String id, @NotNull CfnConfigurationSetEventDestinationProps props)
      Create a new AWS::SES::ConfigurationSetEventDestination.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getConfigurationSetName

      @Stability(Stable) @NotNull public String getConfigurationSetName()
      The name of the configuration set that contains the event destination.
    • setConfigurationSetName

      @Stability(Stable) public void setConfigurationSetName(@NotNull String value)
      The name of the configuration set that contains the event destination.
    • getEventDestination

      @Stability(Stable) @NotNull public Object getEventDestination()
      The event destination object.
    • setEventDestination

      @Stability(Stable) public void setEventDestination(@NotNull IResolvable value)
      The event destination object.
    • setEventDestination

      @Stability(Stable) public void setEventDestination(@NotNull CfnConfigurationSetEventDestination.EventDestinationProperty value)
      The event destination object.