Class: AWSCDK::BedrockAgentCore::LogType
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::BedrockAgentCore::LogType
- Defined in:
- bedrock_agent_core/log_type.rb
Overview
Log types for AgentCore Runtime observability.
Class Method Summary collapse
-
.APPLICATION_LOGS ⇒ AWSCDK::BedrockAgentCore::LogType
Application logs for agent runtime invocations.
- .jsii_overridable_methods ⇒ Object
-
.of(value) ⇒ AWSCDK::BedrockAgentCore::LogType
A custom log type value.
-
.USAGE_LOGS ⇒ AWSCDK::BedrockAgentCore::LogType
Usage logs for session-level resource consumption.
Instance Method Summary collapse
-
#initialize(*args) ⇒ LogType
constructor
A new instance of LogType.
-
#value ⇒ String
The log type value.
Constructor Details
#initialize(*args) ⇒ LogType
Returns a new instance of LogType.
8 9 10 |
# File 'bedrock_agent_core/log_type.rb', line 8 def initialize(*args) raise NoMethodError, "aws-cdk-lib.aws_bedrockagentcore.LogType does not have a visible constructor; use the provided factory methods" end |
Class Method Details
.APPLICATION_LOGS ⇒ AWSCDK::BedrockAgentCore::LogType
Application logs for agent runtime invocations.
30 31 32 |
# File 'bedrock_agent_core/log_type.rb', line 30 def self.APPLICATION_LOGS() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.LogType", "APPLICATION_LOGS") end |
.jsii_overridable_methods ⇒ Object
12 13 14 15 16 |
# File 'bedrock_agent_core/log_type.rb', line 12 def self.jsii_overridable_methods { :value => { kind: :property, name: "value", is_optional: false }, } end |
.of(value) ⇒ AWSCDK::BedrockAgentCore::LogType
A custom log type value.
22 23 24 25 |
# File 'bedrock_agent_core/log_type.rb', line 22 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.LogType", "of", [value]) end |
.USAGE_LOGS ⇒ AWSCDK::BedrockAgentCore::LogType
Usage logs for session-level resource consumption.
37 38 39 |
# File 'bedrock_agent_core/log_type.rb', line 37 def self.USAGE_LOGS() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_bedrockagentcore.LogType", "USAGE_LOGS") end |
Instance Method Details
#value ⇒ String
The log type value.
44 45 46 |
# File 'bedrock_agent_core/log_type.rb', line 44 def value() jsii_get_property("value") end |