libZSservicesZSamazonka-apprunnerZSamazonka-apprunner
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.AppRunner.Types.SourceCodeVersion

Description

 
Synopsis

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

  • type' :: SourceCodeVersionType

    The type of version identifier.

    For a git-based repository, branches represent versions.

  • value :: Text

    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.

Instances

Instances details
Eq SourceCodeVersion Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceCodeVersion

Read SourceCodeVersion Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceCodeVersion

Show SourceCodeVersion Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceCodeVersion

Generic SourceCodeVersion Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceCodeVersion

Associated Types

type Rep SourceCodeVersion :: Type -> Type #

NFData SourceCodeVersion Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceCodeVersion

Methods

rnf :: SourceCodeVersion -> () #

Hashable SourceCodeVersion Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceCodeVersion

ToJSON SourceCodeVersion Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceCodeVersion

FromJSON SourceCodeVersion Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceCodeVersion

type Rep SourceCodeVersion Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceCodeVersion

type Rep SourceCodeVersion = D1 ('MetaData "SourceCodeVersion" "Amazonka.AppRunner.Types.SourceCodeVersion" "libZSservicesZSamazonka-apprunnerZSamazonka-apprunner" 'False) (C1 ('MetaCons "SourceCodeVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SourceCodeVersionType) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSourceCodeVersion Source #

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.