amazonaws.com – codedeploy
CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances running in your own facility, serverless Lambda functions, or applications in an Amazon ECS service.
You can deploy a nearly unlimited variety of application content, such as an updated Lambda function, updated applications in an Amazon ECS service, code, web and configuration files, executables, packages, scripts, multimedia files, and so on. CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes to your existing code before you can use CodeDeploy.
CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications, without many of the risks associated with error-prone manual deployments.
CodeDeploy Components
Use the information in this guide to help you work with the following CodeDeploy components:
-
Application: A name that uniquely identifies the application you want to deploy. CodeDeploy uses this name, which functions as a container, to ensure the correct combination of revision, deployment configuration, and deployment group are referenced during a deployment.
-
Deployment group: A set of individual instances, CodeDeploy Lambda deployment configuration settings, or an Amazon ECS service and network details. A Lambda deployment group specifies how to route traffic to a new version of a Lambda function. An Amazon ECS deployment group specifies the service created in Amazon ECS to deploy, a load balancer, and a listener to reroute production traffic to an updated containerized application. An Amazon EC2/On-premises deployment group contains individually tagged instances, Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All deployment groups can specify optional trigger, alarm, and rollback settings.
-
Deployment configuration: A set of deployment rules and deployment success and failure conditions used by CodeDeploy during a deployment.
-
Deployment: The process and the components used when updating a Lambda function, a containerized application in an Amazon ECS service, or of installing content on one or more instances.
-
Application revisions: For an Lambda deployment, this is an AppSpec file that specifies the Lambda function to be updated and one or more functions to validate deployment lifecycle events. For an Amazon ECS deployment, this is an AppSpec file that specifies the Amazon ECS task definition, container, and port where production traffic is rerouted. For an EC2/On-premises deployment, this is an archive file that contains source content—source code, webpages, executable files, and deployment scripts—along with an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. For GitHub, a revision is uniquely identified by its commit ID.
This guide also contains information to help you get details about the instances in your deployments, to make on-premises instances available for CodeDeploy deployments, to get details about a Lambda function deployment, and to get details about Amazon ECS service deployments.
CodeDeploy Information Resources
- Homepage
- https://api.apis.guru/v2/specs/amazonaws.com:codedeploy/2014-10-06.json
- Provider
- amazonaws.com:codedeploy / codedeploy
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/amazonaws.com/codedeploy/2014-10-06/openapi.yaml
Tools (49)
Extracted live via the executor SDK.
-
xAmzTargetCodeDeploy20141006AddTagsToOnPremisesInstances.addTagsToOnPremisesInstancesAdds tags to on-premises instances.
-
xAmzTargetCodeDeploy20141006BatchGetApplicationRevisions.batchGetApplicationRevisionsGets information about one or more application revisions. The maximum number of application revisions that can be returned is 25.
-
xAmzTargetCodeDeploy20141006BatchGetApplications.batchGetApplicationsGets information about one or more applications. The maximum number of applications that can be returned is 100.
-
xAmzTargetCodeDeploy20141006BatchGetDeploymentGroups.batchGetDeploymentGroupsGets information about one or more deployment groups.
-
xAmzTargetCodeDeploy20141006BatchGetDeploymentInstances.batchGetDeploymentInstancesThis method works, but is deprecated. Use
BatchGetDeploymentTargetsinstead.Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises and Lambda compute platforms. The newer
BatchGetDeploymentTargetsworks with all compute platforms. The maximum number of instances that can be returned is 25. -
xAmzTargetCodeDeploy20141006BatchGetDeployments.batchGetDeploymentsGets information about one or more deployments. The maximum number of deployments that can be returned is 25.
-
xAmzTargetCodeDeploy20141006BatchGetDeploymentTargets.batchGetDeploymentTargetsReturns an array of one or more targets associated with a deployment. This method works with all compute types and should be used instead of the deprecated
BatchGetDeploymentInstances. The maximum number of targets that can be returned is 25.The type of targets returned depends on the deployment's compute platform or deployment method:
-
EC2/On-premises: Information about Amazon EC2 instance targets.
-
Lambda: Information about Lambda functions targets.
-
Amazon ECS: Information about Amazon ECS service targets.
-
CloudFormation: Information about targets of blue/green deployments initiated by a CloudFormation stack update.
-
-
xAmzTargetCodeDeploy20141006BatchGetOnPremisesInstances.batchGetOnPremisesInstancesGets information about one or more on-premises instances. The maximum number of on-premises instances that can be returned is 25.
-
xAmzTargetCodeDeploy20141006ContinueDeployment.continueDeploymentFor a blue/green deployment, starts the process of rerouting traffic from instances in the original environment to instances in the replacement environment without waiting for a specified wait time to elapse. (Traffic rerouting, which is achieved by registering instances in the replacement environment with the load balancer, can start as soon as all instances have a status of Ready.)
-
xAmzTargetCodeDeploy20141006CreateApplication.createApplicationCreates an application.
-
xAmzTargetCodeDeploy20141006CreateDeployment.createDeploymentDeploys an application revision through the specified deployment group.
-
xAmzTargetCodeDeploy20141006CreateDeploymentConfig.createDeploymentConfigCreates a deployment configuration.
-
xAmzTargetCodeDeploy20141006CreateDeploymentGroup.createDeploymentGroupCreates a deployment group to which application revisions are deployed.
-
xAmzTargetCodeDeploy20141006DeleteApplication.deleteApplicationDeletes an application.
-
xAmzTargetCodeDeploy20141006DeleteDeploymentConfig.deleteDeploymentConfigDeletes a deployment configuration.
A deployment configuration cannot be deleted if it is currently in use. Predefined configurations cannot be deleted.
-
xAmzTargetCodeDeploy20141006DeleteDeploymentGroup.deleteDeploymentGroupDeletes a deployment group.
-
xAmzTargetCodeDeploy20141006DeleteGitHubAccountToken.deleteGitHubAccountTokenDeletes a GitHub account connection.
-
xAmzTargetCodeDeploy20141006DeleteResourcesByExternalId.deleteResourcesByExternalIdDeletes resources linked to an external ID.
-
xAmzTargetCodeDeploy20141006DeregisterOnPremisesInstance.deregisterOnPremisesInstanceDeregisters an on-premises instance.
-
xAmzTargetCodeDeploy20141006GetApplication.getApplicationGets information about an application.
-
xAmzTargetCodeDeploy20141006GetApplicationRevision.getApplicationRevisionGets information about an application revision.
-
xAmzTargetCodeDeploy20141006GetDeployment.getDeploymentGets information about a deployment.
The
contentproperty of theappSpecContentobject in the returned revision is always null. UseGetApplicationRevisionand thesha256property of the returnedappSpecContentobject to get the content of the deployment’s AppSpec file. -
xAmzTargetCodeDeploy20141006GetDeploymentConfig.getDeploymentConfigGets information about a deployment configuration.
-
xAmzTargetCodeDeploy20141006GetDeploymentGroup.getDeploymentGroupGets information about a deployment group.
-
xAmzTargetCodeDeploy20141006GetDeploymentInstance.getDeploymentInstanceGets information about an instance as part of a deployment.
-
xAmzTargetCodeDeploy20141006GetDeploymentTarget.getDeploymentTargetReturns information about a deployment target.
-
xAmzTargetCodeDeploy20141006GetOnPremisesInstance.getOnPremisesInstanceGets information about an on-premises instance.
-
xAmzTargetCodeDeploy20141006ListApplicationRevisions.listApplicationRevisionsLists information about revisions for an application.
-
xAmzTargetCodeDeploy20141006ListApplications.listApplicationsLists the applications registered with the IAM user or Amazon Web Services account.
-
xAmzTargetCodeDeploy20141006ListDeploymentConfigs.listDeploymentConfigsLists the deployment configurations with the IAM user or Amazon Web Services account.
-
xAmzTargetCodeDeploy20141006ListDeploymentGroups.listDeploymentGroupsLists the deployment groups for an application registered with the IAM user or Amazon Web Services account.
-
xAmzTargetCodeDeploy20141006ListDeploymentInstances.listDeploymentInstancesThe newer
BatchGetDeploymentTargetsshould be used instead because it works with all compute types.ListDeploymentInstancesthrows an exception if it is used with a compute platform other than EC2/On-premises or Lambda.Lists the instance for a deployment associated with the IAM user or Amazon Web Services account.
-
xAmzTargetCodeDeploy20141006ListDeployments.listDeploymentsLists the deployments in a deployment group for an application registered with the IAM user or Amazon Web Services account.
-
xAmzTargetCodeDeploy20141006ListDeploymentTargets.listDeploymentTargetsReturns an array of target IDs that are associated a deployment.
-
xAmzTargetCodeDeploy20141006ListGitHubAccountTokenNames.listGitHubAccountTokenNamesLists the names of stored connections to GitHub accounts.
-
xAmzTargetCodeDeploy20141006ListOnPremisesInstances.listOnPremisesInstancesGets a list of names for one or more on-premises instances.
Unless otherwise specified, both registered and deregistered on-premises instance names are listed. To list only registered or deregistered on-premises instance names, use the registration status parameter.
-
xAmzTargetCodeDeploy20141006ListTagsForResource.listTagsForResourceReturns a list of tags for the resource identified by a specified Amazon Resource Name (ARN). Tags are used to organize and categorize your CodeDeploy resources.
-
xAmzTargetCodeDeploy20141006PutLifecycleEventHookExecutionStatus.putLifecycleEventHookExecutionStatusSets the result of a Lambda validation function. The function validates lifecycle hooks during a deployment that uses the Lambda or Amazon ECS compute platform. For Lambda deployments, the available lifecycle hooks are
BeforeAllowTrafficandAfterAllowTraffic. For Amazon ECS deployments, the available lifecycle hooks areBeforeInstall,AfterInstall,AfterAllowTestTraffic,BeforeAllowTraffic, andAfterAllowTraffic. Lambda validation functions returnSucceededorFailed. For more information, see and . -
xAmzTargetCodeDeploy20141006RegisterApplicationRevision.registerApplicationRevisionRegisters with CodeDeploy a revision for the specified application.
-
xAmzTargetCodeDeploy20141006RegisterOnPremisesInstance.registerOnPremisesInstanceRegisters an on-premises instance.
Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.
-
xAmzTargetCodeDeploy20141006RemoveTagsFromOnPremisesInstances.removeTagsFromOnPremisesInstancesRemoves one or more tags from one or more on-premises instances.
-
xAmzTargetCodeDeploy20141006SkipWaitTimeForInstanceTermination.skipWaitTimeForInstanceTerminationIn a blue/green deployment, overrides any specified wait time and starts terminating instances immediately after the traffic routing is complete.
-
xAmzTargetCodeDeploy20141006StopDeployment.stopDeploymentAttempts to stop an ongoing deployment.
-
xAmzTargetCodeDeploy20141006TagResource.tagResourceAssociates the list of tags in the input
Tagsparameter with the resource identified by theResourceArninput parameter. -
xAmzTargetCodeDeploy20141006UntagResource.untagResourceDisassociates a resource from a list of tags. The resource is identified by the
ResourceArninput parameter. The tags are identified by the list of keys in theTagKeysinput parameter. -
xAmzTargetCodeDeploy20141006UpdateApplication.updateApplicationChanges the name of an application.
-
xAmzTargetCodeDeploy20141006UpdateDeploymentGroup.updateDeploymentGroupChanges information about a deployment group.
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools