| 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.AppRunner.Types.SourceCodeVersion
Description
Documentation
data SourceCodeVersion Source #
Identifies a version of code that App Runner refers to within a source code repository.
See: newSourceCodeVersion smart constructor.
Constructors
| SourceCodeVersion' | |
Fields
| |
Instances
Arguments
| :: SourceCodeVersionType | |
| -> Text | |
| -> SourceCodeVersion |
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.