Class: AWSCDK::Events::CfnEndpoint::EndpointEventBusProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
events/cfn_endpoint.rb

Overview

The event buses the endpoint is associated with.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(event_bus_arn:) ⇒ EndpointEventBusProperty

Returns a new instance of EndpointEventBusProperty.

Parameters:

  • event_bus_arn (String)

    The ARN of the event bus the endpoint is associated with.



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



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_jsiiObject



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