aws-cdk-lib.aws_codebuild.CfnProject.S3LogsConfigProperty

interface S3LogsConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.CodeBuild.CfnProject.S3LogsConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#CfnProject_S3LogsConfigProperty
Javasoftware.amazon.awscdk.services.codebuild.CfnProject.S3LogsConfigProperty
Pythonaws_cdk.aws_codebuild.CfnProject.S3LogsConfigProperty
TypeScript aws-cdk-lib » aws_codebuild » CfnProject » S3LogsConfigProperty

S3Logs is a property of the AWS CodeBuild Project LogsConfig property type that specifies settings for logs generated by an AWS CodeBuild build in an S3 bucket.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const s3LogsConfigProperty: codebuild.CfnProject.S3LogsConfigProperty = {
  status: 'status',

  // the properties below are optional
  encryptionDisabled: false,
  location: 'location',
};

Properties

NameTypeDescription
statusstringThe current status of the S3 build logs. Valid values are:.
encryptionDisabled?boolean | IResolvableSet to true if you do not want your S3 build log output encrypted.
location?stringThe ARN of an S3 bucket and the path prefix for S3 logs.

status

Type: string

The current status of the S3 build logs. Valid values are:.

  • ENABLED : S3 build logs are enabled for this build project.
  • DISABLED : S3 build logs are not enabled for this build project.

encryptionDisabled?

Type: boolean | IResolvable (optional)

Set to true if you do not want your S3 build log output encrypted.

By default S3 build logs are encrypted.


location?

Type: string (optional)

The ARN of an S3 bucket and the path prefix for S3 logs.

If your Amazon S3 bucket name is my-bucket , and your path prefix is build-log , then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log .