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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#source_locationString

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.

Returns:

  • (String)

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

#source_repositoryString

Location where the repository is stored.

  • CodeCommit

  • S3

    Possible values:

    • CodeCommit
    • S3

Returns:

  • (String)

    Location where the repository is stored.

#source_typeString

The type of repository.

  • Git

  • Zip

    Possible values:

    • Git
    • Zip

Returns:

  • (String)

    The type of repository.