CmdID / aws / aws appconfig
aws appconfig list-deployments
Lists the deployments for an environment in descending deployment number order. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To list the available deployments
The following list-deployments example lists the available deployments in your AWS account for the specified application and environment.
aws appconfig list-deployments --application-id 339ohji --environment-id 54j1r29Identify--application-idThe application ID.--environment-idThe environment ID.Its output
{
"Items": [
{
"DeploymentNumber": 1,
"ConfigurationName": "Example-Configuration-Profile",
"ConfigurationVersion": "1",
"DeploymentDurationInMinutes": 15,
"GrowthType": "LINEAR",
"GrowthFactor": 25.0,
"FinalBakeTimeInMinutes": 0,
"State": "COMPLETE",
"PercentageComplete": 100.0,
"StartedAt": "2021-09-17T21:43:54.205000+00:00",
"CompletedAt": "2021-09-17T21:59:03.888000+00:00"
}
]
}For more information, see Step 5: Deploying a configuration in the AWS AppConfig User Guide.
Options
--application-idThe application ID.--environment-idThe environment ID.--max-resultsThe maximum number of items that may be returned for this call.--next-tokenThe token returned by a prior call to this operation indicating the next set of results to be returned.