Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . amplify ]

delete-app

Description

Delete an existing Amplify App by appId.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  delete-app
--app-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--app-id (string)

Unique Id for an Amplify App.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

app -> (structure)

Amplify App represents different branches of a repository for building, deploying, and hosting.

appId -> (string)

Unique Id for the Amplify App.

appArn -> (string)

ARN for the Amplify App.

name -> (string)

Name for the Amplify App.

tags -> (map)

Tag for Amplify App.

key -> (string)

value -> (string)

description -> (string)

Description for the Amplify App.

repository -> (string)

Repository for the Amplify App.

platform -> (string)

Platform for the Amplify App.

createTime -> (timestamp)

Create date / time for the Amplify App.

updateTime -> (timestamp)

Update date / time for the Amplify App.

iamServiceRoleArn -> (string)

IAM service role ARN for the Amplify App.

environmentVariables -> (map)

Environment Variables for the Amplify App.

key -> (string)

value -> (string)

defaultDomain -> (string)

Default domain for the Amplify App.

enableBranchAutoBuild -> (boolean)

Enables auto-building of branches for the Amplify App.

enableBasicAuth -> (boolean)

Enables Basic Authorization for branches for the Amplify App.

basicAuthCredentials -> (string)

Basic Authorization credentials for branches for the Amplify App.

customRules -> (list)

Custom redirect / rewrite rules for the Amplify App.

(structure)

Custom rewrite / redirect rule.

source -> (string)

The source pattern for a URL rewrite or redirect rule.

target -> (string)

The target pattern for a URL rewrite or redirect rule.

status -> (string)

The status code for a URL rewrite or redirect rule.

condition -> (string)

The condition for a URL rewrite or redirect rule, e.g. country code.

productionBranch -> (structure)

Structure with Production Branch information.

lastDeployTime -> (timestamp)

Last Deploy Time of Production Branch.

status -> (string)

Status of Production Branch.

thumbnailUrl -> (string)

Thumbnail URL for Production Branch.

branchName -> (string)

Branch Name for Production Branch.

buildSpec -> (string)

BuildSpec content for Amplify App.

enableAutoBranchCreation -> (boolean)

Enables automated branch creation for the Amplify App.

autoBranchCreationPatterns -> (list)

Automated branch creation glob patterns for the Amplify App.

(string)

autoBranchCreationConfig -> (structure)

Automated branch creation config for the Amplify App.

stage -> (string)

Stage for the auto created branch.

framework -> (string)

Framework for the auto created branch.

enableAutoBuild -> (boolean)

Enables auto building for the auto created branch.

environmentVariables -> (map)

Environment Variables for the auto created branch.

key -> (string)

value -> (string)

basicAuthCredentials -> (string)

Basic Authorization credentials for the auto created branch.

enableBasicAuth -> (boolean)

Enables Basic Auth for the auto created branch.

buildSpec -> (string)

BuildSpec for the auto created branch.

enablePullRequestPreview -> (boolean)

Enables Pull Request Preview for auto created branch.

pullRequestEnvironmentName -> (string)

The Amplify Environment name for the pull request.