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

Description

 
Synopsis

Documentation

data SourceConfiguration Source #

Describes the source deployed to an App Runner service. It can be a code or an image repository.

See: newSourceConfiguration smart constructor.

Constructors

SourceConfiguration' 

Fields

  • imageRepository :: Maybe ImageRepository

    The description of a source image repository.

    You must provide either this member or CodeRepository (but not both).

  • codeRepository :: Maybe CodeRepository

    The description of a source code repository.

    You must provide either this member or ImageRepository (but not both).

  • autoDeploymentsEnabled :: Maybe Bool

    If true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.

    Default: App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets to true in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).

  • authenticationConfiguration :: Maybe AuthenticationConfiguration

    Describes the resources that are needed to authenticate access to some source repositories.

Instances

Instances details
Eq SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

Show SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

Generic SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

Associated Types

type Rep SourceConfiguration :: Type -> Type #

NFData SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

Methods

rnf :: SourceConfiguration -> () #

Hashable SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

ToJSON SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

FromJSON SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

type Rep SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

type Rep SourceConfiguration = D1 ('MetaData "SourceConfiguration" "Amazonka.AppRunner.Types.SourceConfiguration" "libZSservicesZSamazonka-apprunnerZSamazonka-apprunner" 'False) (C1 ('MetaCons "SourceConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "imageRepository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageRepository)) :*: S1 ('MetaSel ('Just "codeRepository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeRepository))) :*: (S1 ('MetaSel ('Just "autoDeploymentsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "authenticationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthenticationConfiguration)))))

newSourceConfiguration :: SourceConfiguration Source #

Create a value of SourceConfiguration 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:imageRepository:SourceConfiguration', sourceConfiguration_imageRepository - The description of a source image repository.

You must provide either this member or CodeRepository (but not both).

$sel:codeRepository:SourceConfiguration', sourceConfiguration_codeRepository - The description of a source code repository.

You must provide either this member or ImageRepository (but not both).

$sel:autoDeploymentsEnabled:SourceConfiguration', sourceConfiguration_autoDeploymentsEnabled - If true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.

Default: App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets to true in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).

$sel:authenticationConfiguration:SourceConfiguration', sourceConfiguration_authenticationConfiguration - Describes the resources that are needed to authenticate access to some source repositories.

sourceConfiguration_imageRepository :: Lens' SourceConfiguration (Maybe ImageRepository) Source #

The description of a source image repository.

You must provide either this member or CodeRepository (but not both).

sourceConfiguration_codeRepository :: Lens' SourceConfiguration (Maybe CodeRepository) Source #

The description of a source code repository.

You must provide either this member or ImageRepository (but not both).

sourceConfiguration_autoDeploymentsEnabled :: Lens' SourceConfiguration (Maybe Bool) Source #

If true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.

Default: App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets to true in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).

sourceConfiguration_authenticationConfiguration :: Lens' SourceConfiguration (Maybe AuthenticationConfiguration) Source #

Describes the resources that are needed to authenticate access to some source repositories.