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.
Update-CDDeploymentGroup-ApplicationName <String>-GreenFleetProvisioningOptionAction <GreenFleetProvisioningAction>-OnSuccessBlueInstanceTerminationAction <InstanceAction>-DeploymentReadyOptionTimeoutAction <DeploymentReadyAction>-AlarmConfiguration_Alarm <Alarm[]>-AutoScalingGroup <String[]>-CurrentDeploymentGroupName <String>-DeploymentConfigName <String>-DeploymentStyleOption <DeploymentOption>-DeploymentStyleType <DeploymentType>-Ec2TagFilter <EC2TagFilter[]>-Ec2TagSetList <EC2TagFilter[][]>-EcsService <ECSService[]>-LoadBalancerInfoList <ELBInfo[]>-AlarmConfiguration_Enabled <Boolean>-AutoRollbackConfiguration_Enabled <Boolean>-AutoRollbackConfiguration_Event <String[]>-AlarmConfiguration_IgnorePollAlarmFailure <Boolean>-IsAutoScalingGroupsSet <Boolean>-NewDeploymentGroupName <String>-OnPremisesInstanceTagFilter <TagFilter[]>-OnPremisesTagSetList <TagFilter[][]>-OutdatedInstancesStrategy <OutdatedInstancesStrategy>-ServiceRoleArn <String>-LoadBalancerInfo_TargetGroupInfoList <TargetGroupInfo[]>-LoadBalancerInfo_TargetGroupPairInfoList <TargetGroupPairInfo[]>-TerminationHookEnabled <Boolean>-OnSuccessBlueInstanceTerminationWaitTime <Int32>-TriggerConfiguration <TriggerConfig[]>-DeploymentReadyOptionWaitTime <Int32>-Select <String>-PassThru <SwitchParameter>-Force <SwitchParameter>-ClientConfig <AmazonCodeDeployConfig>
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AlarmConfiguration_Alarms |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
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) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AutoRollbackConfiguration_Events |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AutoScalingGroups |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | True |
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) |
Aliases | BlueGreenDeploymentConfiguration_DeploymentReadyOption_ActionOnTimeout, DeploymentReadyOption_ActionOnTimeout |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | BlueGreenDeploymentConfiguration_DeploymentReadyOption_WaitTimeInMinutes, DeploymentReadyOption_WaitTimeInMinute |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | DeploymentStyle_DeploymentOption |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | DeploymentStyle_DeploymentType |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Ec2TagFilters |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | EcsServices |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | BlueGreenDeploymentConfiguration_GreenFleetProvisioningOption_Action, GreenFleetProvisioningOption_Action |
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) |
Aliases | LoadBalancerInfo_ElbInfoList |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OnPremisesInstanceTagFilters |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | BlueGreenDeploymentConfiguration_TerminateBlueInstancesOnDeploymentSuccess_Action, TerminateBlueInstancesOnDeploymentSuccess_Action |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | BlueGreenDeploymentConfiguration_TerminateBlueInstancesOnDeploymentSuccess_TerminationWaitTimeInMinutes, TerminateBlueInstancesOnDeploymentSuccess_TerminationWaitTimeInMinute |
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) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | TriggerConfigurations |
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 |
Update-CDDeploymentGroup -ApplicationName MyNewApplication -CurrentDeploymentGroupName MyNewDeploymentGroup -NewDeploymentGroupName MyNewDeploymentGroup-2This example changes the name of the specified deployment group for the specified application.
Update-CDDeploymentGroup -ApplicationName MyNewApplication -CurrentDeploymentGroupName MyNewDeploymentGroup -NewDeploymentGroupName MyNewDeploymentGroup-2 -Ec2TagSetList @(@{Key="key1";Type="KEY_ONLY"},@{Key="Key2";Type="KEY_AND_VALUE";Value="Value2"}),@(@{Key="Key3";Type="VALUE_ONLY";Value="Value3"})This example shows how to specify groups of EC2 instance tags that an instance must be identified by in order for it to be included in the replacement environment for a blue/green deployment.
AWS Tools for PowerShell: 2.x.y.z