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.CodeConfiguration

Description

 
Synopsis

Documentation

data CodeConfiguration Source #

Describes the configuration that App Runner uses to build and run an App Runner service from a source code repository.

See: newCodeConfiguration smart constructor.

Constructors

CodeConfiguration' 

Fields

  • codeConfigurationValues :: Maybe CodeConfigurationValues

    The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a apprunner.yaml file in the source code repository (or ignoring the file if it exists).

  • configurationSource :: ConfigurationSource

    The source of the App Runner configuration. Values are interpreted as follows:

    • REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores CodeConfigurationValues.
    • API – App Runner uses configuration values provided in CodeConfigurationValues and ignores the apprunner.yaml file in the source code repository.

Instances

Instances details
Eq CodeConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.CodeConfiguration

Show CodeConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.CodeConfiguration

Generic CodeConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.CodeConfiguration

Associated Types

type Rep CodeConfiguration :: Type -> Type #

NFData CodeConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.CodeConfiguration

Methods

rnf :: CodeConfiguration -> () #

Hashable CodeConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.CodeConfiguration

ToJSON CodeConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.CodeConfiguration

FromJSON CodeConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.CodeConfiguration

type Rep CodeConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.CodeConfiguration

type Rep CodeConfiguration = D1 ('MetaData "CodeConfiguration" "Amazonka.AppRunner.Types.CodeConfiguration" "libZSservicesZSamazonka-apprunnerZSamazonka-apprunner" 'False) (C1 ('MetaCons "CodeConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "codeConfigurationValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeConfigurationValues)) :*: S1 ('MetaSel ('Just "configurationSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ConfigurationSource)))

newCodeConfiguration Source #

Create a value of CodeConfiguration 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:codeConfigurationValues:CodeConfiguration', codeConfiguration_codeConfigurationValues - The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a apprunner.yaml file in the source code repository (or ignoring the file if it exists).

$sel:configurationSource:CodeConfiguration', codeConfiguration_configurationSource - The source of the App Runner configuration. Values are interpreted as follows:

  • REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores CodeConfigurationValues.
  • API – App Runner uses configuration values provided in CodeConfigurationValues and ignores the apprunner.yaml file in the source code repository.

codeConfiguration_codeConfigurationValues :: Lens' CodeConfiguration (Maybe CodeConfigurationValues) Source #

The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing a apprunner.yaml file in the source code repository (or ignoring the file if it exists).

codeConfiguration_configurationSource :: Lens' CodeConfiguration ConfigurationSource Source #

The source of the App Runner configuration. Values are interpreted as follows:

  • REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores CodeConfigurationValues.
  • API – App Runner uses configuration values provided in CodeConfigurationValues and ignores the apprunner.yaml file in the source code repository.