There are more AWS SDK examples available in the AWS Doc SDK Examples
Use UpdateApplication
with a 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.aws deploy update-application \ --application-name
WordPress_App
\ --new-application-nameMy_WordPress_App
This command produces no output.
-
For API details, see UpdateApplication
in AWS CLI Command Reference.
-
- 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.
-
StopDeployment
UpdateDeploymentGroup