Class: AWSCDK::BedrockAgentCore::ProtocolType
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::BedrockAgentCore::ProtocolType
- Defined in:
- bedrock_agent_core/protocol_type.rb
Overview
Protocol configuration for Agent Runtime.
Class Method Summary collapse
-
.A2_A ⇒ AWSCDK::BedrockAgentCore::ProtocolType
A2A protocol.
-
.AGUI ⇒ AWSCDK::BedrockAgentCore::ProtocolType
Agent User Interaction (AGUI) protocol.
-
.HTTP ⇒ AWSCDK::BedrockAgentCore::ProtocolType
HTTP protocol.
- .jsii_overridable_methods ⇒ Object
-
.MCP ⇒ AWSCDK::BedrockAgentCore::ProtocolType
Model Context Protocol.
-
.of(value) ⇒ AWSCDK::BedrockAgentCore::ProtocolType
Use a custom protocol type not yet defined in this class.
Instance Method Summary collapse
-
#initialize(*args) ⇒ ProtocolType
constructor
A new instance of ProtocolType.
-
#to_string ⇒ String
Returns the string value.
-
#value ⇒ String
The protocol type string value.
Constructor Details
#initialize(*args) ⇒ ProtocolType
Returns a new instance of ProtocolType.
10 11 12 |
# File 'bedrock_agent_core/protocol_type.rb', line 10 def initialize(*args) raise NoMethodError, "aws-cdk-lib.aws_bedrockagentcore.ProtocolType does not have a visible constructor; use the provided factory methods" end |
Class Method Details
.A2_A ⇒ AWSCDK::BedrockAgentCore::ProtocolType
A2A protocol.
33 34 35 |
# File 'bedrock_agent_core/protocol_type.rb', line 33 def self.A2_A() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.ProtocolType", "A2A") end |
.AGUI ⇒ AWSCDK::BedrockAgentCore::ProtocolType
Agent User Interaction (AGUI) protocol.
40 41 42 |
# File 'bedrock_agent_core/protocol_type.rb', line 40 def self.AGUI() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.ProtocolType", "AGUI") end |
.HTTP ⇒ AWSCDK::BedrockAgentCore::ProtocolType
HTTP protocol.
47 48 49 |
# File 'bedrock_agent_core/protocol_type.rb', line 47 def self.HTTP() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.ProtocolType", "HTTP") end |
.jsii_overridable_methods ⇒ Object
14 15 16 17 18 19 |
# File 'bedrock_agent_core/protocol_type.rb', line 14 def self.jsii_overridable_methods { :value => { kind: :property, name: "value", is_optional: false }, :to_string => { kind: :method, name: "toString", is_optional: false }, } end |
.MCP ⇒ AWSCDK::BedrockAgentCore::ProtocolType
Model Context Protocol.
54 55 56 |
# File 'bedrock_agent_core/protocol_type.rb', line 54 def self.MCP() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.ProtocolType", "MCP") end |
.of(value) ⇒ AWSCDK::BedrockAgentCore::ProtocolType
Use a custom protocol type not yet defined in this class.
25 26 27 28 |
# File 'bedrock_agent_core/protocol_type.rb', line 25 def self.of(value) Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") Jsii::Kernel.instance.call_static("aws-cdk-lib.aws_bedrockagentcore.ProtocolType", "of", [value]) end |
Instance Method Details
#to_string ⇒ String
Returns the string value.
68 69 70 |
# File 'bedrock_agent_core/protocol_type.rb', line 68 def to_string() jsii_call_method("toString", []) end |
#value ⇒ String
The protocol type string value.
61 62 63 |
# File 'bedrock_agent_core/protocol_type.rb', line 61 def value() jsii_get_property("value") end |