You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeBuild::Types::CloudWatchLogsConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeBuild::Types::CloudWatchLogsConfig
- Defined in:
- (unknown)
Overview
When passing CloudWatchLogsConfig as input to an Aws::Client method, you can use a vanilla Hash:
{
status: "ENABLED", # required, accepts ENABLED, DISABLED
group_name: "String",
stream_name: "String",
}
Information about Amazon CloudWatch Logs for a build project.
Returned by:
Instance Attribute Summary collapse
-
#group_name ⇒ String
The group name of the logs in Amazon CloudWatch Logs.
-
#status ⇒ String
The current status of the logs in Amazon CloudWatch Logs for a build project.
-
#stream_name ⇒ String
The prefix of the stream name of the Amazon CloudWatch Logs.
Instance Attribute Details
#group_name ⇒ String
The group name of the logs in Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
#status ⇒ String
The current status of the logs in Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED
: Amazon CloudWatch Logs are enabled for this build project.DISABLED
: Amazon CloudWatch Logs are not enabled for this build project.Possible values:
- ENABLED
- DISABLED
#stream_name ⇒ String
The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.