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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#group_nameString

The group name of the logs in Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.

Returns:

  • (String)

    The group name of the logs in Amazon CloudWatch Logs.

#statusString

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

Returns:

  • (String)

    The current status of the logs in Amazon CloudWatch Logs for a build project.

#stream_nameString

The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.

Returns:

  • (String)

    The prefix of the stream name of the Amazon CloudWatch Logs.