amazonka-apprunner-2.0: Amazon App Runner SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • authenticationConfiguration :: Maybe AuthenticationConfiguration

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

  • 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).

  • codeRepository :: Maybe CodeRepository

    The description of a source code repository.

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

  • imageRepository :: Maybe ImageRepository

    The description of a source image repository.

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

Instances

Instances details
FromJSON SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

ToJSON 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 #

Show SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

NFData SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

Methods

rnf :: SourceConfiguration -> () #

Eq SourceConfiguration Source # 
Instance details

Defined in Amazonka.AppRunner.Types.SourceConfiguration

Hashable 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" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "SourceConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "authenticationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthenticationConfiguration)) :*: S1 ('MetaSel ('Just "autoDeploymentsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "codeRepository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeRepository)) :*: S1 ('MetaSel ('Just "imageRepository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImageRepository)))))

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:authenticationConfiguration:SourceConfiguration', sourceConfiguration_authenticationConfiguration - Describes the resources that are needed to authenticate access to some source repositories.

$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:codeRepository:SourceConfiguration', sourceConfiguration_codeRepository - The description of a source code repository.

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

$sel:imageRepository:SourceConfiguration', sourceConfiguration_imageRepository - The description of a source image repository.

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

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

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

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_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_imageRepository :: Lens' SourceConfiguration (Maybe ImageRepository) Source #

The description of a source image repository.

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