AWS::CodeBuild::Project S3LogsConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::CodeBuild::Project S3LogsConfig

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

Syntax

To declare this entity in your Amazon 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