Class: AWSCDK::CustomerProfiles::CfnEventStreamProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CustomerProfiles::CfnEventStreamProps
- Defined in:
- customer_profiles/cfn_event_stream_props.rb
Overview
Properties for defining a CfnEventStream.
Instance Attribute Summary collapse
-
#domain_name ⇒ String
readonly
The unique name of the domain.
-
#event_stream_name ⇒ String
readonly
The name of the event stream.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
The tags used to organize, track, or control access for this resource.
-
#uri ⇒ String
readonly
The StreamARN of the destination to deliver profile events to.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(domain_name:, event_stream_name:, uri:, tags: nil) ⇒ CfnEventStreamProps
constructor
A new instance of CfnEventStreamProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(domain_name:, event_stream_name:, uri:, tags: nil) ⇒ CfnEventStreamProps
Returns a new instance of CfnEventStreamProps.
13 14 15 16 17 18 19 20 21 22 |
# File 'customer_profiles/cfn_event_stream_props.rb', line 13 def initialize(domain_name:, event_stream_name:, uri:, tags: nil) @domain_name = domain_name Jsii::Type.check_type(@domain_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "domainName") @event_stream_name = event_stream_name Jsii::Type.check_type(@event_stream_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "eventStreamName") @uri = uri Jsii::Type.check_type(@uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "uri") @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#domain_name ⇒ String (readonly)
The unique name of the domain.
28 29 30 |
# File 'customer_profiles/cfn_event_stream_props.rb', line 28 def domain_name @domain_name end |
#event_stream_name ⇒ String (readonly)
The name of the event stream.
33 34 35 |
# File 'customer_profiles/cfn_event_stream_props.rb', line 33 def event_stream_name @event_stream_name end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
The tags used to organize, track, or control access for this resource.
45 46 47 |
# File 'customer_profiles/cfn_event_stream_props.rb', line 45 def @tags end |
#uri ⇒ String (readonly)
The StreamARN of the destination to deliver profile events to.
For example, arn:aws:kinesis:region:account-id:stream/stream-name.
40 41 42 |
# File 'customer_profiles/cfn_event_stream_props.rb', line 40 def uri @uri end |
Class Method Details
.jsii_properties ⇒ Object
47 48 49 50 51 52 53 54 |
# File 'customer_profiles/cfn_event_stream_props.rb', line 47 def self.jsii_properties { :domain_name => "domainName", :event_stream_name => "eventStreamName", :uri => "uri", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
56 57 58 59 60 61 62 63 64 65 |
# File 'customer_profiles/cfn_event_stream_props.rb', line 56 def to_jsii result = {} result.merge!({ "domainName" => @domain_name, "eventStreamName" => @event_stream_name, "uri" => @uri, "tags" => @tags, }) result.compact end |