AWS.CodeDeploy
AWS CodeDeploy
Overview This is the AWS CodeDeploy API Reference. This guide provides descriptions of the AWS CodeDeploy APIs. For additional information, see the AWS CodeDeploy User Guide.
Using the APIs You can use the AWS CodeDeploy APIs to work with the following items:
-
Applications, which are unique identifiers that AWS CodeDeploy uses to ensure that the correct combinations of revisions, deployment configurations, and deployment groups are being referenced during deployments.
You can work with applications by calling
CreateApplication
,DeleteApplication
,GetApplication
,ListApplications
,BatchGetApplications
, andUpdateApplication
to create, delete, and get information about applications, and to change information about an application, respectively. -
Deployment configurations, which are sets of deployment rules and deployment success and failure conditions that AWS CodeDeploy uses during deployments.
You can work with deployment configurations by calling
CreateDeploymentConfig
,DeleteDeploymentConfig
,GetDeploymentConfig
, andListDeploymentConfigs
to create, delete, and get information about deployment configurations, respectively. -
Deployment groups, which represent groups of Amazon EC2 instances to which application revisions can be deployed.
You can work with deployment groups by calling
CreateDeploymentGroup
,DeleteDeploymentGroup
,GetDeploymentGroup
,ListDeploymentGroups
, andUpdateDeploymentGroup
to create, delete, and get information about single and multiple deployment groups, and to change information about a deployment group, respectively. -
Deployment instances (also known simply as instances), which represent Amazon EC2 instances to which application revisions are deployed. Deployment instances are identified by their Amazon EC2 tags or Auto Scaling group names. Deployment instances belong to deployment groups.
You can work with deployment instances by calling
GetDeploymentInstance
andListDeploymentInstances
to get information about single and multiple deployment instances, respectively. -
Deployments, which represent the process of deploying revisions to deployment groups.
You can work with deployments by calling
CreateDeployment
,GetDeployment
,ListDeployments
,BatchGetDeployments
, andStopDeployment
to create and get information about deployments, and to stop a deployment, respectively. -
Application revisions (also known simply as revisions), which are archive files that are stored in Amazon S3 buckets or GitHub repositories. These revisions contain source content (such as source code, web pages, executable files, any deployment scripts, and similar) along with an Application Specification file (AppSpec file). (The AppSpec file is unique to AWS CodeDeploy; it defines a series of deployment actions that you want AWS CodeDeploy to execute.) An application revision is uniquely identified by its Amazon S3 object key and its ETag, version, or both. Application revisions are deployed to deployment groups.
You can work with application revisions by calling
GetApplicationRevision
,ListApplicationRevisions
, andRegisterApplicationRevision
to get information about application revisions and to inform AWS CodeDeploy about an application revision, respectively.
Summary↑
batch_get_applications(client, input, options \\ []) | Gets information about one or more applications |
batch_get_deployments(client, input, options \\ []) | Gets information about one or more deployments |
create_application(client, input, options \\ []) | Creates a new application |
create_deployment(client, input, options \\ []) | Deploys an application revision to the specified deployment group |
create_deployment_config(client, input, options \\ []) | Creates a new deployment configuration |
create_deployment_group(client, input, options \\ []) | Creates a new deployment group for application revisions to be deployed to |
delete_application(client, input, options \\ []) | Deletes an application |
delete_deployment_config(client, input, options \\ []) | Deletes a deployment configuration |
delete_deployment_group(client, input, options \\ []) | Deletes a deployment group |
get_application(client, input, options \\ []) | Gets information about an application |
get_application_revision(client, input, options \\ []) | Gets information about an application revision |
get_deployment(client, input, options \\ []) | Gets information about a deployment |
get_deployment_config(client, input, options \\ []) | Gets information about a deployment configuration |
get_deployment_group(client, input, options \\ []) | Gets information about a deployment group |
get_deployment_instance(client, input, options \\ []) | Gets information about an Amazon EC2 instance as part of a deployment |
list_application_revisions(client, input, options \\ []) | Lists information about revisions for an application |
list_applications(client, input, options \\ []) | Lists the applications registered within the AWS user account |
list_deployment_configs(client, input, options \\ []) | Lists the deployment configurations within the AWS user account |
list_deployment_groups(client, input, options \\ []) | Lists the deployment groups for an application registered within the AWS user account |
list_deployment_instances(client, input, options \\ []) | Lists the Amazon EC2 instances for a deployment within the AWS user account |
list_deployments(client, input, options \\ []) | Lists the deployments under a deployment group for an application registered within the AWS user account |
register_application_revision(client, input, options \\ []) | Registers with AWS CodeDeploy a revision for the specified application |
stop_deployment(client, input, options \\ []) | Attempts to stop an ongoing deployment |
update_application(client, input, options \\ []) | Changes an existing application's name |
update_deployment_group(client, input, options \\ []) | Changes information about an existing deployment group |
Functions
Gets information about one or more applications.
Gets information about one or more deployments.
Creates a new application.
Deploys an application revision to the specified deployment group.
Creates a new deployment configuration.
Creates a new deployment group for application revisions to be deployed to.
Deletes an application.
Deletes a deployment configuration.
Deletes a deployment group.
Gets information about an application.
Gets information about an application revision.
Gets information about a deployment.
Gets information about a deployment configuration.
Gets information about a deployment group.
Gets information about an Amazon EC2 instance as part of a deployment.
Lists information about revisions for an application.
Lists the applications registered within the AWS user account.
Lists the deployment configurations within the AWS user account.
Lists the deployment groups for an application registered within the AWS user account.
Lists the Amazon EC2 instances for a deployment within the AWS user account.
Lists the deployments under a deployment group for an application registered within the AWS user account.
Registers with AWS CodeDeploy a revision for the specified application.
Attempts to stop an ongoing deployment.
Changes an existing application's name.
Changes information about an existing deployment group.