openapi: 3.0.0 info: version: '2014-10-06' x-release: v4 title: 'AWS CodeDeploy Applications #X Amz Target=CodeDeploy 20141006.CreateDeploymentGroup API' description: '

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:

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

' x-logo: url: https://twitter.com/awscloud/profile_image?size=original backgroundColor: '#FFFFFF' termsOfService: https://aws.amazon.com/service-terms/ contact: name: Mike Ralphson email: mike.ralphson@gmail.com url: https://github.com/mermade/aws2openapi x-twitter: PermittedSoc license: name: Apache 2.0 License url: http://www.apache.org/licenses/ x-providerName: amazonaws.com x-serviceName: codedeploy x-origin: - contentType: application/json url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/codedeploy-2014-10-06.normal.json converter: url: https://github.com/mermade/aws2openapi version: 1.0.0 x-apisguru-driver: external x-apiClientRegistration: url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct x-apisguru-categories: - cloud x-preferred: true servers: - url: http://codedeploy.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The CodeDeploy multi-region endpoint - url: https://codedeploy.{region}.amazonaws.com variables: region: description: The AWS region enum: - us-east-1 - us-east-2 - us-west-1 - us-west-2 - us-gov-west-1 - us-gov-east-1 - ca-central-1 - eu-north-1 - eu-west-1 - eu-west-2 - eu-west-3 - eu-central-1 - eu-south-1 - af-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ap-east-1 - ap-south-1 - sa-east-1 - me-south-1 default: us-east-1 description: The CodeDeploy multi-region endpoint - url: http://codedeploy.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The CodeDeploy endpoint for China (Beijing) and China (Ningxia) - url: https://codedeploy.{region}.amazonaws.com.cn variables: region: description: The AWS region enum: - cn-north-1 - cn-northwest-1 default: cn-north-1 description: The CodeDeploy endpoint for China (Beijing) and China (Ningxia) security: - hmac: [] tags: - name: '#X Amz Target=CodeDeploy 20141006.CreateDeploymentGroup' paths: /#X-Amz-Target=CodeDeploy_20141006.CreateDeploymentGroup: parameters: - $ref: '#/components/parameters/X-Amz-Content-Sha256' - $ref: '#/components/parameters/X-Amz-Date' - $ref: '#/components/parameters/X-Amz-Algorithm' - $ref: '#/components/parameters/X-Amz-Credential' - $ref: '#/components/parameters/X-Amz-Security-Token' - $ref: '#/components/parameters/X-Amz-Signature' - $ref: '#/components/parameters/X-Amz-SignedHeaders' post: operationId: CreateDeploymentGroup description: Creates a deployment group to which application revisions are deployed. responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/CreateDeploymentGroupOutput' examples: CreateDeploymentGroup200Example: summary: Default CreateDeploymentGroup 200 response x-microcks-default: true value: deploymentGroupId: '500123' '480': description: ApplicationNameRequiredException content: application/json: schema: $ref: '#/components/schemas/ApplicationNameRequiredException' examples: CreateDeploymentGroup480Example: summary: Default CreateDeploymentGroup 480 response x-microcks-default: true value: example-value '481': description: InvalidApplicationNameException content: application/json: schema: $ref: '#/components/schemas/InvalidApplicationNameException' examples: CreateDeploymentGroup481Example: summary: Default CreateDeploymentGroup 481 response x-microcks-default: true value: example-value '482': description: ApplicationDoesNotExistException content: application/json: schema: $ref: '#/components/schemas/ApplicationDoesNotExistException' examples: CreateDeploymentGroup482Example: summary: Default CreateDeploymentGroup 482 response x-microcks-default: true value: example-value '483': description: DeploymentGroupNameRequiredException content: application/json: schema: $ref: '#/components/schemas/DeploymentGroupNameRequiredException' examples: CreateDeploymentGroup483Example: summary: Default CreateDeploymentGroup 483 response x-microcks-default: true value: example-value '484': description: InvalidDeploymentGroupNameException content: application/json: schema: $ref: '#/components/schemas/InvalidDeploymentGroupNameException' examples: CreateDeploymentGroup484Example: summary: Default CreateDeploymentGroup 484 response x-microcks-default: true value: example-value '485': description: DeploymentGroupAlreadyExistsException content: application/json: schema: $ref: '#/components/schemas/DeploymentGroupAlreadyExistsException' examples: CreateDeploymentGroup485Example: summary: Default CreateDeploymentGroup 485 response x-microcks-default: true value: example-value '486': description: InvalidEC2TagException content: application/json: schema: $ref: '#/components/schemas/InvalidEC2TagException' examples: CreateDeploymentGroup486Example: summary: Default CreateDeploymentGroup 486 response x-microcks-default: true value: example-value '487': description: InvalidTagException content: application/json: schema: $ref: '#/components/schemas/InvalidTagException' examples: CreateDeploymentGroup487Example: summary: Default CreateDeploymentGroup 487 response x-microcks-default: true value: example-value '488': description: InvalidAutoScalingGroupException content: application/json: schema: $ref: '#/components/schemas/InvalidAutoScalingGroupException' examples: CreateDeploymentGroup488Example: summary: Default CreateDeploymentGroup 488 response x-microcks-default: true value: example-value '489': description: InvalidDeploymentConfigNameException content: application/json: schema: $ref: '#/components/schemas/InvalidDeploymentConfigNameException' examples: CreateDeploymentGroup489Example: summary: Default CreateDeploymentGroup 489 response x-microcks-default: true value: example-value '490': description: DeploymentConfigDoesNotExistException content: application/json: schema: $ref: '#/components/schemas/DeploymentConfigDoesNotExistException' examples: CreateDeploymentGroup490Example: summary: Default CreateDeploymentGroup 490 response x-microcks-default: true value: example-value '491': description: RoleRequiredException content: application/json: schema: $ref: '#/components/schemas/RoleRequiredException' examples: CreateDeploymentGroup491Example: summary: Default CreateDeploymentGroup 491 response x-microcks-default: true value: example-value '492': description: InvalidRoleException content: application/json: schema: $ref: '#/components/schemas/InvalidRoleException' examples: CreateDeploymentGroup492Example: summary: Default CreateDeploymentGroup 492 response x-microcks-default: true value: example-value '493': description: DeploymentGroupLimitExceededException content: application/json: schema: $ref: '#/components/schemas/DeploymentGroupLimitExceededException' examples: CreateDeploymentGroup493Example: summary: Default CreateDeploymentGroup 493 response x-microcks-default: true value: example-value '494': description: LifecycleHookLimitExceededException content: application/json: schema: $ref: '#/components/schemas/LifecycleHookLimitExceededException' examples: CreateDeploymentGroup494Example: summary: Default CreateDeploymentGroup 494 response x-microcks-default: true value: example-value '495': description: InvalidTriggerConfigException content: application/json: schema: $ref: '#/components/schemas/InvalidTriggerConfigException' examples: CreateDeploymentGroup495Example: summary: Default CreateDeploymentGroup 495 response x-microcks-default: true value: example-value '496': description: TriggerTargetsLimitExceededException content: application/json: schema: $ref: '#/components/schemas/TriggerTargetsLimitExceededException' examples: CreateDeploymentGroup496Example: summary: Default CreateDeploymentGroup 496 response x-microcks-default: true value: example-value '497': description: InvalidAlarmConfigException content: application/json: schema: $ref: '#/components/schemas/InvalidAlarmConfigException' examples: CreateDeploymentGroup497Example: summary: Default CreateDeploymentGroup 497 response x-microcks-default: true value: example-value '498': description: AlarmsLimitExceededException content: application/json: schema: $ref: '#/components/schemas/AlarmsLimitExceededException' examples: CreateDeploymentGroup498Example: summary: Default CreateDeploymentGroup 498 response x-microcks-default: true value: example-value '499': description: InvalidAutoRollbackConfigException content: application/json: schema: $ref: '#/components/schemas/InvalidAutoRollbackConfigException' examples: CreateDeploymentGroup499Example: summary: Default CreateDeploymentGroup 499 response x-microcks-default: true value: example-value '500': description: InvalidLoadBalancerInfoException content: application/json: schema: $ref: '#/components/schemas/InvalidLoadBalancerInfoException' examples: CreateDeploymentGroup500Example: summary: Default CreateDeploymentGroup 500 response x-microcks-default: true value: example-value '501': description: InvalidDeploymentStyleException content: application/json: schema: $ref: '#/components/schemas/InvalidDeploymentStyleException' examples: CreateDeploymentGroup501Example: summary: Default CreateDeploymentGroup 501 response x-microcks-default: true value: example-value '502': description: InvalidBlueGreenDeploymentConfigurationException content: application/json: schema: $ref: '#/components/schemas/InvalidBlueGreenDeploymentConfigurationException' examples: CreateDeploymentGroup502Example: summary: Default CreateDeploymentGroup 502 response x-microcks-default: true value: example-value '503': description: InvalidEC2TagCombinationException content: application/json: schema: $ref: '#/components/schemas/InvalidEC2TagCombinationException' examples: CreateDeploymentGroup503Example: summary: Default CreateDeploymentGroup 503 response x-microcks-default: true value: example-value '504': description: InvalidOnPremisesTagCombinationException content: application/json: schema: $ref: '#/components/schemas/InvalidOnPremisesTagCombinationException' examples: CreateDeploymentGroup504Example: summary: Default CreateDeploymentGroup 504 response x-microcks-default: true value: example-value '505': description: TagSetListLimitExceededException content: application/json: schema: $ref: '#/components/schemas/TagSetListLimitExceededException' examples: CreateDeploymentGroup505Example: summary: Default CreateDeploymentGroup 505 response x-microcks-default: true value: example-value '506': description: InvalidInputException content: application/json: schema: $ref: '#/components/schemas/InvalidInputException' examples: CreateDeploymentGroup506Example: summary: Default CreateDeploymentGroup 506 response x-microcks-default: true value: example-value '507': description: ThrottlingException content: application/json: schema: $ref: '#/components/schemas/ThrottlingException' examples: CreateDeploymentGroup507Example: summary: Default CreateDeploymentGroup 507 response x-microcks-default: true value: example-value '508': description: InvalidECSServiceException content: application/json: schema: $ref: '#/components/schemas/InvalidECSServiceException' examples: CreateDeploymentGroup508Example: summary: Default CreateDeploymentGroup 508 response x-microcks-default: true value: example-value '509': description: InvalidTargetGroupPairException content: application/json: schema: $ref: '#/components/schemas/InvalidTargetGroupPairException' examples: CreateDeploymentGroup509Example: summary: Default CreateDeploymentGroup 509 response x-microcks-default: true value: example-value '510': description: ECSServiceMappingLimitExceededException content: application/json: schema: $ref: '#/components/schemas/ECSServiceMappingLimitExceededException' examples: CreateDeploymentGroup510Example: summary: Default CreateDeploymentGroup 510 response x-microcks-default: true value: example-value '511': description: InvalidTagsToAddException content: application/json: schema: $ref: '#/components/schemas/InvalidTagsToAddException' examples: CreateDeploymentGroup511Example: summary: Default CreateDeploymentGroup 511 response x-microcks-default: true value: example-value '512': description: InvalidTrafficRoutingConfigurationException content: application/json: schema: $ref: '#/components/schemas/InvalidTrafficRoutingConfigurationException' examples: CreateDeploymentGroup512Example: summary: Default CreateDeploymentGroup 512 response x-microcks-default: true value: example-value requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/CreateDeploymentGroupInput' examples: CreateDeploymentGroupRequestExample: summary: Default CreateDeploymentGroup request x-microcks-default: true value: applicationName: example-resource deploymentGroupName: example-resource deploymentConfigName: example-resource ec2TagFilters: example-value onPremisesInstanceTagFilters: example-value autoScalingGroups: example-value serviceRoleArn: arn:aws:service:us-east-1:123456789012:resource/example triggerConfigurations: example-value parameters: - name: X-Amz-Target in: header required: true schema: type: string enum: - CodeDeploy_20141006.CreateDeploymentGroup summary: Amazon CodeDeploy Create Deployment Group x-microcks-operation: delay: 0 dispatcher: FALLBACK tags: - '#X Amz Target=CodeDeploy 20141006.CreateDeploymentGroup' components: schemas: OutdatedInstancesStrategy: type: string enum: - UPDATE - IGNORE EC2TagFilter: type: object properties: Key: allOf: - $ref: '#/components/schemas/Key' - description: The tag filter key. Value: allOf: - $ref: '#/components/schemas/Value' - description: The tag filter value. Type: allOf: - $ref: '#/components/schemas/EC2TagFilterType' - description: '

The tag filter type:

' description: Information about an EC2 tag filter. Alarm: type: object properties: name: allOf: - $ref: '#/components/schemas/AlarmName' - description: The name of the alarm. Maximum length is 255 characters. Each alarm name can be used only once in a list of alarms. description: Information about an alarm. TargetGroupInfo: type: object properties: name: allOf: - $ref: '#/components/schemas/TargetGroupName' - description: 'For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment are registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete. ' description: Information about a target group in Elastic Load Balancing to use in a deployment. Instances are registered as targets in a target group, and traffic is routed to the target group. OnPremisesTagSetList: type: array items: $ref: '#/components/schemas/TagFilterList' AutoRollbackEventsList: type: array items: $ref: '#/components/schemas/AutoRollbackEvent' InvalidLoadBalancerInfoException: {} ListenerArnList: type: array items: $ref: '#/components/schemas/ListenerArn' InvalidRoleException: {} AlarmsLimitExceededException: {} AutoRollbackConfiguration: type: object properties: enabled: allOf: - $ref: '#/components/schemas/Boolean' - description: Indicates whether a defined automatic rollback configuration is currently enabled. events: allOf: - $ref: '#/components/schemas/AutoRollbackEventsList' - description: The event type or types that trigger a rollback. description: Information about a configuration for automatically rolling back to a previous version of an application revision when a deployment is not completed successfully. InvalidTriggerConfigException: {} Value: type: string InvalidEC2TagCombinationException: {} LoadBalancerInfo: type: object properties: elbInfoList: allOf: - $ref: '#/components/schemas/ELBInfoList' - description:

An array that contains information about the load balancer to use for load balancing in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load Balancers.

Adding more than one load balancer to the array is not supported.

targetGroupInfoList: allOf: - $ref: '#/components/schemas/TargetGroupInfoList' - description:

An array that contains information about the target group to use for load balancing in a deployment. In Elastic Load Balancing, target groups are used with Application Load Balancers.

Adding more than one target group to the array is not supported.

targetGroupPairInfoList: allOf: - $ref: '#/components/schemas/TargetGroupPairInfoList' - description: ' The target group pair information. This is an array of TargeGroupPairInfo objects with a maximum size of one. ' description: Information about the Elastic Load Balancing load balancer or target group used in a deployment. AutoRollbackEvent: type: string enum: - DEPLOYMENT_FAILURE - DEPLOYMENT_STOP_ON_ALARM - DEPLOYMENT_STOP_ON_REQUEST AutoScalingGroupName: type: string EC2TagSetList: type: array items: $ref: '#/components/schemas/EC2TagFilterList' TargetGroupInfoList: type: array items: $ref: '#/components/schemas/TargetGroupInfo' BlueInstanceTerminationOption: type: object properties: action: allOf: - $ref: '#/components/schemas/InstanceAction' - description: '

The action to take on instances in the original environment after a successful blue/green deployment.

' terminationWaitTimeInMinutes: allOf: - $ref: '#/components/schemas/Duration' - description:

For an Amazon EC2 deployment, the number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.

For an Amazon ECS deployment, the number of minutes before deleting the original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic from the original (blue) task set to a replacement (green) task set.

The maximum setting is 2880 minutes (2 days).

description: 'Information about whether instances in the original environment are terminated when a blue/green deployment is successful. BlueInstanceTerminationOption does not apply to Lambda deployments. ' EC2TagFilterList: type: array items: $ref: '#/components/schemas/EC2TagFilter' InvalidAlarmConfigException: {} EC2TagSet: type: object properties: ec2TagSetList: allOf: - $ref: '#/components/schemas/EC2TagSetList' - description: 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. description: Information about groups of Amazon EC2 instance tags. ECSClusterName: type: string CreateDeploymentGroupOutput: type: object properties: deploymentGroupId: allOf: - $ref: '#/components/schemas/DeploymentGroupId' - description: A unique deployment group ID. description: Represents the output of a CreateDeploymentGroup operation. ELBInfo: type: object properties: name: allOf: - $ref: '#/components/schemas/ELBName' - description: For blue/green deployments, the name of the load balancer that is used to route traffic from original instances to replacement instances in a blue/green deployment. For in-place deployments, the name of the load balancer that instances are deregistered from so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete. description: Information about a load balancer in Elastic Load Balancing to use in a deployment. Instances are registered directly with a load balancer, and traffic is routed to the load balancer. TriggerTargetArn: type: string DeploymentReadyAction: type: string enum: - CONTINUE_DEPLOYMENT - STOP_DEPLOYMENT GreenFleetProvisioningOption: type: object properties: action: allOf: - $ref: '#/components/schemas/GreenFleetProvisioningAction' - description: '

The method used to add instances to a replacement environment.

' description: Information about the instances that belong to the replacement environment in a blue/green deployment. DeploymentGroupId: type: string ELBInfoList: type: array items: $ref: '#/components/schemas/ELBInfo' Tag: type: object properties: Key: allOf: - $ref: '#/components/schemas/Key' - description: The tag's key. Value: allOf: - $ref: '#/components/schemas/Value' - description: The tag's value. description: Information about a tag. DeploymentGroupNameRequiredException: {} InvalidDeploymentGroupNameException: {} DeploymentGroupName: type: string minLength: 1 maxLength: 100 InstanceAction: type: string enum: - TERMINATE - KEEP_ALIVE Key: type: string TagFilter: type: object properties: Key: allOf: - $ref: '#/components/schemas/Key' - description: The on-premises instance tag filter key. Value: allOf: - $ref: '#/components/schemas/Value' - description: The on-premises instance tag filter value. Type: allOf: - $ref: '#/components/schemas/TagFilterType' - description: '

The on-premises instance tag filter type:

' description: Information about an on-premises instance tag filter. InvalidEC2TagException: {} TriggerTargetsLimitExceededException: {} InvalidTagException: {} Role: type: string GreenFleetProvisioningAction: type: string enum: - DISCOVER_EXISTING - COPY_AUTO_SCALING_GROUP InvalidBlueGreenDeploymentConfigurationException: {} InvalidApplicationNameException: {} TargetGroupPairInfo: type: object properties: targetGroups: allOf: - $ref: '#/components/schemas/TargetGroupInfoList' - description: ' One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete. ' prodTrafficRoute: allOf: - $ref: '#/components/schemas/TrafficRoute' - description: ' The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete. ' testTrafficRoute: allOf: - $ref: '#/components/schemas/TrafficRoute' - description: ' An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment. ' description: ' Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified. ' DeploymentStyle: type: object properties: deploymentType: allOf: - $ref: '#/components/schemas/DeploymentType' - description: Indicates whether to run an in-place deployment or a blue/green deployment. deploymentOption: allOf: - $ref: '#/components/schemas/DeploymentOption' - description: Indicates whether to route deployment traffic behind a load balancer. description: Information about the type of deployment, either in-place or blue/green, you want to run and whether to route deployment traffic behind a load balancer. TagSetListLimitExceededException: {} TagList: type: array items: $ref: '#/components/schemas/Tag' TargetGroupName: type: string BlueGreenDeploymentConfiguration: type: object properties: terminateBlueInstancesOnDeploymentSuccess: allOf: - $ref: '#/components/schemas/BlueInstanceTerminationOption' - description: Information about whether to terminate instances in the original fleet during a blue/green deployment. deploymentReadyOption: allOf: - $ref: '#/components/schemas/DeploymentReadyOption' - description: Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment. greenFleetProvisioningOption: allOf: - $ref: '#/components/schemas/GreenFleetProvisioningOption' - description: Information about how instances are provisioned for a replacement environment in a blue/green deployment. description: Information about blue/green deployment options for a deployment group. TriggerEventType: type: string enum: - DeploymentStart - DeploymentSuccess - DeploymentFailure - DeploymentStop - DeploymentRollback - DeploymentReady - InstanceStart - InstanceSuccess - InstanceFailure - InstanceReady Boolean: type: boolean ECSService: type: object properties: serviceName: allOf: - $ref: '#/components/schemas/ECSServiceName' - description: ' The name of the target Amazon ECS service. ' clusterName: allOf: - $ref: '#/components/schemas/ECSClusterName' - description: ' The name of the cluster that the Amazon ECS service is associated with. ' description: ' Contains the service and cluster names used to identify an Amazon ECS deployment''s target. ' InvalidAutoScalingGroupException: {} InvalidDeploymentConfigNameException: {} AlarmName: type: string AutoScalingGroupNameList: type: array items: $ref: '#/components/schemas/AutoScalingGroupName' TriggerConfig: type: object properties: triggerName: allOf: - $ref: '#/components/schemas/TriggerName' - description: The name of the notification trigger. triggerTargetArn: allOf: - $ref: '#/components/schemas/TriggerTargetArn' - description: The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent. triggerEvents: allOf: - $ref: '#/components/schemas/TriggerEventTypeList' - description: The event type or types for which notifications are triggered. description: Information about notification triggers for the deployment group. CreateDeploymentGroupInput: type: object required: - applicationName - deploymentGroupName - serviceRoleArn title: CreateDeploymentGroupInput properties: applicationName: allOf: - $ref: '#/components/schemas/ApplicationName' - description: The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account. deploymentGroupName: allOf: - $ref: '#/components/schemas/DeploymentGroupName' - description: The name of a new deployment group for the specified application. deploymentConfigName: allOf: - $ref: '#/components/schemas/DeploymentConfigName' - description:

If specified, the deployment configuration name can be either one of the predefined configurations provided with CodeDeploy or a custom deployment configuration that you create by calling the create deployment configuration operation.

CodeDeployDefault.OneAtATime is the default deployment configuration. It is used if a configuration isn't specified for the deployment or deployment group.

For more information about the predefined deployment configurations in CodeDeploy, see Working with Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.

ec2TagFilters: allOf: - $ref: '#/components/schemas/EC2TagFilterList' - description: The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call as ec2TagSet. onPremisesInstanceTagFilters: allOf: - $ref: '#/components/schemas/TagFilterList' - description: The on-premises instance tags on which to filter. The deployment group includes on-premises instances with any of the specified tags. Cannot be used in the same call as OnPremisesTagSet. autoScalingGroups: allOf: - $ref: '#/components/schemas/AutoScalingGroupNameList' - description: A list of associated Amazon EC2 Auto Scaling groups. serviceRoleArn: allOf: - $ref: '#/components/schemas/Role' - description: A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on the user's behalf when interacting with Amazon Web Services services. triggerConfigurations: allOf: - $ref: '#/components/schemas/TriggerConfigList' - description: Information about triggers to create when the deployment group is created. For examples, see Create a Trigger for an CodeDeploy Event in the CodeDeploy User Guide. alarmConfiguration: allOf: - $ref: '#/components/schemas/AlarmConfiguration' - description: Information to add about Amazon CloudWatch alarms when the deployment group is created. autoRollbackConfiguration: allOf: - $ref: '#/components/schemas/AutoRollbackConfiguration' - description: Configuration information for an automatic rollback that is added when a deployment group is created. outdatedInstancesStrategy: allOf: - $ref: '#/components/schemas/OutdatedInstancesStrategy' - description:

Indicates what happens when new Amazon EC2 instances are launched mid-deployment and do not receive the deployed application revision.

If this option is set to UPDATE or is unspecified, CodeDeploy initiates one or more 'auto-update outdated instances' deployments to apply the deployed application revision to the new Amazon EC2 instances.

If this option is set to IGNORE, CodeDeploy does not initiate a deployment to update the new Amazon EC2 instances. This may result in instances having different revisions.

deploymentStyle: allOf: - $ref: '#/components/schemas/DeploymentStyle' - description: Information about the type of deployment, in-place or blue/green, that you want to run and whether to route deployment traffic behind a load balancer. blueGreenDeploymentConfiguration: allOf: - $ref: '#/components/schemas/BlueGreenDeploymentConfiguration' - description: Information about blue/green deployment options for a deployment group. loadBalancerInfo: allOf: - $ref: '#/components/schemas/LoadBalancerInfo' - description: Information about the load balancer used in a deployment. ec2TagSet: allOf: - $ref: '#/components/schemas/EC2TagSet' - description: Information about groups of tags applied to Amazon EC2 instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same call as ec2TagFilters. ecsServices: allOf: - $ref: '#/components/schemas/ECSServiceList' - description: ' The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name pair using the format <clustername>:<servicename>. ' onPremisesTagSet: allOf: - $ref: '#/components/schemas/OnPremisesTagSet' - description: Information about groups of tags applied to on-premises instances. The deployment group includes only on-premises instances identified by all of the tag groups. Cannot be used in the same call as onPremisesInstanceTagFilters. tags: allOf: - $ref: '#/components/schemas/TagList' - description: ' The metadata that you apply to CodeDeploy deployment groups to help you organize and categorize them. Each tag consists of a key and an optional value, both of which you define. ' description: Represents the input of a CreateDeploymentGroup operation. DeploymentGroupAlreadyExistsException: {} DeploymentReadyOption: type: object properties: actionOnTimeout: allOf: - $ref: '#/components/schemas/DeploymentReadyAction' - description: '

Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.

' waitTimeInMinutes: allOf: - $ref: '#/components/schemas/Duration' - description: The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is not started manually. Applies only to the STOP_DEPLOYMENT option for actionOnTimeout. description: Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment. ECSServiceList: type: array items: $ref: '#/components/schemas/ECSService' DeploymentConfigDoesNotExistException: {} ApplicationDoesNotExistException: {} ECSServiceName: type: string DeploymentOption: type: string enum: - WITH_TRAFFIC_CONTROL - WITHOUT_TRAFFIC_CONTROL RoleRequiredException: {} InvalidOnPremisesTagCombinationException: {} ListenerArn: type: string InvalidTrafficRoutingConfigurationException: {} TagFilterList: type: array items: $ref: '#/components/schemas/TagFilter' InvalidAutoRollbackConfigException: {} TriggerName: type: string TriggerConfigList: type: array items: $ref: '#/components/schemas/TriggerConfig' InvalidTagsToAddException: {} DeploymentType: type: string enum: - IN_PLACE - BLUE_GREEN ApplicationName: type: string minLength: 1 maxLength: 100 AlarmList: type: array items: $ref: '#/components/schemas/Alarm' ThrottlingException: {} ELBName: type: string DeploymentGroupLimitExceededException: {} OnPremisesTagSet: type: object properties: onPremisesTagSetList: allOf: - $ref: '#/components/schemas/OnPremisesTagSetList' - description: A list that contains other lists of on-premises 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. description: Information about groups of on-premises instance tags. DeploymentConfigName: type: string minLength: 1 maxLength: 100 TagFilterType: type: string enum: - KEY_ONLY - VALUE_ONLY - KEY_AND_VALUE ApplicationNameRequiredException: {} TrafficRoute: type: object properties: listenerArns: allOf: - $ref: '#/components/schemas/ListenerArnList' - description: ' The Amazon Resource Name (ARN) of one listener. The listener identifies the route between a target group and a load balancer. This is an array of strings with a maximum size of one. ' description: ' Information about a listener. The listener contains the path used to route traffic that is received from the load balancer to a target group. ' InvalidInputException: {} InvalidECSServiceException: {} ECSServiceMappingLimitExceededException: {} TriggerEventTypeList: type: array items: $ref: '#/components/schemas/TriggerEventType' EC2TagFilterType: type: string enum: - KEY_ONLY - VALUE_ONLY - KEY_AND_VALUE Duration: type: integer InvalidTargetGroupPairException: {} AlarmConfiguration: type: object properties: enabled: allOf: - $ref: '#/components/schemas/Boolean' - description: Indicates whether the alarm configuration is enabled. ignorePollAlarmFailure: allOf: - $ref: '#/components/schemas/Boolean' - description: '

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.

' alarms: allOf: - $ref: '#/components/schemas/AlarmList' - description: A list of alarms configured for the deployment or deployment group. A maximum of 10 alarms can be added. description: Information about alarms associated with a deployment or deployment group. TargetGroupPairInfoList: type: array items: $ref: '#/components/schemas/TargetGroupPairInfo' InvalidDeploymentStyleException: {} LifecycleHookLimitExceededException: {} parameters: X-Amz-Security-Token: name: X-Amz-Security-Token in: header schema: type: string required: false X-Amz-Signature: name: X-Amz-Signature in: header schema: type: string required: false X-Amz-Credential: name: X-Amz-Credential in: header schema: type: string required: false X-Amz-Content-Sha256: name: X-Amz-Content-Sha256 in: header schema: type: string required: false X-Amz-SignedHeaders: name: X-Amz-SignedHeaders in: header schema: type: string required: false X-Amz-Date: name: X-Amz-Date in: header schema: type: string required: false X-Amz-Algorithm: name: X-Amz-Algorithm in: header schema: type: string required: false securitySchemes: hmac: type: apiKey name: Authorization in: header description: Amazon Signature authorization v4 x-amazon-apigateway-authtype: awsSigv4 externalDocs: description: Amazon Web Services documentation url: https://docs.aws.amazon.com/codedeploy/ x-hasEquivalentPaths: true