Class: AWSCDK::AppFlow::CfnConnectorProfile::CustomConnectorProfilePropertiesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppFlow::CfnConnectorProfile::CustomConnectorProfilePropertiesProperty
- Defined in:
- app_flow/cfn_connector_profile.rb
Overview
The profile properties required by the custom connector.
Instance Attribute Summary collapse
-
#o_auth2_properties ⇒ AWSCDK::IResolvable, ...
readonly
The OAuth 2.0 properties required for OAuth 2.0 authentication.
-
#profile_properties ⇒ AWSCDK::IResolvable, ...
readonly
A map of properties that are required to create a profile for the custom connector.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(o_auth2_properties: nil, profile_properties: nil) ⇒ CustomConnectorProfilePropertiesProperty
constructor
A new instance of CustomConnectorProfilePropertiesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(o_auth2_properties: nil, profile_properties: nil) ⇒ CustomConnectorProfilePropertiesProperty
Returns a new instance of CustomConnectorProfilePropertiesProperty.
1283 1284 1285 1286 1287 1288 |
# File 'app_flow/cfn_connector_profile.rb', line 1283 def initialize(o_auth2_properties: nil, profile_properties: nil) @o_auth2_properties = o_auth2_properties.is_a?(Hash) ? ::AWSCDK::AppFlow::CfnConnectorProfile::OAuth2PropertiesProperty.new(**o_auth2_properties.transform_keys(&:to_sym)) : o_auth2_properties Jsii::Type.check_type(@o_auth2_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBmbG93LkNmbkNvbm5lY3RvclByb2ZpbGUuT0F1dGgyUHJvcGVydGllc1Byb3BlcnR5In1dfX0=")), "oAuth2Properties") unless @o_auth2_properties.nil? @profile_properties = profile_properties Jsii::Type.check_type(@profile_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsicHJpbWl0aXZlIjoic3RyaW5nIn0sImtpbmQiOiJtYXAifX1dfX0=")), "profileProperties") unless @profile_properties.nil? end |
Instance Attribute Details
#o_auth2_properties ⇒ AWSCDK::IResolvable, ... (readonly)
The OAuth 2.0 properties required for OAuth 2.0 authentication.
1294 1295 1296 |
# File 'app_flow/cfn_connector_profile.rb', line 1294 def o_auth2_properties @o_auth2_properties end |
#profile_properties ⇒ AWSCDK::IResolvable, ... (readonly)
A map of properties that are required to create a profile for the custom connector.
1299 1300 1301 |
# File 'app_flow/cfn_connector_profile.rb', line 1299 def profile_properties @profile_properties end |
Class Method Details
.jsii_properties ⇒ Object
1301 1302 1303 1304 1305 1306 |
# File 'app_flow/cfn_connector_profile.rb', line 1301 def self.jsii_properties { :o_auth2_properties => "oAuth2Properties", :profile_properties => "profileProperties", } end |
Instance Method Details
#to_jsii ⇒ Object
1308 1309 1310 1311 1312 1313 1314 1315 |
# File 'app_flow/cfn_connector_profile.rb', line 1308 def to_jsii result = {} result.merge!({ "oAuth2Properties" => @o_auth2_properties, "profileProperties" => @profile_properties, }) result.compact end |