Class: AWSCDK::KinesisFirehose::SchemaConfigurationBindOptions
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisFirehose::SchemaConfigurationBindOptions
- Defined in:
- kinesis_firehose/schema_configuration_bind_options.rb
Overview
Options when binding a SchemaConfig to a Destination.
Instance Attribute Summary collapse
-
#role ⇒ AWSCDK::IAM::IRole
readonly
The IAM Role that will be used by the Delivery Stream for access to the Glue data catalog for record format conversion.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(role:) ⇒ SchemaConfigurationBindOptions
constructor
A new instance of SchemaConfigurationBindOptions.
- #to_jsii ⇒ Object
Constructor Details
#initialize(role:) ⇒ SchemaConfigurationBindOptions
Returns a new instance of SchemaConfigurationBindOptions.
8 9 10 11 |
# File 'kinesis_firehose/schema_configuration_bind_options.rb', line 8 def initialize(role:) @role = role Jsii::Type.check_type(@role, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaWFtLklSb2xlIn0=")), "role") end |
Instance Attribute Details
#role ⇒ AWSCDK::IAM::IRole (readonly)
The IAM Role that will be used by the Delivery Stream for access to the Glue data catalog for record format conversion.
16 17 18 |
# File 'kinesis_firehose/schema_configuration_bind_options.rb', line 16 def role @role end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'kinesis_firehose/schema_configuration_bind_options.rb', line 18 def self.jsii_properties { :role => "role", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'kinesis_firehose/schema_configuration_bind_options.rb', line 24 def to_jsii result = {} result.merge!({ "role" => @role, }) result.compact end |