Class: AWSCDK::KinesisFirehose::DestinationConfig
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisFirehose::DestinationConfig
- Defined in:
- kinesis_firehose/destination_config.rb
Overview
An Amazon Data Firehose delivery stream destination configuration.
Instance Attribute Summary collapse
-
#dependables ⇒ Array<Constructs::IDependable>?
readonly
Any resources that were created by the destination when binding it to the stack that must be deployed before the delivery stream is deployed.
-
#extended_s3_destination_configuration ⇒ AWSCDK::KinesisFirehose::CfnDeliveryStream::ExtendedS3DestinationConfigurationProperty?
readonly
S3 destination configuration properties.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dependables: nil, extended_s3_destination_configuration: nil) ⇒ DestinationConfig
constructor
A new instance of DestinationConfig.
- #to_jsii ⇒ Object
Constructor Details
#initialize(dependables: nil, extended_s3_destination_configuration: nil) ⇒ DestinationConfig
Returns a new instance of DestinationConfig.
9 10 11 12 13 14 |
# File 'kinesis_firehose/destination_config.rb', line 9 def initialize(dependables: nil, extended_s3_destination_configuration: nil) @dependables = dependables Jsii::Type.check_type(@dependables, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImNvbnN0cnVjdHMuSURlcGVuZGFibGUifSwia2luZCI6ImFycmF5In19")), "dependables") unless @dependables.nil? @extended_s3_destination_configuration = extended_s3_destination_configuration.is_a?(Hash) ? ::AWSCDK::KinesisFirehose::CfnDeliveryStream::ExtendedS3DestinationConfigurationProperty.new(**extended_s3_destination_configuration.transform_keys(&:to_sym)) : extended_s3_destination_configuration Jsii::Type.check_type(@extended_s3_destination_configuration, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfa2luZXNpc2ZpcmVob3NlLkNmbkRlbGl2ZXJ5U3RyZWFtLkV4dGVuZGVkUzNEZXN0aW5hdGlvbkNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9")), "extendedS3DestinationConfiguration") unless @extended_s3_destination_configuration.nil? end |
Instance Attribute Details
#dependables ⇒ Array<Constructs::IDependable>? (readonly)
Note:
Default: []
Any resources that were created by the destination when binding it to the stack that must be deployed before the delivery stream is deployed.
20 21 22 |
# File 'kinesis_firehose/destination_config.rb', line 20 def dependables @dependables end |
#extended_s3_destination_configuration ⇒ AWSCDK::KinesisFirehose::CfnDeliveryStream::ExtendedS3DestinationConfigurationProperty? (readonly)
Note:
Default: - S3 destination is not used.
S3 destination configuration properties.
25 26 27 |
# File 'kinesis_firehose/destination_config.rb', line 25 def extended_s3_destination_configuration @extended_s3_destination_configuration end |
Class Method Details
.jsii_properties ⇒ Object
27 28 29 30 31 32 |
# File 'kinesis_firehose/destination_config.rb', line 27 def self.jsii_properties { :dependables => "dependables", :extended_s3_destination_configuration => "extendedS3DestinationConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
34 35 36 37 38 39 40 41 |
# File 'kinesis_firehose/destination_config.rb', line 34 def to_jsii result = {} result.merge!({ "dependables" => @dependables, "extendedS3DestinationConfiguration" => @extended_s3_destination_configuration, }) result.compact end |