Class: AWSCDK::AppFlow::CfnConnectorProfile::CustomAuthCredentialsProperty

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

Overview

The custom credentials required for custom authentication.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(custom_authentication_type:, credentials_map: nil) ⇒ CustomAuthCredentialsProperty

Returns a new instance of CustomAuthCredentialsProperty.

Parameters:

  • custom_authentication_type (String)

    The custom authentication type that the connector uses.

  • credentials_map (AWSCDK::IResolvable, Hash{String => String}, nil) (defaults to: nil)

    A map that holds custom authentication credentials.



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_mapAWSCDK::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_typeString (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_propertiesObject



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_jsiiObject



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