Amazon VPC Lattice API permissions
You must grant IAM identities (such as users or roles) permission to call the VPC Lattice API actions they need, as described in Policy actions for VPC Lattice. In addition, for some VPC Lattice actions, you must grant IAM identities permission to call specific actions from other AWS APIs.
Required permissions for the API
When calling the following actions from the API, you must grant IAM users permission to call the specified actions.
CreateServiceNetworkVpcAssociation
-
-
vpc-lattice:CreateServiceNetworkVpcAssociation
-
ec2:DescribeVpcs
-
ec2:DescribeSecurityGroups
(Only needed when security groups are provided)
-
UpdateServiceNetworkVpcAssociation
-
-
vpc-lattice:UpdateServiceNetworkVpcAssociation
-
ec2:DescribeSecurityGroups
(Only needed when security groups are provided)
-
CreateTargetGroup
-
-
vpc-lattice:CreateTargetGroup
-
ec2:DescribeVpcs
-
RegisterTargets
-
-
vpc-lattice:RegisterTargets
-
ec2:DescribeInstances
(Only needed whenINSTANCE
is the target group type) -
ec2:DescribeVpcs
(Only needed whenINSTANCE
orIP
is the target group type) -
ec2:DescribeSubnets
(Only needed whenINSTANCE
orIP
is the target group type) -
lambda:GetFunction
(Only needed whenLAMBDA
is the target group type) -
lambda:AddPermission
(Only needed if the target group doesn't already have permission to invoke the specified Lambda function)
-
DeregisterTargets
-
-
vpc-lattice:DeregisterTargets
-
CreateAccessLogSubscription
-
-
vpc-lattice:CreateAccessLogSubscription
-
logs:GetLogDelivery
-
logs:CreateLogDelivery
-
DeleteAccessLogSubscription
-
-
vpc-lattice:DeleteAccessLogSubscription
-
logs:DeleteLogDelivery
-
UpdateAccessLogSubscription
-
-
vpc-lattice:UpdateAccessLogSubscription
-
logs:UpdateLogDelivery
-