Class: Aws::ElasticBeanstalk::Types::SourceBuildInformation
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticBeanstalk::Types::SourceBuildInformation
- Defined in:
- gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb
Overview
When making an API call, you may pass SourceBuildInformation data as a 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.
Constant Summary collapse
- SENSITIVE =
[]
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
.
4562 4563 4564 4565 4566 4567 4568 |
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4562 class SourceBuildInformation < Struct.new( :source_type, :source_repository, :source_location) SENSITIVE = [] include Aws::Structure end |
#source_repository ⇒ String
Location where the repository is stored.
CodeCommit
S3
4562 4563 4564 4565 4566 4567 4568 |
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4562 class SourceBuildInformation < Struct.new( :source_type, :source_repository, :source_location) SENSITIVE = [] include Aws::Structure end |
#source_type ⇒ String
The type of repository.
Git
Zip
4562 4563 4564 4565 4566 4567 4568 |
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4562 class SourceBuildInformation < Struct.new( :source_type, :source_repository, :source_location) SENSITIVE = [] include Aws::Structure end |