Skip to main content

target_groups

Retrieves a list of target_groups in a region

Overview

Nametarget_groups
TypeResource
Descriptiontarget_groups
Idawscc.vpclattice.target_groups

Fields

NameDatatypeDescription
arnstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn
FROM awscc.vpclattice.target_groups
WHERE region = 'us-east-1'

Permissions

To operate on the target_groups resource, the following permissions are required:

Create

vpc-lattice:CreateTargetGroup,
vpc-lattice:GetTargetGroup,
vpc-lattice:RegisterTargets,
vpc-lattice:ListTargets,
vpc-lattice:ListTagsForResource,
vpc-lattice:TagResource,
vpc-lattice:UntagResource,
ec2:DescribeVpcs,
ec2:DescribeInstances,
ec2:DescribeSubnets,
ec2:DescribeAvailabilityZoneMappings,
lambda:Invoke,
lambda:AddPermission,
elasticloadbalancing:DescribeLoadBalancers,
iam:CreateServiceLinkedRole

List

vpc-lattice:ListTargetGroups