Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data SourceCodeVersion Source #
Identifies a version of code that App Runner refers to within a source code repository.
See: newSourceCodeVersion
smart constructor.
SourceCodeVersion' | |
|
Instances
Create a value of SourceCodeVersion
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:type':SourceCodeVersion'
, sourceCodeVersion_type
- The type of version identifier.
For a git-based repository, branches represent versions.
$sel:value:SourceCodeVersion'
, sourceCodeVersion_value
- A source code version.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
sourceCodeVersion_type :: Lens' SourceCodeVersion SourceCodeVersionType Source #
The type of version identifier.
For a git-based repository, branches represent versions.
sourceCodeVersion_value :: Lens' SourceCodeVersion Text Source #
A source code version.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.