You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ElasticBeanstalk::Types::SourceBuildInformation
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticBeanstalk::Types::SourceBuildInformation
- Defined in:
- (unknown)
Overview
When passing SourceBuildInformation as input to an Aws::Client method, you can use a vanilla Hash:
{
source_type: "Git", # required, accepts Git, Zip
source_repository: "CodeCommit", # required, accepts CodeCommit, S3
source_location: "SourceLocation", # required
}
Location of the source code for an application version.
Returned by:
Instance Attribute Summary collapse
-
#source_location ⇒ String
The location of the source code, as a formatted string, depending on the value of
SourceRepository
. -
#source_repository ⇒ String
Location where the repository is stored.
-
#source_type ⇒ String
The type of repository.
Instance Attribute Details
#source_location ⇒ String
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
.
#source_repository ⇒ String
Location where the repository is stored.
CodeCommit
S3
Possible values:
- CodeCommit
- S3
#source_type ⇒ String
The type of repository.
Git
Zip
Possible values:
- Git
- Zip