AWS::VpcLattice::TargetGroupA target group is a collection of targets, or compute resources, that run your application or service. A target group can only be used by a single service.
5 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Type | string | RequiredCreate-only |
Config | TargetGroupConfig | |
Name | string | Create-only |
Tags | Array<Tag> | |
Targets | Array<Target> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | - |
CreatedAt | string | - |
Id | string | - |
LastUpdatedAt | string | - |
Status | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::VpcLattice::TargetGroup
Resources:
MyResource:
Type: AWS::VpcLattice::TargetGroup
Properties:
Type: "IP"
Tags:
- Key: Environment
Value: Production
Name: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
vpc-lattice:CreateTargetGroupvpc-lattice:GetTargetGroupvpc-lattice:RegisterTargetsvpc-lattice:ListTargetsvpc-lattice:ListTagsForResourcevpc-lattice:TagResourcevpc-lattice:UntagResourceec2:DescribeVpcsvpc-lattice:GetTargetGroupvpc-lattice:ListTargetsvpc-lattice:ListTagsForResourcevpc-lattice:UpdateTargetGroupvpc-lattice:GetTargetGroupvpc-lattice:ListTargetsvpc-lattice:RegisterTargetsvpc-lattice:DeregisterTargetsec2:DescribeVpcsec2:DescribeInstancesec2:DescribeSubnetsvpc-lattice:DeleteTargetGroupvpc-lattice:GetTargetGroupvpc-lattice:DeregisterTargetsvpc-lattice:ListTargetslambda:RemovePermissionvpc-lattice:ListTargetGroupsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
NameTypeConfig/PortConfig/IpAddressTypeConfig/ProtocolConfig/ProtocolVersionConfig/VpcIdentifierConfig/LambdaEventStructureVersion