AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the BatchGetDeploymentTargets operation.
Returns an array of one or more targets associated with a deployment. This method
works with all compute types and should be used instead of the deprecated BatchGetDeploymentInstances
.
The maximum number of targets that can be returned is 25.
The type of targets returned depends on the deployment's compute platform or deployment method:
EC2/On-premises: Information about Amazon EC2 instance targets.
Lambda: Information about Lambda functions targets.
Amazon ECS: Information about Amazon ECS service targets.
CloudFormation: Information about targets of blue/green deployments initiated by a CloudFormation stack update.
Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z
public class BatchGetDeploymentTargetsRequest : AmazonCodeDeployRequest IAmazonWebServiceRequest
The BatchGetDeploymentTargetsRequest type exposes the following members
Name | Description | |
---|---|---|
BatchGetDeploymentTargetsRequest() |
Name | Type | Description | |
---|---|---|---|
DeploymentId | System.String |
Gets and sets the property DeploymentId. The unique ID of a deployment. |
|
TargetIds | System.Collections.Generic.List<System.String> |
Gets and sets the property TargetIds. 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.
|
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5