interface CloudWatchLogsConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeBuild.Mixins.CfnProjectPropsMixin.CloudWatchLogsConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodebuild/mixins#CfnProjectPropsMixin_CloudWatchLogsConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.codebuild.mixins.CfnProjectPropsMixin.CloudWatchLogsConfigProperty |
Python | aws_cdk.mixins_preview.aws_codebuild.mixins.CfnProjectPropsMixin.CloudWatchLogsConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codebuild » mixins » CfnProjectPropsMixin » CloudWatchLogsConfigProperty |
CloudWatchLogs is a property of the AWS CodeBuild Project LogsConfig property type that specifies settings for CloudWatch logs generated by an AWS CodeBuild build.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as codebuild_mixins } from '@aws-cdk/mixins-preview/aws-codebuild';
const cloudWatchLogsConfigProperty: codebuild_mixins.CfnProjectPropsMixin.CloudWatchLogsConfigProperty = {
groupName: 'groupName',
status: 'status',
streamName: 'streamName',
};
Properties
| Name | Type | Description |
|---|---|---|
| group | string | The group name of the logs in CloudWatch Logs. |
| status? | string | The current status of the logs in CloudWatch Logs for a build project. Valid values are:. |
| stream | string | The prefix of the stream name of the CloudWatch Logs. |
groupName?
Type:
string
(optional)
The group name of the logs in CloudWatch Logs.
For more information, see Working with Log Groups and Log Streams .
status?
Type:
string
(optional)
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.
streamName?
Type:
string
(optional)
The prefix of the stream name of the CloudWatch Logs.
For more information, see Working with Log Groups and Log Streams .

.NET
Go
Java
Python
TypeScript