CmdID / aws / aws appconfig
aws appconfig get-deployment
Retrieves information about a configuration deployment. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To retrieve deployment details
The following get-deployment example lists details of the deployment to the application in the specified environment and deployment.
aws appconfig get-deployment --application-id 339ohji --environment-id 54j1r29 --deployment-number 1Identify--application-idThe ID of the application that includes the deployment you want to get.--environment-idThe ID of the environment that includes the deployment you want to get.--deployment-numberThe sequence number of the deployment.Its output, shortened
{
"ApplicationId": "339ohji",
"EnvironmentId": "54j1r29",
"DeploymentStrategyId": "1225qzk",
"ConfigurationProfileId": "ur8hx2f",
"DeploymentNumber": 1,
"ConfigurationName": "Example-Configuration-Profile",
"ConfigurationLocationUri": "ssm-parameter://Example-Parameter",
"ConfigurationVersion": "1",
"DeploymentDurationInMinutes": 15,
"GrowthType": "LINEAR",
"GrowthFactor": 25.0,
"FinalBakeTimeInMinutes": 0,
"State": "COMPLETE",
"EventLog": [
{
"EventType": "DEPLOYMENT_COMPLETED",
"TriggeredBy": "APPCONFIG",
"Description": "Deployment completed",
"OccurredAt": "2021-09-17T21:59:03.888000+00:00"
},
{
"EventType": "BAKE_TIME_STARTED",
"TriggeredBy": "APPCONFIG",
"Description": "Deployment bake time started",
"OccurredAt": "2021-09-17T21:58:57.722000+00:00"
},
{
"EventType": "PERCENTAGE_UPDATED",
"TriggeredBy": "APPCONFIG",
… 32 more linesFor more information, see Step 5: Deploying a configuration in the AWS AppConfig User Guide.
Options
--application-idThe ID of the application that includes the deployment you want to get.--deployment-numberThe sequence number of the deployment.--environment-idThe ID of the environment that includes the deployment you want to get.