The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
Required? | True |
Position? | 1 |
Accept pipeline input? | True (ByValue, ByPropertyName) |
-AppSpecContent_Content <
String>
The YAML-formatted or JSON-formatted revision string. For an Lambda deployment, the content includes a Lambda function name, the alias for its original version, and the alias for its replacement version. The deployment shifts traffic from the original version of the Lambda function to the replacement version. For an Amazon ECS deployment, the content includes the task name, information about the load balancer that serves traffic to the container, and more. For both types of deployments, the content can specify Lambda functions that run at specified hooks, such as BeforeInstall
, during a deployment.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_AppSpecContent_Content |
-AppSpecContent_Sha256 <
String>
The SHA256 hash value of the revision content.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_AppSpecContent_Sha256 |
-AutoRollbackConfiguration_Enabled <
Boolean>
Indicates whether a defined automatic rollback configuration is currently enabled.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-AutoRollbackConfiguration_Event <
String[]>
The event type or types that trigger a rollback.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | AutoRollbackConfiguration_Events |
Amazon.PowerShell.Cmdlets.CD.AmazonCodeDeployClientCmdlet.ClientConfig
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-DeploymentConfigName <
String>
The name of a deployment configuration associated with the IAM user or Amazon Web Services account.If not specified, the value configured in the deployment group is used as the default. If the deployment group does not have a deployment configuration associated with it, CodeDeployDefault
.OneAtATime
is used by default.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The name of the deployment group.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
A comment about the deployment.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
A list that contains other lists of Amazon EC2 instance tag groups. For an instance to be included in the deployment group, it must be identified by all of the tag groups in the list.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Information about how CodeDeploy handles files that already exist in a deployment target location but weren't part of the previous successful deployment.The
fileExistsBehavior
parameter takes any of the following values:
- DISALLOW: The deployment fails. This is also the default behavior if no option is specified.
- OVERWRITE: The version of the file from the application revision currently being deployed replaces the version already on the instance.
- RETAIN: The version of the file already on the instance is kept and used as part of the new deployment.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-GitHubLocation_CommitId <
String>
The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_GitHubLocation_CommitId |
-GitHubLocation_Repository <
String>
The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision. Specified as account/repository.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_GitHubLocation_Repository |
-IgnoreApplicationStopFailure <
Boolean>
If true, then if an ApplicationStop
, BeforeBlockTraffic
, or AfterBlockTraffic
deployment lifecycle event to an instance fails, then the deployment continues to the next deployment lifecycle event. For example, if ApplicationStop
fails, the deployment continues with DownloadBundle
. If BeforeBlockTraffic
fails, the deployment continues with BlockTraffic
. If AfterBlockTraffic
fails, the deployment continues with ApplicationStop
. If false or not specified, then if a lifecycle event fails during a deployment to an instance, that deployment fails. If deployment to that instance is part of an overall deployment and the number of healthy hosts is not less than the minimum number of healthy hosts, then a deployment to the next instance is attempted. During a deployment, the CodeDeploy agent runs the scripts specified for ApplicationStop
, BeforeBlockTraffic
, and AfterBlockTraffic
in the AppSpec file from the previous successful deployment. (All other scripts are run from the AppSpec file in the current deployment.) If one of these scripts contains an error and does not run successfully, the deployment can fail. If the cause of the failure is a script from the last successful deployment that will never run successfully, create a new deployment and use ignoreApplicationStopFailures
to specify that the ApplicationStop
, BeforeBlockTraffic
, and AfterBlockTraffic
failures should be ignored.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | IgnoreApplicationStopFailures |
-OverrideAlarmConfiguration_Alarm <
Alarm[]>
A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be added.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | OverrideAlarmConfiguration_Alarms |
-OverrideAlarmConfiguration_Enabled <
Boolean>
Indicates whether the alarm configuration is enabled.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
-OverrideAlarmConfiguration_IgnorePollAlarmFailure <
Boolean>
Indicates whether a deployment should continue if information about the current state of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.
true
: The deployment proceeds even if alarm status information can't be retrieved from Amazon CloudWatch.false
: The deployment stops if alarm status information can't be retrieved from Amazon CloudWatch.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Changes the cmdlet behavior to return the value passed to the ApplicationName parameter. The -PassThru parameter is deprecated, use -Select '^ApplicationName' instead. This parameter will be removed in a future version.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The type of application revision:
- S3: An application revision stored in Amazon S3.
- GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).
- String: A YAML-formatted or JSON-formatted string (Lambda deployments only).
- AppSpecContent: An
AppSpecContent
object that contains the contents of an AppSpec file for an Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_RevisionType |
The name of the Amazon S3 bucket where the application revision is stored.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_S3Location_Bucket |
The file type of the application revision. Must be one of the following:
tar
: A tar archive file.tgz
: A compressed tar archive file.zip
: A zip archive file.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_S3Location_BundleType |
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.If the ETag is not specified as an input parameter, ETag validation of the object is skipped.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_S3Location_ETag |
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_S3Location_Key |
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.If the version is not specified, the system uses the most recent version by default.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_S3Location_Version |
Use the -Select parameter to control the cmdlet output. The default value is 'DeploymentId'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.CodeDeploy.Model.CreateDeploymentResponse). Specifying the name of a property of type Amazon.CodeDeploy.Model.CreateDeploymentResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
The YAML-formatted or JSON-formatted revision string. It includes information about which Lambda function to update and optional Lambda functions that validate deployment lifecycle events.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_String_Content |
The SHA256 hash value of the revision content.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | Revision_String_Sha256 |
-TargetInstancesAutoScalingGroup <
String[]>
The names of one or more Auto Scaling groups to identify a replacement environment for a blue/green deployment.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | TargetInstances_AutoScalingGroup, TargetInstances_AutoScalingGroups |
The tag filter key, type, and value used to identify Amazon EC2 instances in a replacement environment for a blue/green deployment. Cannot be used in the same call as ec2TagSet
.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |
Aliases | TargetInstances_TagFilter, TargetInstances_TagFilters |
-UpdateOutdatedInstancesOnly <
Boolean>
Indicates whether to deploy to all instances or only to instances that are not running the latest application revision.
Required? | False |
Position? | Named |
Accept pipeline input? | True (ByPropertyName) |