CfnTargetGroupProps

class aws_cdk.aws_elasticloadbalancingv2.CfnTargetGroupProps(*, health_check_enabled=None, health_check_interval_seconds=None, health_check_path=None, health_check_port=None, health_check_protocol=None, health_check_timeout_seconds=None, healthy_threshold_count=None, matcher=None, name=None, port=None, protocol=None, tags=None, target_group_attributes=None, targets=None, target_type=None, unhealthy_threshold_count=None, vpc_id=None)

Bases: object

__init__(*, health_check_enabled=None, health_check_interval_seconds=None, health_check_path=None, health_check_port=None, health_check_protocol=None, health_check_timeout_seconds=None, healthy_threshold_count=None, matcher=None, name=None, port=None, protocol=None, tags=None, target_group_attributes=None, targets=None, target_type=None, unhealthy_threshold_count=None, vpc_id=None)

Properties for defining a AWS::ElasticLoadBalancingV2::TargetGroup.

Parameters
  • health_check_enabled (Union[bool, None, IResolvable]) – AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckEnabled.

  • health_check_interval_seconds (Union[int, float, None]) – AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckIntervalSeconds.

  • health_check_path (Optional[str]) – AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckPath.

  • health_check_port (Optional[str]) – AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckPort.

  • health_check_protocol (Optional[str]) – AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckProtocol.

  • health_check_timeout_seconds (Union[int, float, None]) – AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckTimeoutSeconds.

  • healthy_threshold_count (Union[int, float, None]) – AWS::ElasticLoadBalancingV2::TargetGroup.HealthyThresholdCount.

  • matcher (Union[IResolvable, None, MatcherProperty]) – AWS::ElasticLoadBalancingV2::TargetGroup.Matcher.

  • name (Optional[str]) – AWS::ElasticLoadBalancingV2::TargetGroup.Name.

  • port (Union[int, float, None]) – AWS::ElasticLoadBalancingV2::TargetGroup.Port.

  • protocol (Optional[str]) – AWS::ElasticLoadBalancingV2::TargetGroup.Protocol.

  • tags (Optional[List[CfnTag]]) – AWS::ElasticLoadBalancingV2::TargetGroup.Tags.

  • target_group_attributes (Union[IResolvable, None, List[Union[IResolvable, TargetGroupAttributeProperty]]]) – AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttributes.

  • targets (Union[IResolvable, None, List[Union[IResolvable, TargetDescriptionProperty]]]) – AWS::ElasticLoadBalancingV2::TargetGroup.Targets.

  • target_type (Optional[str]) – AWS::ElasticLoadBalancingV2::TargetGroup.TargetType.

  • unhealthy_threshold_count (Union[int, float, None]) – AWS::ElasticLoadBalancingV2::TargetGroup.UnhealthyThresholdCount.

  • vpc_id (Optional[str]) – AWS::ElasticLoadBalancingV2::TargetGroup.VpcId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html

Attributes

health_check_enabled

AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckEnabled.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-healthcheckenabled

Return type

Union[bool, None, IResolvable]

health_check_interval_seconds

AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckIntervalSeconds.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-healthcheckintervalseconds

Return type

Union[int, float, None]

health_check_path

AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckPath.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-healthcheckpath

Return type

Optional[str]

health_check_port

AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckPort.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-healthcheckport

Return type

Optional[str]

health_check_protocol

AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckProtocol.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-healthcheckprotocol

Return type

Optional[str]

health_check_timeout_seconds

AWS::ElasticLoadBalancingV2::TargetGroup.HealthCheckTimeoutSeconds.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-healthchecktimeoutseconds

Return type

Union[int, float, None]

healthy_threshold_count

AWS::ElasticLoadBalancingV2::TargetGroup.HealthyThresholdCount.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-healthythresholdcount

Return type

Union[int, float, None]

matcher

AWS::ElasticLoadBalancingV2::TargetGroup.Matcher.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-matcher

Return type

Union[IResolvable, None, MatcherProperty]

name

AWS::ElasticLoadBalancingV2::TargetGroup.Name.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-name

Return type

Optional[str]

port

AWS::ElasticLoadBalancingV2::TargetGroup.Port.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-port

Return type

Union[int, float, None]

protocol

AWS::ElasticLoadBalancingV2::TargetGroup.Protocol.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-protocol

Return type

Optional[str]

tags

AWS::ElasticLoadBalancingV2::TargetGroup.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-tags

Return type

Optional[List[CfnTag]]

target_group_attributes

AWS::ElasticLoadBalancingV2::TargetGroup.TargetGroupAttributes.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-targetgroupattributes

Return type

Union[IResolvable, None, List[Union[IResolvable, TargetGroupAttributeProperty]]]

target_type

AWS::ElasticLoadBalancingV2::TargetGroup.TargetType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-targettype

Return type

Optional[str]

targets

AWS::ElasticLoadBalancingV2::TargetGroup.Targets.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-targets

Return type

Union[IResolvable, None, List[Union[IResolvable, TargetDescriptionProperty]]]

unhealthy_threshold_count

AWS::ElasticLoadBalancingV2::TargetGroup.UnhealthyThresholdCount.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-unhealthythresholdcount

Return type

Union[int, float, None]

vpc_id

AWS::ElasticLoadBalancingV2::TargetGroup.VpcId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html#cfn-elasticloadbalancingv2-targetgroup-vpcid

Return type

Optional[str]