Class: AWSCDK::SES::CfnConfigurationSetEventDestination::EventBridgeDestinationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(event_bus_arn:) ⇒ EventBridgeDestinationProperty

Returns a new instance of EventBridgeDestinationProperty.

Parameters:

  • event_bus_arn (String)

    The Amazon Resource Name (ARN) of the Amazon EventBridge bus to publish email events to.



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_arnString (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_propertiesObject



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_jsiiObject



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