AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
New-CDDeploymentConfig-DeploymentConfigName <String>-TimeBasedCanary_CanaryInterval <Int32>-TimeBasedCanary_CanaryPercentage <Int32>-ComputePlatform <ComputePlatform>-TimeBasedLinear_LinearInterval <Int32>-TimeBasedLinear_LinearPercentage <Int32>-MinimumHealthyHosts_Type <MinimumHealthyHostsType>-TrafficRoutingConfig_Type <TrafficRoutingType>-MinimumHealthyHosts_Value <Int32>-Select <String>-PassThru <SwitchParameter>-Force <SwitchParameter>-ClientConfig <AmazonCodeDeployConfig>
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Lambda
, Server
, or ECS
). Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | True |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
HOST_COUNT
: The minimum number of healthy instances as an absolute value.FLEET_PERCENT
: The minimum number of healthy instances as a percentage of the total number of instances in the deployment.GetDeploymentConfig
, CodeDeployDefault.OneAtATime returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This means a deployment to only one instance at a time. (You cannot set the type to MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all instances but one are kept in a healthy state during the deployment. Although this allows one instance at a time to be taken offline for a new deployment, it also means that if the deployment to the last instance fails, the overall deployment is still successful.For more information, see CodeDeploy Instance Health in the CodeDeploy User Guide. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
TimeBasedCanary
deployment. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | TrafficRoutingConfig_TimeBasedCanary_CanaryInterval |
TimeBasedCanary
deployment. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | TrafficRoutingConfig_TimeBasedCanary_CanaryPercentage |
TimeBasedLinear
deployment. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | TrafficRoutingConfig_TimeBasedLinear_LinearInterval |
TimeBasedLinear
deployment. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | TrafficRoutingConfig_TimeBasedLinear_LinearPercentage |
TimeBasedCanary
or TimeBasedLinear
) used by a deployment configuration. Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AK |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByValue, ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AWSProfilesLocation, ProfilesLocation |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | StoredCredentials, AWSProfileName |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | RegionToCall |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | SK, SecretAccessKey |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | ST |
New-CDDeploymentConfig -DeploymentConfigName AtLeastTwoHealthyHosts -MinimumHealthyHosts_Type HOST_COUNT -MinimumHealthyHosts_Value 2
0f3e8187-44ef-42da-aeed-b6823EXAMPLEThis example creates a new deployment configuration with the specified name and behavior.
AWS Tools for PowerShell: 2.x.y.z