@Stability(value=Stable)
public static interface CfnDeploymentGroup.ELBInfoProperty
extends software.amazon.jsii.JsiiSerializable
If you specify the ELBInfo property, the DeploymentStyle.DeploymentOption property must be set to WITH_TRAFFIC_CONTROL for AWS CodeDeploy to route your traffic using the specified load balancers.
ELBInfo is a property of the AWS CodeDeploy DeploymentGroup LoadBalancerInfo property type.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codedeploy.*;
ELBInfoProperty eLBInfoProperty = ELBInfoProperty.builder()
.name("name")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeploymentGroup.ELBInfoProperty.Builder
A builder for
CfnDeploymentGroup.ELBInfoProperty |
static class |
CfnDeploymentGroup.ELBInfoProperty.Jsii$Proxy
An implementation for
CfnDeploymentGroup.ELBInfoProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeploymentGroup.ELBInfoProperty.Builder |
builder() |
default String |
getName()
For blue/green deployments, the name of the load balancer that is used to route traffic from original instances to replacement instances in a blue/green deployment.
|
@Stability(value=Stable) @Nullable default String getName()
For in-place deployments, the name of the load balancer that instances are deregistered from so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.
AWS CloudFormation supports blue/green deployments on AWS Lambda compute platforms only.
@Stability(value=Stable) static CfnDeploymentGroup.ELBInfoProperty.Builder builder()
Copyright © 2022. All rights reserved.