Class CfnTargetGroupPropsMixin.TargetGroupConfigProperty
Describes the configuration of a target group.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.VpcLattice.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnTargetGroupPropsMixin.TargetGroupConfigProperty : CfnTargetGroupPropsMixin.ITargetGroupConfigProperty
Syntax (vb)
Public Class CfnTargetGroupPropsMixin.TargetGroupConfigProperty Implements CfnTargetGroupPropsMixin.ITargetGroupConfigProperty
Remarks
For more information, see Target groups in the Amazon VPC Lattice User Guide .
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.Mixins.Preview.AWS.VpcLattice.Mixins;
var targetGroupConfigProperty = new TargetGroupConfigProperty {
HealthCheck = new HealthCheckConfigProperty {
Enabled = false,
HealthCheckIntervalSeconds = 123,
HealthCheckTimeoutSeconds = 123,
HealthyThresholdCount = 123,
Matcher = new MatcherProperty {
HttpCode = "httpCode"
},
Path = "path",
Port = 123,
Protocol = "protocol",
ProtocolVersion = "protocolVersion",
UnhealthyThresholdCount = 123
},
IpAddressType = "ipAddressType",
LambdaEventStructureVersion = "lambdaEventStructureVersion",
Port = 123,
Protocol = "protocol",
ProtocolVersion = "protocolVersion",
VpcIdentifier = "vpcIdentifier"
};
Synopsis
Constructors
| TargetGroupConfigProperty() | Describes the configuration of a target group. |
Properties
| HealthCheck | The health check configuration. |
| IpAddressType | The type of IP address used for the target group. |
| LambdaEventStructureVersion | The version of the event structure that your Lambda function receives. |
| Port | The port on which the targets are listening. |
| Protocol | The protocol to use for routing traffic to the targets. |
| ProtocolVersion | The protocol version. |
| VpcIdentifier | The ID of the VPC. |
Constructors
TargetGroupConfigProperty()
Describes the configuration of a target group.
public TargetGroupConfigProperty()
Remarks
For more information, see Target groups in the Amazon VPC Lattice User Guide .
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.Mixins.Preview.AWS.VpcLattice.Mixins;
var targetGroupConfigProperty = new TargetGroupConfigProperty {
HealthCheck = new HealthCheckConfigProperty {
Enabled = false,
HealthCheckIntervalSeconds = 123,
HealthCheckTimeoutSeconds = 123,
HealthyThresholdCount = 123,
Matcher = new MatcherProperty {
HttpCode = "httpCode"
},
Path = "path",
Port = 123,
Protocol = "protocol",
ProtocolVersion = "protocolVersion",
UnhealthyThresholdCount = 123
},
IpAddressType = "ipAddressType",
LambdaEventStructureVersion = "lambdaEventStructureVersion",
Port = 123,
Protocol = "protocol",
ProtocolVersion = "protocolVersion",
VpcIdentifier = "vpcIdentifier"
};
Properties
HealthCheck
The health check configuration.
public object? HealthCheck { get; set; }
Property Value
Remarks
Not supported if the target group type is LAMBDA or ALB .
Type union: either IResolvable or CfnTargetGroupPropsMixin.IHealthCheckConfigProperty
IpAddressType
The type of IP address used for the target group.
public string? IpAddressType { get; set; }
Property Value
Remarks
Supported only if the target group type is IP . The default is IPV4 .
Default: - "IPV4"
LambdaEventStructureVersion
The version of the event structure that your Lambda function receives.
public string? LambdaEventStructureVersion { get; set; }
Property Value
Remarks
Supported only if the target group type is LAMBDA . The default is V1 .
Port
The port on which the targets are listening.
public double? Port { get; set; }
Property Value
Remarks
For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is LAMBDA .
Protocol
The protocol to use for routing traffic to the targets.
public string? Protocol { get; set; }
Property Value
Remarks
The default is the protocol of the target group. Not supported if the target group type is LAMBDA .
ProtocolVersion
The protocol version.
public string? ProtocolVersion { get; set; }
Property Value
Remarks
The default is HTTP1 . Not supported if the target group type is LAMBDA .
Default: - "HTTP1"
VpcIdentifier
The ID of the VPC.
public string? VpcIdentifier { get; set; }
Property Value
Remarks
Not supported if the target group type is LAMBDA .