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 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
-
CloudWatchLogsConfig in the AWS CodeBuild API Reference