Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::HttpEndpointCommonAttributeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisFirehose::CfnDeliveryStream::HttpEndpointCommonAttributeProperty
- 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
-
#attribute_name ⇒ String
readonly
The name of the HTTP endpoint common attribute.
-
#attribute_value ⇒ String
readonly
The value of the HTTP endpoint common attribute.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attribute_name:, attribute_value:) ⇒ HttpEndpointCommonAttributeProperty
constructor
A new instance of HttpEndpointCommonAttributeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(attribute_name:, attribute_value:) ⇒ HttpEndpointCommonAttributeProperty
Returns a new instance of HttpEndpointCommonAttributeProperty.
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_name ⇒ String (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_value ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |