amazonka-amplify-2.0: Amazon Amplify 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.Amplify.Types.App

Description

 
Synopsis

Documentation

data App Source #

Represents the different branches of a repository for building, deploying, and hosting an Amplify app.

See: newApp smart constructor.

Constructors

App' 

Fields

Instances

Instances details
FromJSON App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

Generic App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

Associated Types

type Rep App :: Type -> Type #

Methods

from :: App -> Rep App x #

to :: Rep App x -> App #

Show App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

Methods

showsPrec :: Int -> App -> ShowS #

show :: App -> String #

showList :: [App] -> ShowS #

NFData App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

Methods

rnf :: App -> () #

Eq App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

Methods

(==) :: App -> App -> Bool #

(/=) :: App -> App -> Bool #

Hashable App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

Methods

hashWithSalt :: Int -> App -> Int #

hash :: App -> Int #

type Rep App Source # 
Instance details

Defined in Amazonka.Amplify.Types.App

type Rep App = D1 ('MetaData "App" "Amazonka.Amplify.Types.App" "amazonka-amplify-2.0-FzmP32buJCeA4C8B1HzWt" 'False) (C1 ('MetaCons "App'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "autoBranchCreationConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoBranchCreationConfig)) :*: (S1 ('MetaSel ('Just "autoBranchCreationPatterns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "basicAuthCredentials") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: (S1 ('MetaSel ('Just "buildSpec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "customHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "customRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CustomRule]))))) :*: ((S1 ('MetaSel ('Just "enableAutoBranchCreation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "enableBranchAutoDeletion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "iamServiceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "productionBranch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProductionBranch)) :*: (S1 ('MetaSel ('Just "repositoryCloneMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RepositoryCloneMethod)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))) :*: (((S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "appArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "repository") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Platform)))) :*: ((S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: (S1 ('MetaSel ('Just "updateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "environmentVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "defaultDomain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "enableBranchAutoBuild") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "enableBasicAuth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))))

newApp Source #

Create a value of App 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:autoBranchCreationConfig:App', app_autoBranchCreationConfig - Describes the automated branch creation configuration for the Amplify app.

$sel:autoBranchCreationPatterns:App', app_autoBranchCreationPatterns - Describes the automated branch creation glob patterns for the Amplify app.

App, app_basicAuthCredentials - The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

App, app_buildSpec - Describes the content of the build specification (build spec) for the Amplify app.

$sel:customHeaders:App', app_customHeaders - Describes the custom HTTP headers for the Amplify app.

$sel:customRules:App', app_customRules - Describes the custom redirect and rewrite rules for the Amplify app.

$sel:enableAutoBranchCreation:App', app_enableAutoBranchCreation - Enables automated branch creation for the Amplify app.

$sel:enableBranchAutoDeletion:App', app_enableBranchAutoDeletion - Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.

$sel:iamServiceRoleArn:App', app_iamServiceRoleArn - The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.

$sel:productionBranch:App', app_productionBranch - Describes the information about a production branch of the Amplify app.

$sel:repositoryCloneMethod:App', app_repositoryCloneMethod - This is for internal use.

The Amplify service uses this parameter to specify the authentication protocol to use to access the Git repository for an Amplify app. Amplify specifies TOKEN for a GitHub repository, SIGV4 for an Amazon Web Services CodeCommit repository, and SSH for GitLab and Bitbucket repositories.

$sel:tags:App', app_tags - The tag for the Amplify app.

$sel:appId:App', app_appId - The unique ID of the Amplify app.

$sel:appArn:App', app_appArn - The Amazon Resource Name (ARN) of the Amplify app.

$sel:name:App', app_name - The name for the Amplify app.

$sel:description:App', app_description - The description for the Amplify app.

$sel:repository:App', app_repository - The Git repository for the Amplify app.

$sel:platform:App', app_platform - The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

$sel:createTime:App', app_createTime - Creates a date and time for the Amplify app.

$sel:updateTime:App', app_updateTime - Updates the date and time for the Amplify app.

App, app_environmentVariables - The environment variables for the Amplify app.

$sel:defaultDomain:App', app_defaultDomain - The default domain for the Amplify app.

$sel:enableBranchAutoBuild:App', app_enableBranchAutoBuild - Enables the auto-building of branches for the Amplify app.

App, app_enableBasicAuth - Enables basic authorization for the Amplify app's branches.

app_autoBranchCreationConfig :: Lens' App (Maybe AutoBranchCreationConfig) Source #

Describes the automated branch creation configuration for the Amplify app.

app_autoBranchCreationPatterns :: Lens' App (Maybe [Text]) Source #

Describes the automated branch creation glob patterns for the Amplify app.

app_basicAuthCredentials :: Lens' App (Maybe Text) Source #

The basic authorization credentials for branches for the Amplify app. You must base64-encode the authorization credentials and provide them in the format user:password.

app_buildSpec :: Lens' App (Maybe Text) Source #

Describes the content of the build specification (build spec) for the Amplify app.

app_customHeaders :: Lens' App (Maybe Text) Source #

Describes the custom HTTP headers for the Amplify app.

app_customRules :: Lens' App (Maybe [CustomRule]) Source #

Describes the custom redirect and rewrite rules for the Amplify app.

app_enableAutoBranchCreation :: Lens' App (Maybe Bool) Source #

Enables automated branch creation for the Amplify app.

app_enableBranchAutoDeletion :: Lens' App (Maybe Bool) Source #

Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.

app_iamServiceRoleArn :: Lens' App (Maybe Text) Source #

The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.

app_productionBranch :: Lens' App (Maybe ProductionBranch) Source #

Describes the information about a production branch of the Amplify app.

app_repositoryCloneMethod :: Lens' App (Maybe RepositoryCloneMethod) Source #

This is for internal use.

The Amplify service uses this parameter to specify the authentication protocol to use to access the Git repository for an Amplify app. Amplify specifies TOKEN for a GitHub repository, SIGV4 for an Amazon Web Services CodeCommit repository, and SSH for GitLab and Bitbucket repositories.

app_tags :: Lens' App (Maybe (HashMap Text Text)) Source #

The tag for the Amplify app.

app_appId :: Lens' App Text Source #

The unique ID of the Amplify app.

app_appArn :: Lens' App Text Source #

The Amazon Resource Name (ARN) of the Amplify app.

app_name :: Lens' App Text Source #

The name for the Amplify app.

app_description :: Lens' App Text Source #

The description for the Amplify app.

app_repository :: Lens' App Text Source #

The Git repository for the Amplify app.

app_platform :: Lens' App Platform Source #

The platform for the Amplify app. For a static app, set the platform type to WEB. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC.

app_createTime :: Lens' App UTCTime Source #

Creates a date and time for the Amplify app.

app_updateTime :: Lens' App UTCTime Source #

Updates the date and time for the Amplify app.

app_environmentVariables :: Lens' App (HashMap Text Text) Source #

The environment variables for the Amplify app.

app_defaultDomain :: Lens' App Text Source #

The default domain for the Amplify app.

app_enableBranchAutoBuild :: Lens' App Bool Source #

Enables the auto-building of branches for the Amplify app.

app_enableBasicAuth :: Lens' App Bool Source #

Enables basic authorization for the Amplify app's branches.