aid: amazon-codedeploy name: Amazon CodeDeploy description: >- AWS CodeDeploy is a fully managed deployment service that automates software deployments to various compute services such as Amazon EC2, AWS Fargate, AWS Lambda, and on-premises servers. CodeDeploy makes it easier to rapidly release new features, helps avoid downtime during application deployment, and handles the complexity of updating your applications with in-place, blue/green, and canary deployment strategies. type: Index image: https://kinlane-productions.s3.amazonaws.com/apis-json/apis-json-logo.jpg tags: - Amazon - AWS - Deployment - DevOps - CI/CD - Release Management - Blue/Green Deployment url: >- https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/apis.yml created: '2026-03-16' modified: '2026-06-20' specificationVersion: '0.19' apis: - aid: amazon-codedeploy:amazon-codedeploy-api name: Amazon CodeDeploy API description: >- The Amazon CodeDeploy REST API enables programmatic management of applications, deployment groups, deployment configurations, and deployments. Create and update deployment groups, trigger deployments to EC2, Lambda, ECS, and on-premises targets, monitor deployment status, and manage deployment lifecycle hooks and rollback policies. humanURL: https://docs.aws.amazon.com/codedeploy/latest/APIReference/Welcome.html baseURL: https://codedeploy.us-east-1.amazonaws.com tags: - Amazon - AWS - Deployment - DevOps - CI/CD properties: - type: Documentation url: https://docs.aws.amazon.com/codedeploy/latest/userguide/welcome.html - type: APIReference url: https://docs.aws.amazon.com/codedeploy/latest/APIReference/Welcome.html - type: OpenAPI url: openapi/amazon-codedeploy-openapi-original.yaml common: - type: TrustCenter url: security/amazon-codedeploy-trust-center.yml - type: VulnerabilityDisclosure url: security/amazon-codedeploy-vulnerability-disclosure.yml - type: DomainSecurity url: security/amazon-codedeploy-domain-security.yml - type: Authentication url: authentication/amazon-codedeploy-authentication.yml - type: GettingStarted url: https://docs.aws.amazon.com/codedeploy/latest/userguide/getting-started-codedeploy.html - type: Authentication url: https://docs.aws.amazon.com/codedeploy/latest/userguide/auth-and-access-control.html - type: Pricing url: https://aws.amazon.com/codedeploy/pricing/ - type: Console url: https://console.aws.amazon.com/codedeploy/ - type: Portal url: https://aws.amazon.com/codedeploy/ - type: Documentation url: https://docs.aws.amazon.com/codedeploy/latest/userguide/ - type: TermsOfService url: https://aws.amazon.com/service-terms/ - type: PrivacyPolicy url: https://aws.amazon.com/privacy/ - type: StatusPage url: https://health.aws.amazon.com/health/status - type: Blog url: https://aws.amazon.com/blogs/devops/ - type: BlogRSS url: https://aws.amazon.com/blogs/devops/tag/aws-codedeploy/feed/ - type: FAQ url: https://aws.amazon.com/codedeploy/faqs/ - type: SignUp url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html - type: GitHubOrganization url: https://github.com/aws - type: SpectralRules url: rules/amazon-codedeploy-spectral-rules.yml - type: Vocabulary url: vocabulary/amazon-codedeploy-vocabulary.yaml - type: NaftikoCapability url: capabilities/amazon-codedeploy-deployment-automation.yaml - type: JSONLD url: json-ld/amazon-codedeploy-context.jsonld - type: Packages url: packages/amazon-codedeploy-packages.yml - type: WellKnown url: well-known/amazon-codedeploy-well-known.yml - type: SecurityTxt url: well-known/amazon-codedeploy-security.txt - type: MCPServer url: mcp/amazon-codedeploy-mcp.yml - type: LLMsTxt url: llms/amazon-codedeploy-llms.txt - type: Overlay url: overlays/amazon-codedeploy-openapi-overlay.yaml - type: Conformance url: conformance/amazon-codedeploy-conformance.yml - type: ErrorCatalog url: errors/amazon-codedeploy-problem-types.yml - type: Lifecycle url: lifecycle/amazon-codedeploy-lifecycle.yml - type: Features data: - name: Multiple Deployment Strategies description: >- Support for in-place, blue/green, and canary deployment strategies across EC2, Lambda, ECS, and on-premises targets to minimize downtime and risk. - name: Automated Rollbacks description: >- Automatically roll back deployments if a specified number of instances fail health checks or if CloudWatch alarms are triggered during deployment. - name: Deployment Lifecycle Hooks description: >- Define custom lifecycle event hooks (BeforeInstall, AfterInstall, ApplicationStart, etc.) using scripts or Lambda functions for fine-grained deployment control. - name: Traffic Shifting for Lambda and ECS description: >- Implement canary and linear traffic shifting for Lambda function updates and ECS service deployments with configurable traffic weights and bake times. - name: Deployment Groups description: >- Organize deployment targets using deployment groups with EC2 instance tags, Auto Scaling groups, ECS clusters, or on-premises instance tags. - name: CodeDeploy Agent description: >- Install the CodeDeploy agent on EC2 or on-premises instances to enable deployment target registration and lifecycle hook execution. - name: Integration with AWS Load Balancers description: >- Integrate with Application Load Balancers and Network Load Balancers for blue/green deployments that shift traffic between original and replacement instances. - type: UseCases data: - name: Zero-Downtime Application Updates description: >- Use blue/green deployments to update applications without downtime by routing traffic to a new environment while keeping the original environment available for rollback. - name: Lambda Function Updates description: >- Deploy new Lambda function versions with canary or linear traffic shifting to gradually migrate traffic from the current version to the updated function version. - name: ECS Service Deployment description: >- Deploy updated container tasks to ECS services with blue/green deployments and configurable traffic shifting through an Application Load Balancer. - name: On-Premises Application Deployment description: >- Extend cloud-based deployment automation to on-premises servers using the CodeDeploy agent and on-premises instance registration. - name: Multi-Stage CD Pipeline description: >- Use CodeDeploy as the deployment stage in an AWS CodePipeline for fully automated continuous delivery from source code to production. - type: Integrations data: - name: AWS CodePipeline description: Use CodeDeploy as the deployment stage in CodePipeline CD pipelines. - name: AWS CodeBuild description: Trigger CodeDeploy deployments from build artifacts produced by CodeBuild. - name: AWS Lambda description: Deploy Lambda function updates with traffic shifting strategies. - name: Amazon ECS description: Deploy ECS service updates with blue/green deployments. - name: AWS CloudWatch description: Trigger automatic rollbacks based on CloudWatch alarm states. - name: Elastic Load Balancing description: Integrate with ALB and NLB for blue/green traffic shifting. - name: Amazon EC2 Auto Scaling description: Deploy to Auto Scaling groups with automatic instance health checking. - name: AWS Systems Manager description: Use SSM Run Command and State Manager for deployment automation. - name: GitHub description: Deploy application revisions stored in GitHub repositories. - name: Amazon S3 description: Store and retrieve application deployment bundles from S3. maintainers: - FN: Kin Lane email: kin@apievangelist.com