target_groups
Retrieves a list of target_groups
in a region
Overview
Name | target_groups |
Type | Resource |
Description | target_groups |
Id | awscc.vpclattice.target_groups |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | |
region | string | AWS 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