| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.Amplify.Types.App
Description
Synopsis
- data App = App' {
- customHeaders :: Maybe Text
- basicAuthCredentials :: Maybe (Sensitive Text)
- buildSpec :: Maybe Text
- enableBranchAutoDeletion :: Maybe Bool
- customRules :: Maybe [CustomRule]
- iamServiceRoleArn :: Maybe Text
- autoBranchCreationPatterns :: Maybe [Text]
- productionBranch :: Maybe ProductionBranch
- autoBranchCreationConfig :: Maybe AutoBranchCreationConfig
- enableAutoBranchCreation :: Maybe Bool
- tags :: Maybe (HashMap Text Text)
- appId :: Text
- appArn :: Text
- name :: Text
- description :: Text
- repository :: Text
- platform :: Platform
- createTime :: POSIX
- updateTime :: POSIX
- environmentVariables :: HashMap Text Text
- defaultDomain :: Text
- enableBranchAutoBuild :: Bool
- enableBasicAuth :: Bool
- newApp :: Text -> Text -> Text -> Text -> Text -> Platform -> UTCTime -> UTCTime -> Text -> Bool -> Bool -> App
- app_customHeaders :: Lens' App (Maybe Text)
- app_basicAuthCredentials :: Lens' App (Maybe Text)
- app_buildSpec :: Lens' App (Maybe Text)
- app_enableBranchAutoDeletion :: Lens' App (Maybe Bool)
- app_customRules :: Lens' App (Maybe [CustomRule])
- app_iamServiceRoleArn :: Lens' App (Maybe Text)
- app_autoBranchCreationPatterns :: Lens' App (Maybe [Text])
- app_productionBranch :: Lens' App (Maybe ProductionBranch)
- app_autoBranchCreationConfig :: Lens' App (Maybe AutoBranchCreationConfig)
- app_enableAutoBranchCreation :: Lens' App (Maybe Bool)
- app_tags :: Lens' App (Maybe (HashMap Text Text))
- app_appId :: Lens' App Text
- app_appArn :: Lens' App Text
- app_name :: Lens' App Text
- app_description :: Lens' App Text
- app_repository :: Lens' App Text
- app_platform :: Lens' App Platform
- app_createTime :: Lens' App UTCTime
- app_updateTime :: Lens' App UTCTime
- app_environmentVariables :: Lens' App (HashMap Text Text)
- app_defaultDomain :: Lens' App Text
- app_enableBranchAutoBuild :: Lens' App Bool
- app_enableBasicAuth :: Lens' App Bool
Documentation
Represents the different branches of a repository for building, deploying, and hosting an Amplify app.
See: newApp smart constructor.
Constructors
| App' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> Platform | |
| -> UTCTime | |
| -> UTCTime | |
| -> Text | |
| -> Bool | |
| -> Bool | |
| -> App |
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:customHeaders:App', app_customHeaders - Describes the custom HTTP headers for the Amplify app.
$sel:basicAuthCredentials:App', app_basicAuthCredentials - The basic authorization credentials for branches for the Amplify app.
$sel:buildSpec:App', app_buildSpec - Describes the content of the build specification (build spec) 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:customRules:App', app_customRules - Describes the custom redirect and rewrite rules for the Amplify app.
$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:autoBranchCreationPatterns:App', app_autoBranchCreationPatterns - Describes the automated branch creation glob patterns for the Amplify
app.
$sel:productionBranch:App', app_productionBranch - Describes the information about a production branch of the Amplify app.
$sel:autoBranchCreationConfig:App', app_autoBranchCreationConfig - Describes the automated branch creation configuration for the Amplify
app.
$sel:enableAutoBranchCreation:App', app_enableAutoBranchCreation - Enables automated branch creation for the Amplify app.
$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 repository for the Amplify app.
$sel:platform:App', app_platform - The platform for the Amplify app.
$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.
$sel:environmentVariables: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.
$sel:enableBasicAuth:App', app_enableBasicAuth - Enables basic authorization for the Amplify app's branches.
app_customHeaders :: Lens' App (Maybe Text) Source #
Describes the custom HTTP headers for the Amplify app.
app_basicAuthCredentials :: Lens' App (Maybe Text) Source #
The basic authorization credentials for branches for the Amplify app.
app_buildSpec :: Lens' App (Maybe Text) Source #
Describes the content of the build specification (build spec) 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_customRules :: Lens' App (Maybe [CustomRule]) Source #
Describes the custom redirect and rewrite rules for the Amplify app.
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_autoBranchCreationPatterns :: Lens' App (Maybe [Text]) Source #
Describes the automated branch creation glob patterns for the Amplify app.
app_productionBranch :: Lens' App (Maybe ProductionBranch) Source #
Describes the information about a production branch of the Amplify app.
app_autoBranchCreationConfig :: Lens' App (Maybe AutoBranchCreationConfig) Source #
Describes the automated branch creation configuration for the Amplify app.
app_enableAutoBranchCreation :: Lens' App (Maybe Bool) Source #
Enables automated branch creation for the Amplify app.
app_environmentVariables :: Lens' App (HashMap Text Text) Source #
The environment variables for the Amplify app.