Class: AWSCDK::BedrockAgentCore::CfnGateway::GatewayProtocolConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnGateway::GatewayProtocolConfigurationProperty
- Defined in:
- bedrock_agent_core/cfn_gateway.rb
Overview
The protocol configuration.
Instance Attribute Summary collapse
-
#mcp ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnGateway::MCPGatewayConfigurationProperty
readonly
The gateway protocol configuration for MCP.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mcp:) ⇒ GatewayProtocolConfigurationProperty
constructor
A new instance of GatewayProtocolConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(mcp:) ⇒ GatewayProtocolConfigurationProperty
Returns a new instance of GatewayProtocolConfigurationProperty.
1039 1040 1041 1042 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1039 def initialize(mcp:) @mcp = mcp.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnGateway::MCPGatewayConfigurationProperty.new(**mcp.transform_keys(&:to_sym)) : mcp Jsii::Type.check_type(@mcp, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkdhdGV3YXkuTUNQR2F0ZXdheUNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "mcp") end |
Instance Attribute Details
#mcp ⇒ AWSCDK::IResolvable, AWSCDK::BedrockAgentCore::CfnGateway::MCPGatewayConfigurationProperty (readonly)
The gateway protocol configuration for MCP.
1048 1049 1050 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1048 def mcp @mcp end |
Class Method Details
.jsii_properties ⇒ Object
1050 1051 1052 1053 1054 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1050 def self.jsii_properties { :mcp => "mcp", } end |
Instance Method Details
#to_jsii ⇒ Object
1056 1057 1058 1059 1060 1061 1062 |
# File 'bedrock_agent_core/cfn_gateway.rb', line 1056 def to_jsii result = {} result.merge!({ "mcp" => @mcp, }) result.compact end |