Class: AWSCDK::Interfaces::AWSCustomerprofiles::EventStreamReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/aws_customerprofiles/event_stream_reference.rb

Overview

A reference to a EventStream resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain_name:, event_stream_arn:, event_stream_name:) ⇒ EventStreamReference

Returns a new instance of EventStreamReference.

Parameters:

  • domain_name (String)

    The DomainName of the EventStream resource.

  • event_stream_arn (String)

    The ARN of the EventStream resource.

  • event_stream_name (String)

    The EventStreamName of the EventStream resource.



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_nameString (readonly)

The DomainName of the EventStream resource.

Returns:

  • (String)


22
23
24
# File 'interfaces/aws_customerprofiles/event_stream_reference.rb', line 22

def domain_name
  @domain_name
end

#event_stream_arnString (readonly)

The ARN of the EventStream resource.

Returns:

  • (String)


26
27
28
# File 'interfaces/aws_customerprofiles/event_stream_reference.rb', line 26

def event_stream_arn
  @event_stream_arn
end

#event_stream_nameString (readonly)

The EventStreamName of the EventStream resource.

Returns:

  • (String)


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_propertiesObject



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_jsiiObject



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