View a markdown version of this page

AWS::ImageBuilder::InfrastructureConfiguration S3Logs - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::ImageBuilder::InfrastructureConfiguration S3Logs

Amazon S3 logging configuration.

Syntax

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

JSON

{ "S3BucketName" : String, "S3KeyPrefix" : String }

YAML

S3BucketName: String S3KeyPrefix: String

Properties

S3BucketName

The name of an existing Amazon S3 bucket where Image Builder saves build logs. The bucket isn't validated when you create or update the configuration, and Image Builder doesn't create it. The instance profile associated with this infrastructure configuration must have permission to write to the bucket.

Required: No

Type: String

Minimum: 1

Maximum: 1024

Update requires: No interruption

S3KeyPrefix

The Amazon S3 key prefix under which Image Builder writes build and test logs in the bucket.

Required: No

Type: String

Minimum: 1

Maximum: 1024

Update requires: No interruption