Class: AWSCDK::AppFlow::CfnConnectorProfile::ConnectorProfileConfigProperty

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

Overview

Defines the connector-specific configuration and credentials for the connector profile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(connector_profile_credentials: nil, connector_profile_properties: nil) ⇒ ConnectorProfileConfigProperty

Returns a new instance of ConnectorProfileConfigProperty.

Parameters:



758
759
760
761
762
763
# File 'app_flow/cfn_connector_profile.rb', line 758

def initialize(connector_profile_credentials: nil, connector_profile_properties: nil)
  @connector_profile_credentials = connector_profile_credentials.is_a?(Hash) ? ::AWSCDK::AppFlow::CfnConnectorProfile::ConnectorProfileCredentialsProperty.new(**connector_profile_credentials.transform_keys(&:to_sym)) : connector_profile_credentials
  Jsii::Type.check_type(@connector_profile_credentials, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBmbG93LkNmbkNvbm5lY3RvclByb2ZpbGUuQ29ubmVjdG9yUHJvZmlsZUNyZWRlbnRpYWxzUHJvcGVydHkifV19fQ==")), "connectorProfileCredentials") unless @connector_profile_credentials.nil?
  @connector_profile_properties = connector_profile_properties.is_a?(Hash) ? ::AWSCDK::AppFlow::CfnConnectorProfile::ConnectorProfilePropertiesProperty.new(**connector_profile_properties.transform_keys(&:to_sym)) : connector_profile_properties
  Jsii::Type.check_type(@connector_profile_properties, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBmbG93LkNmbkNvbm5lY3RvclByb2ZpbGUuQ29ubmVjdG9yUHJvZmlsZVByb3BlcnRpZXNQcm9wZXJ0eSJ9XX19")), "connectorProfileProperties") unless @connector_profile_properties.nil?
end

Instance Attribute Details

#connector_profile_credentialsAWSCDK::IResolvable, ... (readonly)

The connector-specific credentials required by each connector.



769
770
771
# File 'app_flow/cfn_connector_profile.rb', line 769

def connector_profile_credentials
  @connector_profile_credentials
end

#connector_profile_propertiesAWSCDK::IResolvable, ... (readonly)

The connector-specific properties of the profile configuration.



774
775
776
# File 'app_flow/cfn_connector_profile.rb', line 774

def connector_profile_properties
  @connector_profile_properties
end

Class Method Details

.jsii_propertiesObject



776
777
778
779
780
781
# File 'app_flow/cfn_connector_profile.rb', line 776

def self.jsii_properties
  {
    :connector_profile_credentials => "connectorProfileCredentials",
    :connector_profile_properties => "connectorProfileProperties",
  }
end

Instance Method Details

#to_jsiiObject



783
784
785
786
787
788
789
790
# File 'app_flow/cfn_connector_profile.rb', line 783

def to_jsii
  result = {}
  result.merge!({
    "connectorProfileCredentials" => @connector_profile_credentials,
    "connectorProfileProperties" => @connector_profile_properties,
  })
  result.compact
end