interface S3LoggingOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeBuild.S3LoggingOptions |
Java | software.amazon.awscdk.services.codebuild.S3LoggingOptions |
Python | aws_cdk.aws_codebuild.S3LoggingOptions |
TypeScript (source) | @aws-cdk/aws-codebuild » S3LoggingOptions |
Information about logs built to an S3 bucket for a build project.
Example
new codebuild.Project(this, 'Project', {
logging: {
s3: {
bucket: new s3.Bucket(this, `LogBucket`)
}
},
})
Properties
Name | Type | Description |
---|---|---|
bucket | IBucket | The S3 Bucket to send logs to. |
enabled? | boolean | The current status of the logs in Amazon CloudWatch Logs for a build project. |
encrypted? | boolean | Encrypt the S3 build log output. |
prefix? | string | The path prefix for S3 logs. |
bucket
Type:
IBucket
The S3 Bucket to send logs to.
enabled?
Type:
boolean
(optional, default: true)
The current status of the logs in Amazon CloudWatch Logs for a build project.
encrypted?
Type:
boolean
(optional, default: true)
Encrypt the S3 build log output.
prefix?
Type:
string
(optional, default: no prefix)
The path prefix for S3 logs.