AWS CloudFormation
User Guide (Version )

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

AWS::CodeBuild::Project S3LogsConfig

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "EncryptionDisabled" : Boolean, "Location" : String, "Status" : String }

YAML

EncryptionDisabled: Boolean Location: String Status: String

Properties

EncryptionDisabled

Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.

Required: No

Type: Boolean

Update requires: No interruption

Location

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.

Required: No

Type: String

Update requires: No interruption

Status

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.

Required: Yes

Type: String

Allowed Values: DISABLED | ENABLED

Update requires: No interruption

See Also

On this page: