Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

SourceBuildInformation

Focus mode
SourceBuildInformation - AWS Elastic Beanstalk

Location of the source code for an application version.

Contents

SourceLocation

The location of the source code, as a formatted string, depending on the value of SourceRepository

  • For CodeCommit, the format is the repository name and commit ID, separated by a forward slash. For example, my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a.

  • For S3, the format is the S3 bucket name and object key, separated by a forward slash. For example, my-s3-bucket/Folders/my-source-file.

Type: String

Length Constraints: Minimum length of 3. Maximum length of 255.

Pattern: .+/.+

Required: Yes

SourceRepository

Location where the repository is stored.

  • CodeCommit

  • S3

Type: String

Valid Values: CodeCommit | S3

Required: Yes

SourceType

The type of repository.

  • Git

  • Zip

Type: String

Valid Values: Git | Zip

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.