SourceBuildInformation - AWS Elastic Beanstalk

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: