interface S3LoggingOptions
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CodeBuild.S3LoggingOptions |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#S3LoggingOptions |
![]() | software.amazon.awscdk.services.codebuild.S3LoggingOptions |
![]() | aws_cdk.aws_codebuild.S3LoggingOptions |
![]() | aws-cdk-lib » 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.