Class: AWSCDK::AppSync::CfnDataSource::EventBridgeConfigProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(event_bus_arn:) ⇒ EventBridgeConfigProperty

Returns a new instance of EventBridgeConfigProperty.

Parameters:

  • event_bus_arn (String)

    The event bus pipeline's ARN.



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



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_jsiiObject



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