Class: AWSCDK::AppFlow::CfnConnectorProfile::RedshiftConnectorProfileCredentialsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnConnectorProfile::RedshiftConnectorProfileCredentialsProperty
- Defined in:
- app_flow/cfn_connector_profile.rb
Overview
The connector-specific profile credentials required when using Amazon Redshift.
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: nil, username: nil) ⇒ RedshiftConnectorProfileCredentialsProperty
constructor
A new instance of RedshiftConnectorProfileCredentialsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(password: nil, username: nil) ⇒ RedshiftConnectorProfileCredentialsProperty
Returns a new instance of RedshiftConnectorProfileCredentialsProperty.
2101 2102 2103 2104 2105 2106 |
# File 'app_flow/cfn_connector_profile.rb', line 2101 def initialize(password: nil, username: nil) @password = password Jsii::Type.check_type(@password, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "password") unless @password.nil? @username = username Jsii::Type.check_type(@username, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "username") unless @username.nil? end |
Instance Attribute Details
#password ⇒ String? (readonly)
The password that corresponds to the user name.
2112 2113 2114 |
# File 'app_flow/cfn_connector_profile.rb', line 2112 def password @password end |
#username ⇒ String? (readonly)
The name of the user.
2117 2118 2119 |
# File 'app_flow/cfn_connector_profile.rb', line 2117 def username @username end |
Class Method Details
.jsii_properties ⇒ Object
2119 2120 2121 2122 2123 2124 |
# File 'app_flow/cfn_connector_profile.rb', line 2119 def self.jsii_properties { :password => "password", :username => "username", } end |
Instance Method Details
#to_jsii ⇒ Object
2126 2127 2128 2129 2130 2131 2132 2133 |
# File 'app_flow/cfn_connector_profile.rb', line 2126 def to_jsii result = {} result.merge!({ "password" => @password, "username" => @username, }) result.compact end |