Class: AWSCDK::BedrockAgentCore::CfnHarness::CustomClaimValidationTypeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnHarness::CustomClaimValidationTypeProperty
- Defined in:
- bedrock_agent_core/cfn_harness.rb
Overview
Instance Attribute Summary collapse
- #authorizing_claim_match_value ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnHarness::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.
927 928 929 930 931 932 933 934 |
# File 'bedrock_agent_core/cfn_harness.rb', line 927 def initialize(authorizing_claim_match_value:, inbound_token_claim_name:, inbound_token_claim_value_type:) @authorizing_claim_match_value = .is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnHarness::AuthorizingClaimMatchValueTypeProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@authorizing_claim_match_value, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkhhcm5lc3MuQXV0aG9yaXppbmdDbGFpbU1hdGNoVmFsdWVUeXBlUHJvcGVydHkifV19fQ==")), "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::CfnHarness::AuthorizingClaimMatchValueTypeProperty (readonly)
938 939 940 |
# File 'bedrock_agent_core/cfn_harness.rb', line 938 def @authorizing_claim_match_value end |
#inbound_token_claim_name ⇒ String (readonly)
941 942 943 |
# File 'bedrock_agent_core/cfn_harness.rb', line 941 def inbound_token_claim_name @inbound_token_claim_name end |
#inbound_token_claim_value_type ⇒ String (readonly)
944 945 946 |
# File 'bedrock_agent_core/cfn_harness.rb', line 944 def inbound_token_claim_value_type @inbound_token_claim_value_type end |
Class Method Details
.jsii_properties ⇒ Object
946 947 948 949 950 951 952 |
# File 'bedrock_agent_core/cfn_harness.rb', line 946 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
954 955 956 957 958 959 960 961 962 |
# File 'bedrock_agent_core/cfn_harness.rb', line 954 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 |