Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::SnowflakeRoleConfigurationProperty

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

Overview

Optionally configure a Snowflake role.

Otherwise the default user role will be used.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled: nil, snowflake_role: nil) ⇒ SnowflakeRoleConfigurationProperty

Returns a new instance of SnowflakeRoleConfigurationProperty.

Parameters:

  • enabled (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    Enable Snowflake role.

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

    The Snowflake role you wish to configure.



4829
4830
4831
4832
4833
4834
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 4829

def initialize(enabled: nil, snowflake_role: nil)
  @enabled = enabled
  Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil?
  @snowflake_role = snowflake_role
  Jsii::Type.check_type(@snowflake_role, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "snowflakeRole") unless @snowflake_role.nil?
end

Instance Attribute Details

#enabledBoolean, ... (readonly)

Enable Snowflake role.



4840
4841
4842
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 4840

def enabled
  @enabled
end

#snowflake_roleString? (readonly)

The Snowflake role you wish to configure.



4845
4846
4847
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 4845

def snowflake_role
  @snowflake_role
end

Class Method Details

.jsii_propertiesObject



4847
4848
4849
4850
4851
4852
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 4847

def self.jsii_properties
  {
    :enabled => "enabled",
    :snowflake_role => "snowflakeRole",
  }
end

Instance Method Details

#to_jsiiObject



4854
4855
4856
4857
4858
4859
4860
4861
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 4854

def to_jsii
  result = {}
  result.merge!({
    "enabled" => @enabled,
    "snowflakeRole" => @snowflake_role,
  })
  result.compact
end