AWS Elastic Beanstalk
API Reference (API Version 2010-12-01)

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.

SourceBuildInformation

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: