Class: AWSCDK::SES::CfnConfigurationSetEventDestination::EventBridgeDestinationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SES::CfnConfigurationSetEventDestination::EventBridgeDestinationProperty
- Defined in:
- ses/cfn_configuration_set_event_destination.rb
Overview
An object that defines an Amazon EventBridge destination for email events.
You can use Amazon EventBridge to send notifications when certain email events occur.
Instance Attribute Summary collapse
-
#event_bus_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(event_bus_arn:) ⇒ EventBridgeDestinationProperty
constructor
A new instance of EventBridgeDestinationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(event_bus_arn:) ⇒ EventBridgeDestinationProperty
Returns a new instance of EventBridgeDestinationProperty.
618 619 620 621 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 618 def initialize(event_bus_arn:) @event_bus_arn = event_bus_arn Jsii::Type.check_type(@event_bus_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "eventBusArn") end |
Instance Attribute Details
#event_bus_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to.
Only the default bus is supported.
629 630 631 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 629 def event_bus_arn @event_bus_arn end |
Class Method Details
.jsii_properties ⇒ Object
631 632 633 634 635 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 631 def self.jsii_properties { :event_bus_arn => "eventBusArn", } end |
Instance Method Details
#to_jsii ⇒ Object
637 638 639 640 641 642 643 |
# File 'ses/cfn_configuration_set_event_destination.rb', line 637 def to_jsii result = {} result.merge!({ "eventBusArn" => @event_bus_arn, }) result.compact end |