Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::HttpEndpointRequestConfigurationProperty

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

Overview

The configuration of the HTTP endpoint request.

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(common_attributes: nil, content_encoding: nil) ⇒ HttpEndpointRequestConfigurationProperty

Returns a new instance of HttpEndpointRequestConfigurationProperty.

Parameters:



2997
2998
2999
3000
3001
3002
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2997

def initialize(common_attributes: nil, content_encoding: nil)
  @common_attributes = common_attributes
  Jsii::Type.check_type(@common_attributes, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfa2luZXNpc2ZpcmVob3NlLkNmbkRlbGl2ZXJ5U3RyZWFtLkh0dHBFbmRwb2ludENvbW1vbkF0dHJpYnV0ZVByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "commonAttributes") unless @common_attributes.nil?
  @content_encoding = content_encoding
  Jsii::Type.check_type(@content_encoding, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "contentEncoding") unless @content_encoding.nil?
end

Instance Attribute Details

#common_attributesAWSCDK::IResolvable, ... (readonly)

Describes the metadata sent to the HTTP endpoint destination.



3008
3009
3010
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3008

def common_attributes
  @common_attributes
end

#content_encodingString? (readonly)

Kinesis Data Firehose uses the content encoding to compress the body of a request before sending the request to the destination.

For more information, see Content-Encoding in MDN Web Docs, the official Mozilla documentation.



3015
3016
3017
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3015

def content_encoding
  @content_encoding
end

Class Method Details

.jsii_propertiesObject



3017
3018
3019
3020
3021
3022
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3017

def self.jsii_properties
  {
    :common_attributes => "commonAttributes",
    :content_encoding => "contentEncoding",
  }
end

Instance Method Details

#to_jsiiObject



3024
3025
3026
3027
3028
3029
3030
3031
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3024

def to_jsii
  result = {}
  result.merge!({
    "commonAttributes" => @common_attributes,
    "contentEncoding" => @content_encoding,
  })
  result.compact
end