Skip to main content

deployment_instances

Creates, updates, deletes, gets or lists a deployment_instances resource.

Overview

Namedeployment_instances
TypeResource
Idaws.codedeploy.deployment_instances

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
error_messagestringInformation about errors that might have occurred during the API call.
instances_summaryarrayInformation about the instance.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_deployment_instancesselectregionThis method works, but is deprecated. Use BatchGetDeploymentTargets instead. Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises and Lambda compute platforms. The newer BatchGetDeploymentTargets works with all compute platforms. The maximum number of instances that can be returned is 25.
get_deployment_instanceselectregionGets information about an instance as part of a deployment.
list_deployment_instancesselectregionThe newer BatchGetDeploymentTargets should be used instead because it works with all compute types. ListDeploymentInstances throws an exception if it is used with a compute platform other than EC2/On-premises or Lambda. Lists the instance for a deployment associated with the user or Amazon Web Services account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

This method works, but is deprecated. Use BatchGetDeploymentTargets instead. Returns an array of one or more instances associated with a deployment. This method works with EC2/On-premises and Lambda compute platforms. The newer BatchGetDeploymentTargets works with all compute platforms. The maximum number of instances that can be returned is 25.

SELECT
error_message,
instances_summary
FROM aws.codedeploy.deployment_instances
WHERE region = '{{ region }}' -- required
;