CmdID / aws / aws deploy
aws deploy create-deployment-config
Creates a deployment configuration. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To create a custom deployment configuration
The following create-deployment-config example creates a custom deployment configuration and associates it with the user's AWS account.
aws deploy create-deployment-config --deployment-config-name ThreeQuartersHealthy --minimum-healthy-hosts type=FLEET_PERCENT,value=75Identify--deployment-config-nameThe name of the deployment configuration to create.--minimum-healthy-hostsThe minimum number of healthy instances that should be available at any time during the deployment.Its output
{
"deploymentConfigId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}For more information, see Create a deployment configuration with CodeDeploy in the AWS CodeDeploy User Guide.
Options
--compute-platformThe destination platform type for the deployment (Lambda, Server, or ECS).--deployment-config-nameThe name of the deployment configuration to create.--minimum-healthy-hostsThe minimum number of healthy instances that should be available at any time during the deployment.--traffic-routing-configThe configuration that specifies how the deployment traffic is routed.--zonal-configConfigure the ZonalConfig object if you want CodeDeploy to deploy your application to one Availability Zone at a time, within an Amazon Web Services Region.