Class: AWSCDK::Interfaces::AWSCustomerprofiles::EventStreamReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSCustomerprofiles::EventStreamReference
- Defined in:
- interfaces/aws_customerprofiles/event_stream_reference.rb
Overview
A reference to a EventStream resource.
Instance Attribute Summary collapse
-
#domain_name ⇒ String
readonly
The DomainName of the EventStream resource.
-
#event_stream_arn ⇒ String
readonly
The ARN of the EventStream resource.
-
#event_stream_name ⇒ String
readonly
The EventStreamName of the EventStream resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_name:, event_stream_arn:, event_stream_name:) ⇒ EventStreamReference
constructor
A new instance of EventStreamReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_name:, event_stream_arn:, event_stream_name:) ⇒ EventStreamReference
Returns a new instance of EventStreamReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_customerprofiles/event_stream_reference.rb', line 10 def initialize(domain_name:, event_stream_arn:, event_stream_name:) @domain_name = domain_name Jsii::Type.check_type(@domain_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainName") @event_stream_arn = event_stream_arn Jsii::Type.check_type(@event_stream_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "eventStreamArn") @event_stream_name = event_stream_name Jsii::Type.check_type(@event_stream_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "eventStreamName") end |
Instance Attribute Details
#domain_name ⇒ String (readonly)
The DomainName of the EventStream resource.
22 23 24 |
# File 'interfaces/aws_customerprofiles/event_stream_reference.rb', line 22 def domain_name @domain_name end |
#event_stream_arn ⇒ String (readonly)
The ARN of the EventStream resource.
26 27 28 |
# File 'interfaces/aws_customerprofiles/event_stream_reference.rb', line 26 def event_stream_arn @event_stream_arn end |
#event_stream_name ⇒ String (readonly)
The EventStreamName of the EventStream resource.
30 31 32 |
# File 'interfaces/aws_customerprofiles/event_stream_reference.rb', line 30 def event_stream_name @event_stream_name end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_customerprofiles/event_stream_reference.rb', line 32 def self.jsii_properties { :domain_name => "domainName", :event_stream_arn => "eventStreamArn", :event_stream_name => "eventStreamName", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_customerprofiles/event_stream_reference.rb', line 40 def to_jsii result = {} result.merge!({ "domainName" => @domain_name, "eventStreamArn" => @event_stream_arn, "eventStreamName" => @event_stream_name, }) result.compact end |