Class: AWSCDK::BedrockAgentCore::CfnPaymentManager::CustomClaimValidationTypeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnPaymentManager::CustomClaimValidationTypeProperty
- Defined in:
- bedrock_agent_core/cfn_payment_manager.rb
Overview
Instance Attribute Summary collapse
- #authorizing_claim_match_value ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnPaymentManager::AuthorizingClaimMatchValueTypeProperty readonly
- #inbound_token_claim_name ⇒ String readonly
- #inbound_token_claim_value_type ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(authorizing_claim_match_value:, inbound_token_claim_name:, inbound_token_claim_value_type:) ⇒ CustomClaimValidationTypeProperty
constructor
A new instance of CustomClaimValidationTypeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(authorizing_claim_match_value:, inbound_token_claim_name:, inbound_token_claim_value_type:) ⇒ CustomClaimValidationTypeProperty
Returns a new instance of CustomClaimValidationTypeProperty.
718 719 720 721 722 723 724 725 |
# File 'bedrock_agent_core/cfn_payment_manager.rb', line 718 def initialize(authorizing_claim_match_value:, inbound_token_claim_name:, inbound_token_claim_value_type:) @authorizing_claim_match_value = .is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnPaymentManager::AuthorizingClaimMatchValueTypeProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@authorizing_claim_match_value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmblBheW1lbnRNYW5hZ2VyLkF1dGhvcml6aW5nQ2xhaW1NYXRjaFZhbHVlVHlwZVByb3BlcnR5In1dfX0=")), "authorizingClaimMatchValue") @inbound_token_claim_name = inbound_token_claim_name Jsii::Type.check_type(@inbound_token_claim_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inboundTokenClaimName") @inbound_token_claim_value_type = inbound_token_claim_value_type Jsii::Type.check_type(@inbound_token_claim_value_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inboundTokenClaimValueType") end |
Instance Attribute Details
#authorizing_claim_match_value ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnPaymentManager::AuthorizingClaimMatchValueTypeProperty (readonly)
729 730 731 |
# File 'bedrock_agent_core/cfn_payment_manager.rb', line 729 def @authorizing_claim_match_value end |
#inbound_token_claim_name ⇒ String (readonly)
732 733 734 |
# File 'bedrock_agent_core/cfn_payment_manager.rb', line 732 def inbound_token_claim_name @inbound_token_claim_name end |
#inbound_token_claim_value_type ⇒ String (readonly)
735 736 737 |
# File 'bedrock_agent_core/cfn_payment_manager.rb', line 735 def inbound_token_claim_value_type @inbound_token_claim_value_type end |
Class Method Details
.jsii_properties ⇒ Object
737 738 739 740 741 742 743 |
# File 'bedrock_agent_core/cfn_payment_manager.rb', line 737 def self.jsii_properties { :authorizing_claim_match_value => "authorizingClaimMatchValue", :inbound_token_claim_name => "inboundTokenClaimName", :inbound_token_claim_value_type => "inboundTokenClaimValueType", } end |
Instance Method Details
#to_jsii ⇒ Object
745 746 747 748 749 750 751 752 753 |
# File 'bedrock_agent_core/cfn_payment_manager.rb', line 745 def to_jsii result = {} result.merge!({ "authorizingClaimMatchValue" => @authorizing_claim_match_value, "inboundTokenClaimName" => @inbound_token_claim_name, "inboundTokenClaimValueType" => @inbound_token_claim_value_type, }) result.compact end |