InstanceTarget is a JSON Structure definition published by Amazon CodeDeploy, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-structure/amazon-codedeploy-instance-target-structure.json",
"name": "InstanceTarget",
"description": " A target Amazon EC2 or on-premises instance during a deployment that uses the EC2/On-premises compute platform. ",
"type": "object",
"properties": {
"deploymentId": {
"allOf": [
{
"$ref": "#/components/schemas/DeploymentId"
},
{
"description": " The unique ID of a deployment. "
}
]
},
"targetId": {
"allOf": [
{
"$ref": "#/components/schemas/TargetId"
},
{
"description": " The unique ID of a deployment target that has a type of <code>instanceTarget</code>. "
}
]
},
"targetArn": {
"allOf": [
{
"$ref": "#/components/schemas/TargetArn"
},
{
"description": " The Amazon Resource Name (ARN) of the target. "
}
]
},
"status": {
"allOf": [
{
"$ref": "#/components/schemas/TargetStatus"
},
{
"description": " The status an EC2/On-premises deployment's target instance. "
}
]
},
"lastUpdatedAt": {
"allOf": [
{
"$ref": "#/components/schemas/Time"
},
{
"description": " The date and time when the target instance was updated by a deployment. "
}
]
},
"lifecycleEvents": {
"allOf": [
{
"$ref": "#/components/schemas/LifecycleEventList"
},
{
"description": " The lifecycle events of the deployment to this target instance. "
}
]
},
"instanceLabel": {
"allOf": [
{
"$ref": "#/components/schemas/TargetLabel"
},
{
"description": " A label that identifies whether the instance is an original target (<code>BLUE</code>) or a replacement target (<code>GREEN</code>). "
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.