You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticBeanstalk::Types::SourceBuildInformation

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb

Overview

Note:

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.

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)


3726
3727
3728
3729
3730
3731
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3726

class SourceBuildInformation < Struct.new(
  :source_type,
  :source_repository,
  :source_location)
  include Aws::Structure
end

#source_repositoryString

Location where the repository is stored.

  • CodeCommit

  • S3

Returns:

  • (String)


3726
3727
3728
3729
3730
3731
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3726

class SourceBuildInformation < Struct.new(
  :source_type,
  :source_repository,
  :source_location)
  include Aws::Structure
end

#source_typeString

The type of repository.

  • Git

  • Zip

Returns:

  • (String)


3726
3727
3728
3729
3730
3731
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 3726

class SourceBuildInformation < Struct.new(
  :source_type,
  :source_repository,
  :source_location)
  include Aws::Structure
end