Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::HttpEndpointConfigurationProperty

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

Overview

Describes the configuration of the HTTP endpoint to which Kinesis Firehose delivers data.

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(url:, access_key: nil, name: nil) ⇒ HttpEndpointConfigurationProperty

Returns a new instance of HttpEndpointConfigurationProperty.

Parameters:

  • url (String)

    The URL of the HTTP endpoint selected as the destination.

  • access_key (String, nil) (defaults to: nil)

    The access key required for Kinesis Firehose to authenticate with the HTTP endpoint selected as the destination.

  • name (String, nil) (defaults to: nil)

    The name of the HTTP endpoint selected as the destination.



2814
2815
2816
2817
2818
2819
2820
2821
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2814

def initialize(url:, access_key: nil, name: nil)
  @url = url
  Jsii::Type.check_type(@url, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "url")
  @access_key = access_key
  Jsii::Type.check_type(@access_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "accessKey") unless @access_key.nil?
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
end

Instance Attribute Details

#access_keyString? (readonly)

The access key required for Kinesis Firehose to authenticate with the HTTP endpoint selected as the destination.



2832
2833
2834
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2832

def access_key
  @access_key
end

#nameString? (readonly)

The name of the HTTP endpoint selected as the destination.



2837
2838
2839
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2837

def name
  @name
end

#urlString (readonly)

The URL of the HTTP endpoint selected as the destination.



2827
2828
2829
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2827

def url
  @url
end

Class Method Details

.jsii_propertiesObject



2839
2840
2841
2842
2843
2844
2845
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2839

def self.jsii_properties
  {
    :url => "url",
    :access_key => "accessKey",
    :name => "name",
  }
end

Instance Method Details

#to_jsiiObject



2847
2848
2849
2850
2851
2852
2853
2854
2855
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 2847

def to_jsii
  result = {}
  result.merge!({
    "url" => @url,
    "accessKey" => @access_key,
    "name" => @name,
  })
  result.compact
end