Class: AWSCDK::KinesisFirehose::SchemaConfigurationBindOptions

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

Overview

Options when binding a SchemaConfig to a Destination.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(role:) ⇒ SchemaConfigurationBindOptions

Returns a new instance of SchemaConfigurationBindOptions.

Parameters:

  • role (AWSCDK::IAM::IRole)

    The IAM Role that will be used by the Delivery Stream for access to the Glue data catalog for record format conversion.



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

#roleAWSCDK::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.

Returns:



16
17
18
# File 'kinesis_firehose/schema_configuration_bind_options.rb', line 16

def role
  @role
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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