Paws::CodeDeploy::BatchGetDeploymentTargets - Arguments for method BatchGetDeploymentTargets on Paws::CodeDeploy


This class represents the parameters used for calling the method BatchGetDeploymentTargets on the AWS CodeDeploy service. Use the attributes of this class as arguments to method BatchGetDeploymentTargets.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to BatchGetDeploymentTargets.


    my $codedeploy = Paws->service('CodeDeploy');
    my $BatchGetDeploymentTargetsOutput =
      DeploymentId => 'MyDeploymentId',      # OPTIONAL
      TargetIds => [ 'MyTargetId', ... ],    # OPTIONAL

    # Results:
    my $DeploymentTargets = $BatchGetDeploymentTargetsOutput->DeploymentTargets;

    # Returns a L<Paws::CodeDeploy::BatchGetDeploymentTargetsOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


DeploymentId => Str

The unique ID of a deployment.

TargetIds => ArrayRef[Str|Undef]

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.


This class forms part of Paws, documenting arguments for method BatchGetDeploymentTargets in Paws::CodeDeploy


The source code is located here:

Please report bugs to: