AWS CloudFormation
User Guide (Version )

AWS::CodeBuild::Project CloudWatchLogsConfig

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

Syntax

To declare this entity in your AWS 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 Amazon 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 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.

Required: Yes

Type: String

Allowed Values: DISABLED | ENABLED

Update requires: No interruption

StreamName

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

Required: No

Type: String

Update requires: No interruption

See Also

On this page: