Class: AWSCDK::AppConfig::EventBridgeDestination

Inherits:
Jsii::Object
  • Object
show all
Includes:
IEventDestination
Defined in:
app_config/event_bridge_destination.rb

Overview

Use an Amazon EventBridge event bus as an event destination.

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bus) ⇒ EventBridgeDestination

Returns a new instance of EventBridgeDestination.



10
11
12
13
# File 'app_config/event_bridge_destination.rb', line 10

def initialize(bus)
  Jsii::Type.check_type(bus, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19ldmVudHMuSUV2ZW50QnVzUmVmIn0=")), "bus")
  Jsii::Object.instance_method(:initialize).bind(self).call(bus)
end

Class Method Details

.jsii_overridable_methodsObject



15
16
17
18
19
20
# File 'app_config/event_bridge_destination.rb', line 15

def self.jsii_overridable_methods
  {
    :extension_uri => { kind: :property, name: "extensionUri", is_optional: false },
    :type => { kind: :property, name: "type", is_optional: false },
  }
end

Instance Method Details

#extension_uriString

The URI of the extension event destination.

Returns:

  • (String)


25
26
27
# File 'app_config/event_bridge_destination.rb', line 25

def extension_uri()
  jsii_get_property("extensionUri")
end

#typeAWSCDK::AppConfig::SourceType

The type of the extension event destination.



32
33
34
# File 'app_config/event_bridge_destination.rb', line 32

def type()
  jsii_get_property("type")
end