Use UpdateApplication with an AWS SDK or CLI - AWS SDK Code Examples

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

Use UpdateApplication with an AWS SDK or CLI

The following code examples show how to use UpdateApplication.

CLI
AWS CLI

To change details of an application

The following update-application example changes the name of an application that is associated with the user's AWS account.

<userinput>aws deploy update-application \ --application-name <replaceable>WordPress_App</replaceable> \ --new-application-name <replaceable>My_WordPress_App</replaceable></userinput>

This command produces no output.

PowerShell
Tools for PowerShell

Example 1: This example changes the name of the specified application.

Update-CDApplication -ApplicationName MyNewApplication -NewApplicationName MyNewApplication-2
  • For API details, see UpdateApplication in AWS Tools for PowerShell Cmdlet Reference.