Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::HttpEndpointCommonAttributeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_firehose/cfn_delivery_stream.rb

Overview

Describes the metadata that's delivered to the specified HTTP endpoint destination.

Kinesis Firehose supports any custom HTTP endpoint or HTTP endpoints owned by supported third-party service providers, including Datadog, MongoDB, and New Relic.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attribute_name:, attribute_value:) ⇒ HttpEndpointCommonAttributeProperty

Returns a new instance of HttpEndpointCommonAttributeProperty.

Parameters:

  • attribute_name (String)

    The name of the HTTP endpoint common attribute.

  • attribute_value (String)

    The value of the HTTP endpoint common attribute.



2768
2769
2770
2771
2772
2773
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2768

def initialize(attribute_name:, attribute_value:)
  @attribute_name = attribute_name
  Jsii::Type.check_type(@attribute_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attributeName")
  @attribute_value = attribute_value
  Jsii::Type.check_type(@attribute_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "attributeValue")
end

Instance Attribute Details

#attribute_nameString (readonly)

The name of the HTTP endpoint common attribute.



2779
2780
2781
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2779

def attribute_name
  @attribute_name
end

#attribute_valueString (readonly)

The value of the HTTP endpoint common attribute.



2784
2785
2786
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2784

def attribute_value
  @attribute_value
end

Class Method Details

.jsii_propertiesObject



2786
2787
2788
2789
2790
2791
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2786

def self.jsii_properties
  {
    :attribute_name => "attributeName",
    :attribute_value => "attributeValue",
  }
end

Instance Method Details

#to_jsiiObject



2793
2794
2795
2796
2797
2798
2799
2800
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2793

def to_jsii
  result = {}
  result.merge!({
    "attributeName" => @attribute_name,
    "attributeValue" => @attribute_value,
  })
  result.compact
end