Class CfnTargetGroup.TargetGroupAttributeProperty
Specifies a target group attribute.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.AWS.ElasticLoadBalancingV2.dll
Syntax (csharp)
public class TargetGroupAttributeProperty : Object, CfnTargetGroup.ITargetGroupAttributeProperty
Syntax (vb)
Public Class TargetGroupAttributeProperty
Inherits Object
Implements CfnTargetGroup.ITargetGroupAttributeProperty
Remarks
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.ElasticLoadBalancingV2;
var targetGroupAttributeProperty = new TargetGroupAttributeProperty {
Key = "key",
Value = "value"
};
Synopsis
Constructors
TargetGroupAttributeProperty() |
Properties
Key | The name of the attribute. |
Value | The value of the attribute. |
Constructors
TargetGroupAttributeProperty()
public TargetGroupAttributeProperty()
Properties
Key
The name of the attribute.
public string Key { get; set; }
Property Value
System.String
Remarks
The following attributes are supported by all load balancers:
The following attributes are supported by Application Load Balancers and Network Load Balancers:
The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:
The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:
The following attributes are supported only by Network Load Balancers:
The following attributes are supported only by Gateway Load Balancers:
Value
The value of the attribute.
public string Value { get; set; }
Property Value
System.String