Class: AWSCDK::Events::CfnEndpoint::EndpointEventBusProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Events::CfnEndpoint::EndpointEventBusProperty
- Defined in:
- events/cfn_endpoint.rb
Overview
The event buses the endpoint is associated with.
Instance Attribute Summary collapse
-
#event_bus_arn ⇒ String
readonly
The ARN of the event bus the endpoint is associated with.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(event_bus_arn:) ⇒ EndpointEventBusProperty
constructor
A new instance of EndpointEventBusProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(event_bus_arn:) ⇒ EndpointEventBusProperty
Returns a new instance of EndpointEventBusProperty.
634 635 636 637 |
# File 'events/cfn_endpoint.rb', line 634 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 ARN of the event bus the endpoint is associated with.
643 644 645 |
# File 'events/cfn_endpoint.rb', line 643 def event_bus_arn @event_bus_arn end |
Class Method Details
.jsii_properties ⇒ Object
645 646 647 648 649 |
# File 'events/cfn_endpoint.rb', line 645 def self.jsii_properties { :event_bus_arn => "eventBusArn", } end |
Instance Method Details
#to_jsii ⇒ Object
651 652 653 654 655 656 657 |
# File 'events/cfn_endpoint.rb', line 651 def to_jsii result = {} result.merge!({ "eventBusArn" => @event_bus_arn, }) result.compact end |