Class: AWSCDK::BedrockAgentCore::CfnPaymentManagerProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnPaymentManagerProps
- Defined in:
- bedrock_agent_core/cfn_payment_manager_props.rb
Overview
Properties for defining a CfnPaymentManager.
Instance Attribute Summary collapse
- #authorizer_configuration ⇒ AWSCDK::IResolvable, ... readonly
- #authorizer_type ⇒ String readonly
-
#description ⇒ String?
readonly
A description of the payment manager.
-
#name ⇒ String
readonly
The name of the payment manager.
-
#role_arn ⇒ String
readonly
The ARN of the IAM role for the payment manager.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
Tags to assign to the payment manager.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(authorizer_type:, name:, role_arn:, authorizer_configuration: nil, description: nil, tags: nil) ⇒ CfnPaymentManagerProps
constructor
A new instance of CfnPaymentManagerProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(authorizer_type:, name:, role_arn:, authorizer_configuration: nil, description: nil, tags: nil) ⇒ CfnPaymentManagerProps
Returns a new instance of CfnPaymentManagerProps.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'bedrock_agent_core/cfn_payment_manager_props.rb', line 15 def initialize(authorizer_type:, name:, role_arn:, authorizer_configuration: nil, description: nil, tags: nil) @authorizer_type = Jsii::Type.check_type(@authorizer_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "authorizerType") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") @authorizer_configuration = .is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnPaymentManager::AuthorizerConfigurationProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@authorizer_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmblBheW1lbnRNYW5hZ2VyLkF1dGhvcml6ZXJDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "authorizerConfiguration") unless @authorizer_configuration.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#authorizer_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
45 46 47 |
# File 'bedrock_agent_core/cfn_payment_manager_props.rb', line 45 def @authorizer_configuration end |
#authorizer_type ⇒ String (readonly)
32 33 34 |
# File 'bedrock_agent_core/cfn_payment_manager_props.rb', line 32 def @authorizer_type end |
#description ⇒ String? (readonly)
A description of the payment manager.
50 51 52 |
# File 'bedrock_agent_core/cfn_payment_manager_props.rb', line 50 def description @description end |
#name ⇒ String (readonly)
The name of the payment manager.
37 38 39 |
# File 'bedrock_agent_core/cfn_payment_manager_props.rb', line 37 def name @name end |
#role_arn ⇒ String (readonly)
The ARN of the IAM role for the payment manager.
42 43 44 |
# File 'bedrock_agent_core/cfn_payment_manager_props.rb', line 42 def role_arn @role_arn end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
Tags to assign to the payment manager.
55 56 57 |
# File 'bedrock_agent_core/cfn_payment_manager_props.rb', line 55 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
57 58 59 60 61 62 63 64 65 66 |
# File 'bedrock_agent_core/cfn_payment_manager_props.rb', line 57 def self.jsii_properties { :authorizer_type => "authorizerType", :name => "name", :role_arn => "roleArn", :authorizer_configuration => "authorizerConfiguration", :description => "description", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'bedrock_agent_core/cfn_payment_manager_props.rb', line 68 def to_jsii result = {} result.merge!({ "authorizerType" => @authorizer_type, "name" => @name, "roleArn" => @role_arn, "authorizerConfiguration" => @authorizer_configuration, "description" => @description, "tags" => @tags, }) result.compact end |