Class: AWSCDK::AppFlow::CfnConnectorProfile::SnowflakeConnectorProfileCredentialsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnConnectorProfile::SnowflakeConnectorProfileCredentialsProperty
- Defined in:
- app_flow/cfn_connector_profile.rb
Overview
The connector-specific profile credentials required when using Snowflake.
Instance Attribute Summary collapse
-
#password ⇒ String
readonly
The password that corresponds to the user name.
-
#username ⇒ String
readonly
The name of the user.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(password:, username:) ⇒ SnowflakeConnectorProfileCredentialsProperty
constructor
A new instance of SnowflakeConnectorProfileCredentialsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(password:, username:) ⇒ SnowflakeConnectorProfileCredentialsProperty
Returns a new instance of SnowflakeConnectorProfileCredentialsProperty.
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
#password ⇒ String (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 |
#username ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |