Class: AWSCDK::BedrockAgentCore::CfnPaymentManager::CustomClaimValidationTypeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_payment_manager.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(authorizing_claim_match_value:, inbound_token_claim_name:, inbound_token_claim_value_type:) ⇒ CustomClaimValidationTypeProperty

Returns a new instance of CustomClaimValidationTypeProperty.

Parameters:



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 = authorizing_claim_match_value.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnPaymentManager::AuthorizingClaimMatchValueTypeProperty.new(**authorizing_claim_match_value.transform_keys(&:to_sym)) : authorizing_claim_match_value
  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

#inbound_token_claim_nameString (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_typeString (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_propertiesObject



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_jsiiObject



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