Class: AWSCDK::SES::CfnConfigurationSetEventDestinationProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnConfigurationSetEventDestinationProps
- Defined in:
- ses/cfn_configuration_set_event_destination_props.rb
Overview
Properties for defining a CfnConfigurationSetEventDestination.
Instance Attribute Summary collapse
-
#configuration_set_name ⇒ String, AWSCDK::Interfaces::AWSSES::IConfigurationSetRef
readonly
The name of the configuration set that contains the event destination.
-
#event_destination ⇒ AWSCDK::IResolvable, AWSCDK::SES::CfnConfigurationSetEventDestination::EventDestinationProperty
readonly
An object that defines the event destination.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(configuration_set_name:, event_destination:) ⇒ CfnConfigurationSetEventDestinationProps
constructor
A new instance of CfnConfigurationSetEventDestinationProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(configuration_set_name:, event_destination:) ⇒ CfnConfigurationSetEventDestinationProps
Returns a new instance of CfnConfigurationSetEventDestinationProps.
11 12 13 14 15 16 |
# File 'ses/cfn_configuration_set_event_destination_props.rb', line 11 def initialize(configuration_set_name:, event_destination:) @configuration_set_name = configuration_set_name Jsii::Type.check_type(@configuration_set_name, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoic3RyaW5nIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19zZXMuSUNvbmZpZ3VyYXRpb25TZXRSZWYifV19fQ==")), "configurationSetName") @event_destination = event_destination.is_a?(Hash) ? ::AWSCDK::SES::CfnConfigurationSetEventDestination::EventDestinationProperty.new(**event_destination.transform_keys(&:to_sym)) : event_destination Jsii::Type.check_type(@event_destination, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zZXMuQ2ZuQ29uZmlndXJhdGlvblNldEV2ZW50RGVzdGluYXRpb24uRXZlbnREZXN0aW5hdGlvblByb3BlcnR5In1dfX0=")), "eventDestination") end |
Instance Attribute Details
#configuration_set_name ⇒ String, AWSCDK::Interfaces::AWSSES::IConfigurationSetRef (readonly)
The name of the configuration set that contains the event destination.
22 23 24 |
# File 'ses/cfn_configuration_set_event_destination_props.rb', line 22 def configuration_set_name @configuration_set_name end |
#event_destination ⇒ AWSCDK::IResolvable, AWSCDK::SES::CfnConfigurationSetEventDestination::EventDestinationProperty (readonly)
An object that defines the event destination.
27 28 29 |
# File 'ses/cfn_configuration_set_event_destination_props.rb', line 27 def event_destination @event_destination end |
Class Method Details
.jsii_properties ⇒ Object
29 30 31 32 33 34 |
# File 'ses/cfn_configuration_set_event_destination_props.rb', line 29 def self.jsii_properties { :configuration_set_name => "configurationSetName", :event_destination => "eventDestination", } end |
Instance Method Details
#to_jsii ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'ses/cfn_configuration_set_event_destination_props.rb', line 36 def to_jsii result = {} result.merge!({ "configurationSetName" => @configuration_set_name, "eventDestination" => @event_destination, }) result.compact end |