@Stability(value=Stable) public static final class CfnDeploymentGroup.TargetGroupInfoProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDeploymentGroup.TargetGroupInfoProperty>
CfnDeploymentGroup.TargetGroupInfoProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDeploymentGroup.TargetGroupInfoProperty |
build()
Builds the configured instance.
|
CfnDeploymentGroup.TargetGroupInfoProperty.Builder |
name(String name)
Sets the value of
CfnDeploymentGroup.TargetGroupInfoProperty.getName() |
@Stability(value=Stable) public CfnDeploymentGroup.TargetGroupInfoProperty.Builder name(String name)
CfnDeploymentGroup.TargetGroupInfoProperty.getName()name - For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment registered with.
For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment completes. No duplicates allowed.
AWS CloudFormation supports blue/green deployments on AWS Lambda compute platforms only.
This value cannot exceed 32 characters, so you should use the Name property of the target group, or the TargetGroupName attribute with the Fn::GetAtt intrinsic function, as shown in the following example. Don't use the group's Amazon Resource Name (ARN) or TargetGroupFullName attribute.
this@Stability(value=Stable) public CfnDeploymentGroup.TargetGroupInfoProperty build()
build in interface software.amazon.jsii.Builder<CfnDeploymentGroup.TargetGroupInfoProperty>CfnDeploymentGroup.TargetGroupInfoPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.