Class: AWSCDK::BedrockAgentCore::CfnHarness::CustomClaimValidationTypeProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_harness.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:



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 = authorizing_claim_match_value.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnHarness::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("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

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



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_jsiiObject



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