vpc-lattice:GetTargetGroup is a Read access-level action in the vpc-lattice service. Grants permission to get information about a target group
ARNs that vpc-lattice:GetTargetGroup can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants vpc-lattice:GetTargetGroup.
Filters access by the presence of tag key-value pairs in the request
Filters access by tag key-value pairs attached to the resource
Filters access by the presence of tag keys in the request
Filters access by the name of a resource-creating API action
Filters access by the ID of a virtual private cloud (VPC)
A minimal policy that allows vpc-lattice:GetTargetGroup. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowVpclatticeGetTargetGroup",
"Effect": "Allow",
"Action": "vpc-lattice:GetTargetGroup",
"Resource": "*"
}
]
}