Amazon CodeDeploy · JSON Structure

Amazon Codedeploy Batch Get Deployment Targets Input Structure

BatchGetDeploymentTargetsInput schema from Amazon CodeDeploy

Type: object Properties: 2
AmazonDeploymentDevOpsCI/CDRelease ManagementBlue/Green Deployment

BatchGetDeploymentTargetsInput is a JSON Structure definition published by Amazon CodeDeploy, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

deploymentId targetIds

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-structure/amazon-codedeploy-batch-get-deployment-targets-input-structure.json",
  "name": "BatchGetDeploymentTargetsInput",
  "description": "BatchGetDeploymentTargetsInput schema from Amazon CodeDeploy",
  "type": "object",
  "properties": {
    "deploymentId": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DeploymentId"
        },
        {
          "description": " The unique ID of a deployment. "
        }
      ]
    },
    "targetIds": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TargetIdList"
        },
        {
          "description": "<p> The unique IDs of the deployment targets. The compute platform of the deployment determines the type of the targets and their formats. The maximum number of deployment target IDs you can specify is 25.</p> <ul> <li> <p> For deployments that use the EC2/On-premises compute platform, the target IDs are Amazon EC2 or on-premises instances IDs, and their target type is <code>instanceTarget</code>. </p> </li> <li> <p> For deployments that use the Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is <code>instanceTarget</code>. </p> </li> <li> <p> For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format <code>&lt;clustername&gt;:&lt;servicename&gt;</code>. Their target type is <code>ecsTarget</code>. </p> </li> <li> <p> For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is <code>cloudFormationTarget</code>. </p> </li> </ul>"
        }
      ]
    }
  }
}