libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticBeanstalk.Types.SourceBuildInformation

Description

 
Synopsis

Documentation

data SourceBuildInformation Source #

Location of the source code for an application version.

See: newSourceBuildInformation smart constructor.

Constructors

SourceBuildInformation' 

Fields

  • sourceType :: SourceType

    The type of repository.

    • Git
    • Zip
  • sourceRepository :: SourceRepository

    Location where the repository is stored.

    • CodeCommit
    • S3
  • sourceLocation :: Text

    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.

Instances

Instances details
Eq SourceBuildInformation Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SourceBuildInformation

Read SourceBuildInformation Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SourceBuildInformation

Show SourceBuildInformation Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SourceBuildInformation

Generic SourceBuildInformation Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SourceBuildInformation

Associated Types

type Rep SourceBuildInformation :: Type -> Type #

NFData SourceBuildInformation Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SourceBuildInformation

Methods

rnf :: SourceBuildInformation -> () #

Hashable SourceBuildInformation Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SourceBuildInformation

ToQuery SourceBuildInformation Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SourceBuildInformation

FromXML SourceBuildInformation Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SourceBuildInformation

type Rep SourceBuildInformation Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SourceBuildInformation

type Rep SourceBuildInformation = D1 ('MetaData "SourceBuildInformation" "Amazonka.ElasticBeanstalk.Types.SourceBuildInformation" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "SourceBuildInformation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SourceType) :*: (S1 ('MetaSel ('Just "sourceRepository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SourceRepository) :*: S1 ('MetaSel ('Just "sourceLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSourceBuildInformation Source #

Create a value of SourceBuildInformation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sourceType:SourceBuildInformation', sourceBuildInformation_sourceType - The type of repository.

  • Git
  • Zip

$sel:sourceRepository:SourceBuildInformation', sourceBuildInformation_sourceRepository - Location where the repository is stored.

  • CodeCommit
  • S3

$sel:sourceLocation:SourceBuildInformation', sourceBuildInformation_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.

sourceBuildInformation_sourceRepository :: Lens' SourceBuildInformation SourceRepository Source #

Location where the repository is stored.

  • CodeCommit
  • S3

sourceBuildInformation_sourceLocation :: Lens' SourceBuildInformation Text Source #

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.