Class: AWSCDK::BedrockAgentCore::CfnPaymentConnectorProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnPaymentConnectorProps
- Defined in:
- bedrock_agent_core/cfn_payment_connector_props.rb
Overview
Properties for defining a CfnPaymentConnector.
Instance Attribute Summary collapse
-
#connector_name ⇒ String
readonly
The name of the payment connector.
- #connector_type ⇒ String readonly
-
#credential_provider_configurations ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnPaymentConnector::CredentialsProviderConfigurationProperty>
readonly
The credential provider configurations for the connector.
-
#description ⇒ String?
readonly
A description of the payment connector.
-
#payment_manager_id ⇒ String
readonly
The identifier of the parent payment manager.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connector_name:, connector_type:, credential_provider_configurations:, payment_manager_id:, description: nil) ⇒ CfnPaymentConnectorProps
constructor
A new instance of CfnPaymentConnectorProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connector_name:, connector_type:, credential_provider_configurations:, payment_manager_id:, description: nil) ⇒ CfnPaymentConnectorProps
Returns a new instance of CfnPaymentConnectorProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'bedrock_agent_core/cfn_payment_connector_props.rb', line 14 def initialize(connector_name:, connector_type:, credential_provider_configurations:, payment_manager_id:, description: nil) @connector_name = connector_name Jsii::Type.check_type(@connector_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectorName") @connector_type = connector_type Jsii::Type.check_type(@connector_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectorType") @credential_provider_configurations = credential_provider_configurations Jsii::Type.check_type(@credential_provider_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfYmVkcm9ja2FnZW50Y29yZS5DZm5QYXltZW50Q29ubmVjdG9yLkNyZWRlbnRpYWxzUHJvdmlkZXJDb25maWd1cmF0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "credentialProviderConfigurations") @payment_manager_id = payment_manager_id Jsii::Type.check_type(@payment_manager_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "paymentManagerId") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? end |
Instance Attribute Details
#connector_name ⇒ String (readonly)
The name of the payment connector.
31 32 33 |
# File 'bedrock_agent_core/cfn_payment_connector_props.rb', line 31 def connector_name @connector_name end |
#connector_type ⇒ String (readonly)
34 35 36 |
# File 'bedrock_agent_core/cfn_payment_connector_props.rb', line 34 def connector_type @connector_type end |
#credential_provider_configurations ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnPaymentConnector::CredentialsProviderConfigurationProperty> (readonly)
The credential provider configurations for the connector.
39 40 41 |
# File 'bedrock_agent_core/cfn_payment_connector_props.rb', line 39 def credential_provider_configurations @credential_provider_configurations end |
#description ⇒ String? (readonly)
A description of the payment connector.
49 50 51 |
# File 'bedrock_agent_core/cfn_payment_connector_props.rb', line 49 def description @description end |
#payment_manager_id ⇒ String (readonly)
The identifier of the parent payment manager.
44 45 46 |
# File 'bedrock_agent_core/cfn_payment_connector_props.rb', line 44 def payment_manager_id @payment_manager_id end |
Class Method Details
.jsii_properties ⇒ Object
51 52 53 54 55 56 57 58 59 |
# File 'bedrock_agent_core/cfn_payment_connector_props.rb', line 51 def self.jsii_properties { :connector_name => "connectorName", :connector_type => "connectorType", :credential_provider_configurations => "credentialProviderConfigurations", :payment_manager_id => "paymentManagerId", :description => "description", } end |
Instance Method Details
#to_jsii ⇒ Object
61 62 63 64 65 66 67 68 69 70 71 |
# File 'bedrock_agent_core/cfn_payment_connector_props.rb', line 61 def to_jsii result = {} result.merge!({ "connectorName" => @connector_name, "connectorType" => @connector_type, "credentialProviderConfigurations" => @credential_provider_configurations, "paymentManagerId" => @payment_manager_id, "description" => @description, }) result.compact end |