pub struct Builder { /* private fields */ }
Expand description
A builder for BatchGetDeploymentTargetsOutput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn deployment_targets(self, input: DeploymentTarget) -> Self
pub fn deployment_targets(self, input: DeploymentTarget) -> Self
Appends an item to deployment_targets
.
To override the contents of this collection use set_deployment_targets
.
A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.
-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
sourcepub fn set_deployment_targets(self, input: Option<Vec<DeploymentTarget>>) -> Self
pub fn set_deployment_targets(self, input: Option<Vec<DeploymentTarget>>) -> Self
A list of target objects for a deployment. Each target object contains details about the target, such as its status and lifecycle events. The type of the target objects depends on the deployment' compute platform.
-
EC2/On-premises: Each target object is an Amazon EC2 or on-premises instance.
-
Lambda: The target object is a specific version of an Lambda function.
-
Amazon ECS: The target object is an Amazon ECS service.
-
CloudFormation: The target object is an CloudFormation blue/green deployment.
sourcepub fn build(self) -> BatchGetDeploymentTargetsOutput
pub fn build(self) -> BatchGetDeploymentTargetsOutput
Consumes the builder and constructs a BatchGetDeploymentTargetsOutput
.