interface LogsConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CodeBuild.Mixins.CfnProjectPropsMixin.LogsConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscodebuild/mixins#CfnProjectPropsMixin_LogsConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.codebuild.mixins.CfnProjectPropsMixin.LogsConfigProperty |
Python | aws_cdk.mixins_preview.aws_codebuild.mixins.CfnProjectPropsMixin.LogsConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_codebuild » mixins » CfnProjectPropsMixin » LogsConfigProperty |
LogsConfig is a property of the AWS CodeBuild Project resource that specifies information about logs for a build project. These can be logs in Amazon CloudWatch Logs, built in a specified S3 bucket, or both.
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 logsConfigProperty: codebuild_mixins.CfnProjectPropsMixin.LogsConfigProperty = {
cloudWatchLogs: {
groupName: 'groupName',
status: 'status',
streamName: 'streamName',
},
s3Logs: {
encryptionDisabled: false,
location: 'location',
status: 'status',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| cloud | IResolvable | Cloud | Information about CloudWatch Logs for a build project. |
| s3 | IResolvable | S3 | Information about logs built to an S3 bucket for a build project. |
cloudWatchLogs?
Type:
IResolvable | Cloud
(optional)
Information about CloudWatch Logs for a build project.
CloudWatch Logs are enabled by default.
s3Logs?
Type:
IResolvable | S3
(optional)
Information about logs built to an S3 bucket for a build project.
S3 logs are not enabled by default.

.NET
Go
Java
Python
TypeScript