Class: AWSCDK::AppFlow::CfnConnectorProfile::CustomAuthCredentialsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnConnectorProfile::CustomAuthCredentialsProperty
- Defined in:
- app_flow/cfn_connector_profile.rb
Overview
The custom credentials required for custom authentication.
Instance Attribute Summary collapse
-
#credentials_map ⇒ AWSCDK::IResolvable, ...
readonly
A map that holds custom authentication credentials.
-
#custom_authentication_type ⇒ String
readonly
The custom authentication type that the connector uses.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_authentication_type:, credentials_map: nil) ⇒ CustomAuthCredentialsProperty
constructor
A new instance of CustomAuthCredentialsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_authentication_type:, credentials_map: nil) ⇒ CustomAuthCredentialsProperty
Returns a new instance of CustomAuthCredentialsProperty.
1167 1168 1169 1170 1171 1172 |
# File 'app_flow/cfn_connector_profile.rb', line 1167 def initialize(custom_authentication_type:, credentials_map: nil) @custom_authentication_type = custom_authentication_type Jsii::Type.check_type(@custom_authentication_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customAuthenticationType") @credentials_map = credentials_map Jsii::Type.check_type(@credentials_map, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "credentialsMap") unless @credentials_map.nil? end |
Instance Attribute Details
#credentials_map ⇒ AWSCDK::IResolvable, ... (readonly)
A map that holds custom authentication credentials.
1183 1184 1185 |
# File 'app_flow/cfn_connector_profile.rb', line 1183 def credentials_map @credentials_map end |
#custom_authentication_type ⇒ String (readonly)
The custom authentication type that the connector uses.
1178 1179 1180 |
# File 'app_flow/cfn_connector_profile.rb', line 1178 def custom_authentication_type @custom_authentication_type end |
Class Method Details
.jsii_properties ⇒ Object
1185 1186 1187 1188 1189 1190 |
# File 'app_flow/cfn_connector_profile.rb', line 1185 def self.jsii_properties { :custom_authentication_type => "customAuthenticationType", :credentials_map => "credentialsMap", } end |
Instance Method Details
#to_jsii ⇒ Object
1192 1193 1194 1195 1196 1197 1198 1199 |
# File 'app_flow/cfn_connector_profile.rb', line 1192 def to_jsii result = {} result.merge!({ "customAuthenticationType" => @custom_authentication_type, "credentialsMap" => @credentials_map, }) result.compact end |