Class: AWSCDK::AppFlow::CfnConnectorProfile::SnowflakeConnectorProfileCredentialsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_flow/cfn_connector_profile.rb

Overview

The connector-specific profile credentials required when using Snowflake.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(password:, username:) ⇒ SnowflakeConnectorProfileCredentialsProperty

Returns a new instance of SnowflakeConnectorProfileCredentialsProperty.

Parameters:

  • password (String)

    The password that corresponds to the user name.

  • username (String)

    The name of the user.



2789
2790
2791
2792
2793
2794
# File 'app_flow/cfn_connector_profile.rb', line 2789

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

Instance Attribute Details

#passwordString (readonly)

The password that corresponds to the user name.



2800
2801
2802
# File 'app_flow/cfn_connector_profile.rb', line 2800

def password
  @password
end

#usernameString (readonly)

The name of the user.



2805
2806
2807
# File 'app_flow/cfn_connector_profile.rb', line 2805

def username
  @username
end

Class Method Details

.jsii_propertiesObject



2807
2808
2809
2810
2811
2812
# File 'app_flow/cfn_connector_profile.rb', line 2807

def self.jsii_properties
  {
    :password => "password",
    :username => "username",
  }
end

Instance Method Details

#to_jsiiObject



2814
2815
2816
2817
2818
2819
2820
2821
# File 'app_flow/cfn_connector_profile.rb', line 2814

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