Class: AWSCDK::CustomerProfiles::CfnEventStream::DestinationDetailsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
customer_profiles/cfn_event_stream.rb

Overview

Details regarding the Kinesis stream.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status:, uri:) ⇒ DestinationDetailsProperty

Returns a new instance of DestinationDetailsProperty.

Parameters:

  • status (String)

    The status of enabling the Kinesis stream as a destination for export.

  • uri (String)

    The StreamARN of the destination to deliver profile events to.



593
594
595
596
597
598
# File 'customer_profiles/cfn_event_stream.rb', line 593

def initialize(status:, uri:)
  @status = status
  Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status")
  @uri = uri
  Jsii::Type.check_type(@uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "uri")
end

Instance Attribute Details

#statusString (readonly)

The status of enabling the Kinesis stream as a destination for export.



604
605
606
# File 'customer_profiles/cfn_event_stream.rb', line 604

def status
  @status
end

#uriString (readonly)

The StreamARN of the destination to deliver profile events to.

For example, arn:aws:kinesis:region:account-id:stream/stream-name.



611
612
613
# File 'customer_profiles/cfn_event_stream.rb', line 611

def uri
  @uri
end

Class Method Details

.jsii_propertiesObject



613
614
615
616
617
618
# File 'customer_profiles/cfn_event_stream.rb', line 613

def self.jsii_properties
  {
    :status => "status",
    :uri => "uri",
  }
end

Instance Method Details

#to_jsiiObject



620
621
622
623
624
625
626
627
# File 'customer_profiles/cfn_event_stream.rb', line 620

def to_jsii
  result = {}
  result.merge!({
    "status" => @status,
    "uri" => @uri,
  })
  result.compact
end