AWS::ElasticLoadBalancingV2::TargetGroupResource Type definition for AWS::ElasticLoadBalancingV2::TargetGroup
20 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
HealthCheckEnabled | boolean | |
HealthCheckIntervalSeconds | integer | |
HealthCheckPath | string | |
HealthCheckPort | string | |
HealthCheckProtocol | string | |
HealthCheckTimeoutSeconds | integer | |
HealthyThresholdCount | integer | |
IpAddressType | string | Create-only |
Matcher | Matcher | |
Name | string | Create-only |
Port | integer | Create-only |
Protocol | string | Create-only |
ProtocolVersion | string | Create-only |
Tags | Array<Tag> | |
TargetControlPort | integer | |
TargetGroupAttributes | Array<TargetGroupAttribute> | |
Targets | Array<TargetDescription> | |
TargetType | string | Create-only |
UnhealthyThresholdCount | integer | |
VpcId | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
LoadBalancerArns | Array<string> | The Amazon Resource Names (ARNs) of the load balancers that route traffic to this target group. |
TargetGroupArn | string | The ARN of the Target Group |
TargetGroupFullName | string | The full name of the target group. |
TargetGroupName | string | The name of the target group. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ElasticLoadBalancingV2::TargetGroup
Resources:
MyResource:
Type: AWS::ElasticLoadBalancingV2::TargetGroup
Properties:
Tags:
- Key: Environment
Value: Production
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
elasticloadbalancing:CreateTargetGroupelasticloadbalancing:DescribeTargetGroupselasticloadbalancing:RegisterTargetselasticloadbalancing:ModifyTargetGroupAttributeselasticloadbalancing:DescribeTargetHealthelasticloadbalancing:AddTagselasticloadbalancing:DeleteTargetGroupelasticloadbalancing:DescribeTargetGroupselasticloadbalancing:DescribeTargetGroupselasticloadbalancing:DescribeTargetGroupselasticloadbalancing:DescribeTargetGroupAttributeselasticloadbalancing:DescribeTargetHealthelasticloadbalancing:DescribeTagselasticloadbalancing:DescribeTargetGroupselasticloadbalancing:ModifyTargetGroupelasticloadbalancing:ModifyTargetGroupAttributeselasticloadbalancing:RegisterTargetselasticloadbalancing:DescribeTargetHealthelasticloadbalancing:DeregisterTargetselasticloadbalancing:AddTagselasticloadbalancing:RemoveTagsEverything you need to know about ElasticLoadBalancingV2 on one page. HD quality, print-friendly.
Download Free InfographicTargetGroupArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
TargetTypeProtocolVersionPortNameVpcIdProtocolIpAddressType