AWS::CodeStar::GitHubRepository S3 - 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.

AWS::CodeStar::GitHubRepository S3

The S3 property type specifies information about the Amazon S3 bucket that contains the code to be committed to the new repository.

S3 is a property of the AWS::CodeStar::GitHubRepository resource.

Syntax

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

JSON

{ "Bucket" : String, "Key" : String, "ObjectVersion" : String }

YAML

Bucket: String Key: String ObjectVersion: String

Properties

Bucket

The name of the Amazon S3 bucket that contains the ZIP file with the content to be committed to the new repository.

Required: Yes

Type: String

Update requires: Updates are not supported.

Key

The S3 object key or file name for the ZIP file.

Required: Yes

Type: String

Update requires: Updates are not supported.

ObjectVersion

The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket.

Required: No

Type: String

Update requires: Updates are not supported.