CmdID / aws / aws appconfig
aws appconfig start-deployment
Starts a deployment. AWS CLI reference
1 example 10 options Its page in the AWS CLI reference
Examples
To start a configuration deployment
The following start-deployment example starts a deployment to the application using the specified environment, deployment strategy, and configuration profile.
aws appconfig start-deployment --application-id 339ohji --environment-id 54j1r29 --deployment-strategy-id 1225qzk --configuration-profile-id ur8hx2f --configuration-version 1Identify--application-idThe application ID.--environment-idThe environment ID.--deployment-strategy-idThe deployment strategy ID.--configuration-profile-idThe configuration profile ID.--configuration-versionThe configuration version to deploy.Its output
{
"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": "DEPLOYING",
"EventLog": [
{
"EventType": "DEPLOYMENT_STARTED",
"TriggeredBy": "USER",
"Description": "Deployment started",
"OccurredAt": "2021-09-17T21:43:54.205000+00:00"
}
],
"PercentageComplete": 0.0,
"StartedAt": "2021-09-17T21:43:54.205000+00:00"
}For more information, see Step 5: Deploying a configuration in the AWS AppConfig User Guide.
Options
--application-idThe application ID.--configuration-profile-idThe configuration profile ID.--configuration-versionThe configuration version to deploy.--deployment-strategy-idThe deployment strategy ID.--descriptionA description of the deployment.--dynamic-extension-parametersA map of dynamic extension parameter names to values to pass to associated extensions with PRE_START_DEPLOYMENT actions.--environment-idThe environment ID.--kms-key-identifierThe KMS key identifier (key ID, key alias, or key ARN).--latest-deployment-numberThe number of the latest deployment.--tagsMetadata to assign to the deployment.