Show / Hide Table of Contents

Class CfnTargetGroupPropsMixin.TargetGroupConfigProperty

Describes the configuration of a target group.

Inheritance
object
CfnTargetGroupPropsMixin.TargetGroupConfigProperty
Implements
CfnTargetGroupPropsMixin.ITargetGroupConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html

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

object

Remarks

Not supported if the target group type is LAMBDA or ALB .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-healthcheck

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

string

Remarks

Supported only if the target group type is IP . The default is IPV4 .

Default: - "IPV4"

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-ipaddresstype

LambdaEventStructureVersion

The version of the event structure that your Lambda function receives.

public string? LambdaEventStructureVersion { get; set; }
Property Value

string

Remarks

Supported only if the target group type is LAMBDA . The default is V1 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-lambdaeventstructureversion

Port

The port on which the targets are listening.

public double? Port { get; set; }
Property Value

double?

Remarks

For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is LAMBDA .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-port

Protocol

The protocol to use for routing traffic to the targets.

public string? Protocol { get; set; }
Property Value

string

Remarks

The default is the protocol of the target group. Not supported if the target group type is LAMBDA .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-protocol

ProtocolVersion

The protocol version.

public string? ProtocolVersion { get; set; }
Property Value

string

Remarks

The default is HTTP1 . Not supported if the target group type is LAMBDA .

Default: - "HTTP1"

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-protocolversion

VpcIdentifier

The ID of the VPC.

public string? VpcIdentifier { get; set; }
Property Value

string

Remarks

Not supported if the target group type is LAMBDA .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-targetgroup-targetgroupconfig.html#cfn-vpclattice-targetgroup-targetgroupconfig-vpcidentifier

Implements

CfnTargetGroupPropsMixin.ITargetGroupConfigProperty
Back to top Generated by DocFX