AWS::CodeBuild::Project CloudWatchLogsConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::CodeBuild::Project CloudWatchLogsConfig

CloudWatchLogs is a property of the Amazon CodeBuild Project LogsConfig property type that specifies settings for CloudWatch logs generated by an Amazon CodeBuild build.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "GroupName" : String, "Status" : String, "StreamName" : String }

YAML

GroupName: String Status: String StreamName: String

Properties

GroupName

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

Required: No

Type: String

Update requires: No interruption

Status

The current status of the logs in CloudWatch Logs for a build project. Valid values are:

  • ENABLED: CloudWatch Logs are enabled for this build project.

  • DISABLED: CloudWatch Logs are not enabled for this build project.

Required: Yes

Type: String

Allowed values: ENABLED | DISABLED

Update requires: No interruption

StreamName

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

Required: No

Type: String

Update requires: No interruption

See also