Class: AWSCDK::BedrockAgentCore::CfnGatewayTarget::APIGatewayToolOverrideProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGatewayTarget::APIGatewayToolOverrideProperty
- Defined in:
- bedrock_agent_core/cfn_gateway_target.rb
Overview
Instance Attribute Summary collapse
- #description ⇒ String? readonly
- #method ⇒ String readonly
- #name ⇒ String readonly
- #path ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(method:, name:, path:, description: nil) ⇒ APIGatewayToolOverrideProperty
constructor
A new instance of APIGatewayToolOverrideProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(method:, name:, path:, description: nil) ⇒ APIGatewayToolOverrideProperty
Returns a new instance of APIGatewayToolOverrideProperty.
763 764 765 766 767 768 769 770 771 772 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 763 def initialize(method:, name:, path:, description: nil) @method = method Jsii::Type.check_type(@method, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "method") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @path = path Jsii::Type.check_type(@path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "path") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
785 786 787 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 785 def description @description end |
#method ⇒ String (readonly)
776 777 778 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 776 def method @method end |
#name ⇒ String (readonly)
779 780 781 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 779 def name @name end |
#path ⇒ String (readonly)
782 783 784 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 782 def path @path end |
Class Method Details
.jsii_properties ⇒ Object
787 788 789 790 791 792 793 794 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 787 def self.jsii_properties { :method => "method", :name => "name", :path => "path", :description => "description", } end |
Instance Method Details
#to_jsii ⇒ Object
796 797 798 799 800 801 802 803 804 805 |
# File 'bedrock_agent_core/cfn_gateway_target.rb', line 796 def to_jsii result = {} result.merge!({ "method" => @method, "name" => @name, "path" => @path, "description" => @description, }) result.compact end |