Class: AWSCDK::BedrockAgentCore::CfnGateway::ClaimMatchValueTypeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGateway::ClaimMatchValueTypeProperty
- Defined in:
- bedrock_agent_core/cfn_gateway.rb
Overview
The value or values in the custom claim to match for.
Instance Attribute Summary collapse
-
#match_value_string ⇒ String?
readonly
The string value to match for.
-
#match_value_string_list ⇒ Array<String>?
readonly
The list of strings to check for a match.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(match_value_string: nil, match_value_string_list: nil) ⇒ ClaimMatchValueTypeProperty
constructor
A new instance of ClaimMatchValueTypeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(match_value_string: nil, match_value_string_list: nil) ⇒ ClaimMatchValueTypeProperty
Returns a new instance of ClaimMatchValueTypeProperty.
785 786 787 788 789 790 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 785 def initialize(match_value_string: nil, match_value_string_list: nil) @match_value_string = match_value_string Jsii::Type.check_type(@match_value_string, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "matchValueString") unless @match_value_string.nil? @match_value_string_list = match_value_string_list Jsii::Type.check_type(@match_value_string_list, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "matchValueStringList") unless @match_value_string_list.nil? end |
Instance Attribute Details
#match_value_string ⇒ String? (readonly)
The string value to match for.
796 797 798 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 796 def match_value_string @match_value_string end |
#match_value_string_list ⇒ Array<String>? (readonly)
The list of strings to check for a match.
801 802 803 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 801 def match_value_string_list @match_value_string_list end |
Class Method Details
.jsii_properties ⇒ Object
803 804 805 806 807 808 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 803 def self.jsii_properties { :match_value_string => "matchValueString", :match_value_string_list => "matchValueStringList", } end |
Instance Method Details
#to_jsii ⇒ Object
810 811 812 813 814 815 816 817 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 810 def to_jsii result = {} result.merge!({ "matchValueString" => @match_value_string, "matchValueStringList" => @match_value_string_list, }) result.compact end |