libZSservicesZSamazonka-amplifyZSamazonka-amplify
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.Amplify.Types.AutoBranchCreationConfig

Description

 
Synopsis

Documentation

data AutoBranchCreationConfig Source #

Describes the automated branch creation configuration.

See: newAutoBranchCreationConfig smart constructor.

Constructors

AutoBranchCreationConfig' 

Fields

Instances

Instances details
Eq AutoBranchCreationConfig Source # 
Instance details

Defined in Amazonka.Amplify.Types.AutoBranchCreationConfig

Show AutoBranchCreationConfig Source # 
Instance details

Defined in Amazonka.Amplify.Types.AutoBranchCreationConfig

Generic AutoBranchCreationConfig Source # 
Instance details

Defined in Amazonka.Amplify.Types.AutoBranchCreationConfig

Associated Types

type Rep AutoBranchCreationConfig :: Type -> Type #

NFData AutoBranchCreationConfig Source # 
Instance details

Defined in Amazonka.Amplify.Types.AutoBranchCreationConfig

Hashable AutoBranchCreationConfig Source # 
Instance details

Defined in Amazonka.Amplify.Types.AutoBranchCreationConfig

ToJSON AutoBranchCreationConfig Source # 
Instance details

Defined in Amazonka.Amplify.Types.AutoBranchCreationConfig

FromJSON AutoBranchCreationConfig Source # 
Instance details

Defined in Amazonka.Amplify.Types.AutoBranchCreationConfig

type Rep AutoBranchCreationConfig Source # 
Instance details

Defined in Amazonka.Amplify.Types.AutoBranchCreationConfig

type Rep AutoBranchCreationConfig = D1 ('MetaData "AutoBranchCreationConfig" "Amazonka.Amplify.Types.AutoBranchCreationConfig" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "AutoBranchCreationConfig'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "framework") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Stage))) :*: (S1 ('MetaSel ('Just "enablePullRequestPreview") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "basicAuthCredentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "buildSpec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "enablePerformanceMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "environmentVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "enableAutoBuild") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "enableBasicAuth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "pullRequestEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newAutoBranchCreationConfig :: AutoBranchCreationConfig Source #

Create a value of AutoBranchCreationConfig 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:framework:AutoBranchCreationConfig', autoBranchCreationConfig_framework - The framework for the autocreated branch.

$sel:stage:AutoBranchCreationConfig', autoBranchCreationConfig_stage - Describes the current stage for the autocreated branch.

$sel:enablePullRequestPreview:AutoBranchCreationConfig', autoBranchCreationConfig_enablePullRequestPreview - Enables pull request previews for the autocreated branch.

$sel:basicAuthCredentials:AutoBranchCreationConfig', autoBranchCreationConfig_basicAuthCredentials - The basic authorization credentials for the autocreated branch.

$sel:buildSpec:AutoBranchCreationConfig', autoBranchCreationConfig_buildSpec - The build specification (build spec) for the autocreated branch.

$sel:enablePerformanceMode:AutoBranchCreationConfig', autoBranchCreationConfig_enablePerformanceMode - Enables performance mode for the branch.

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

$sel:environmentVariables:AutoBranchCreationConfig', autoBranchCreationConfig_environmentVariables - The environment variables for the autocreated branch.

$sel:enableAutoBuild:AutoBranchCreationConfig', autoBranchCreationConfig_enableAutoBuild - Enables auto building for the autocreated branch.

$sel:enableBasicAuth:AutoBranchCreationConfig', autoBranchCreationConfig_enableBasicAuth - Enables basic authorization for the autocreated branch.

$sel:pullRequestEnvironmentName:AutoBranchCreationConfig', autoBranchCreationConfig_pullRequestEnvironmentName - The Amplify environment name for the pull request.

autoBranchCreationConfig_stage :: Lens' AutoBranchCreationConfig (Maybe Stage) Source #

Describes the current stage for the autocreated branch.

autoBranchCreationConfig_enablePullRequestPreview :: Lens' AutoBranchCreationConfig (Maybe Bool) Source #

Enables pull request previews for the autocreated branch.

autoBranchCreationConfig_basicAuthCredentials :: Lens' AutoBranchCreationConfig (Maybe Text) Source #

The basic authorization credentials for the autocreated branch.

autoBranchCreationConfig_buildSpec :: Lens' AutoBranchCreationConfig (Maybe Text) Source #

The build specification (build spec) for the autocreated branch.

autoBranchCreationConfig_enablePerformanceMode :: Lens' AutoBranchCreationConfig (Maybe Bool) Source #

Enables performance mode for the branch.

Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.

autoBranchCreationConfig_environmentVariables :: Lens' AutoBranchCreationConfig (Maybe (HashMap Text Text)) Source #

The environment variables for the autocreated branch.

autoBranchCreationConfig_enableAutoBuild :: Lens' AutoBranchCreationConfig (Maybe Bool) Source #

Enables auto building for the autocreated branch.

autoBranchCreationConfig_enableBasicAuth :: Lens' AutoBranchCreationConfig (Maybe Bool) Source #

Enables basic authorization for the autocreated branch.