| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticBeanstalk.Types.SourceBuildInformation
Description
Synopsis
- data SourceBuildInformation = SourceBuildInformation' {}
- newSourceBuildInformation :: SourceType -> SourceRepository -> Text -> SourceBuildInformation
- sourceBuildInformation_sourceType :: Lens' SourceBuildInformation SourceType
- sourceBuildInformation_sourceRepository :: Lens' SourceBuildInformation SourceRepository
- sourceBuildInformation_sourceLocation :: Lens' SourceBuildInformation Text
Documentation
data SourceBuildInformation Source #
Location of the source code for an application version.
See: newSourceBuildInformation smart constructor.
Constructors
| SourceBuildInformation' | |
Fields
| |
Instances
newSourceBuildInformation Source #
Arguments
| :: SourceType | |
| -> SourceRepository | |
| -> Text | |
| -> SourceBuildInformation |
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_sourceType :: Lens' SourceBuildInformation SourceType Source #
The type of repository.
Git
Zip
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.