pub struct Builder { /* private fields */ }
Expand description
A builder for BatchGetDeploymentTargetsInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The unique ID of a deployment.
sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The unique ID of a deployment.
sourcepub fn target_ids(self, input: impl Into<String>) -> Self
pub fn target_ids(self, input: impl Into<String>) -> Self
Appends an item to target_ids
.
To override the contents of this collection use set_target_ids
.
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 Amazon EC2 or on-premises instances IDs, and their target type is
instanceTarget
. -
For deployments that use the 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
: ecsTarget
. -
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget
.
sourcepub fn set_target_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_target_ids(self, input: Option<Vec<String>>) -> Self
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 Amazon EC2 or on-premises instances IDs, and their target type is
instanceTarget
. -
For deployments that use the 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
: ecsTarget
. -
For deployments that are deployed with CloudFormation, the target IDs are CloudFormation stack IDs. Their target type is
cloudFormationTarget
.
sourcepub fn build(self) -> Result<BatchGetDeploymentTargetsInput, BuildError>
pub fn build(self) -> Result<BatchGetDeploymentTargetsInput, BuildError>
Consumes the builder and constructs a BatchGetDeploymentTargetsInput
.