Class: AWSCDK::BedrockAgentCore::CfnGatewayTarget::APIGatewayToolFilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGatewayTarget::APIGatewayToolFilterProperty
- Defined in:
- bedrock_agent_core/cfn_gateway_target.rb
Overview
Instance Attribute Summary collapse
- #filter_path ⇒ String readonly
- #methods ⇒ Array<String> readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(filter_path:, methods:) ⇒ APIGatewayToolFilterProperty
constructor
A new instance of APIGatewayToolFilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(filter_path:, methods:) ⇒ APIGatewayToolFilterProperty
Returns a new instance of APIGatewayToolFilterProperty.
724 725 726 727 728 729 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 724 def initialize(filter_path:, methods:) @filter_path = filter_path Jsii::Type.check_type(@filter_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "filterPath") @methods = methods Jsii::Type.check_type(@methods, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "methods") end |
Instance Attribute Details
#filter_path ⇒ String (readonly)
733 734 735 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 733 def filter_path @filter_path end |
#methods ⇒ Array<String> (readonly)
736 737 738 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 736 def methods @methods end |
Class Method Details
.jsii_properties ⇒ Object
738 739 740 741 742 743 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 738 def self.jsii_properties { :filter_path => "filterPath", :methods => "methods", } end |
Instance Method Details
#to_jsii ⇒ Object
745 746 747 748 749 750 751 752 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 745 def to_jsii result = {} result.merge!({ "filterPath" => @filter_path, "methods" => @methods, }) result.compact end |