Class: AWSCDK::AppSync::CfnDataSource::EventBridgeConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppSync::CfnDataSource::EventBridgeConfigProperty
- Defined in:
- app_sync/cfn_data_source.rb
Overview
The data source.
This can be an API destination, resource, or AWS service.
Instance Attribute Summary collapse
-
#event_bus_arn ⇒ String
readonly
The event bus pipeline's ARN.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(event_bus_arn:) ⇒ EventBridgeConfigProperty
constructor
A new instance of EventBridgeConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(event_bus_arn:) ⇒ EventBridgeConfigProperty
Returns a new instance of EventBridgeConfigProperty.
942 943 944 945 |
# File 'app_sync/cfn_data_source.rb', line 942 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 event bus pipeline's ARN.
For more information about event buses, see EventBridge event buses .
953 954 955 |
# File 'app_sync/cfn_data_source.rb', line 953 def event_bus_arn @event_bus_arn end |
Class Method Details
.jsii_properties ⇒ Object
955 956 957 958 959 |
# File 'app_sync/cfn_data_source.rb', line 955 def self.jsii_properties { :event_bus_arn => "eventBusArn", } end |
Instance Method Details
#to_jsii ⇒ Object
961 962 963 964 965 966 967 |
# File 'app_sync/cfn_data_source.rb', line 961 def to_jsii result = {} result.merge!({ "eventBusArn" => @event_bus_arn, }) result.compact end |