Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::DatabaseSourceVPCConfigurationProperty

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

Overview

The structure for details of the VPC Endpoint Service which Firehose uses to create a PrivateLink to the database.

Amazon Data Firehose is in preview release and is subject to change.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vpc_endpoint_service_name:) ⇒ DatabaseSourceVPCConfigurationProperty

Returns a new instance of DatabaseSourceVPCConfigurationProperty.

Parameters:

  • vpc_endpoint_service_name (String)

    The VPC endpoint service name which Firehose uses to create a PrivateLink to the database.



1820
1821
1822
1823
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 1820

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

Instance Attribute Details

#vpc_endpoint_service_nameString (readonly)

The VPC endpoint service name which Firehose uses to create a PrivateLink to the database.

The endpoint service must have the Firehose service principle firehose.amazonaws.com as an allowed principal on the VPC endpoint service. The VPC endpoint service name is a string that looks like com.amazonaws.vpce.<region>.<vpc-endpoint-service-id> .

Amazon Data Firehose is in preview release and is subject to change.



1833
1834
1835
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 1833

def vpc_endpoint_service_name
  @vpc_endpoint_service_name
end

Class Method Details

.jsii_propertiesObject



1835
1836
1837
1838
1839
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 1835

def self.jsii_properties
  {
    :vpc_endpoint_service_name => "vpcEndpointServiceName",
  }
end

Instance Method Details

#to_jsiiObject



1841
1842
1843
1844
1845
1846
1847
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 1841

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