Class: Aws::CodeDeploy::Types::BatchGetDeploymentTargetsInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb

Overview

Note:

When making an API call, you may pass BatchGetDeploymentTargetsInput data as a hash:

{
  deployment_id: "DeploymentId",
  target_ids: ["TargetId"],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_idString

The unique ID of a deployment.

Returns:

  • (String)


537
538
539
540
541
542
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 537

class BatchGetDeploymentTargetsInput < Struct.new(
  :deployment_id,
  :target_ids)
  SENSITIVE = []
  include Aws::Structure
end

#target_idsArray<String>

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.

  • For deployments that use the EC2/On-premises compute platform, the target IDs are EC2 or on-premises instances IDs, and their target type is instanceTarget.

  • For deployments that use the AWS Lambda compute platform, the target IDs are the names of Lambda functions, and their target type is instanceTarget.

  • For deployments that use the Amazon ECS compute platform, the target IDs are pairs of Amazon ECS clusters and services specified using the format <clustername>:<servicename>. Their target type is ecsTarget.

  • For deployments that are deployed with AWS CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is cloudFormationTarget.

Returns:

  • (Array<String>)


537
538
539
540
541
542
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 537

class BatchGetDeploymentTargetsInput < Struct.new(
  :deployment_id,
  :target_ids)
  SENSITIVE = []
  include Aws::Structure
end