Class CfnDeploymentGroup.ELBInfoProperty
The ELBInfo
property type specifies information about the Elastic Load Balancing load balancer used for an CodeDeploy deployment group.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ELBInfoProperty : Object, CfnDeploymentGroup.IELBInfoProperty
Syntax (vb)
Public Class ELBInfoProperty
Inherits Object
Implements CfnDeploymentGroup.IELBInfoProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeDeploy;
var eLBInfoProperty = new ELBInfoProperty {
Name = "name"
};
Synopsis
Constructors
ELBInfoProperty() |
Properties
Name | 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. |
Constructors
ELBInfoProperty()
public ELBInfoProperty()
Properties
Name
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.
public string Name { get; set; }
Property Value
System.String
Remarks
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.