Actions, resources, and condition keys for Amazon VPC Lattice Services
Amazon VPC Lattice Services (service prefix: vpc-lattice-svcs) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
Actions defined by Amazon VPC Lattice Services
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to connect to a VPC Lattice service |
Write |
|||
Grants permission to invoke a VPC Lattice service |
vpc-lattice-svcs:RequestHeader/${HeaderName} vpc-lattice-svcs:RequestMethod vpc-lattice-svcs:RequestQueryString/${QueryStringKey} |
Write |
Resource types defined by Amazon VPC Lattice Services
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:vpc-lattice:${Region}:${Account}:service/${ServiceId}/${RequestPath} |
||
arn:${Partition}:vpc-lattice:${Region}:${Account}:service/${ServiceId} |
Condition keys for Amazon VPC Lattice Services
Amazon VPC Lattice Services defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the destination port the request is made to |
Numeric |
|
Filters access by a header name-value pair in the request headers |
String |
|
Filters access by the method of the request |
String |
|
Filters access by the path portion of the request URL |
String |
|
Filters access by the query string key-value pairs in the request URL |
ArrayOfString |
|
Filters access by the ARN of the service receiving the request |
ARN |
|
Filters access by the ARN of the service network receiving the request |
ARN |
|
Filters access by the VPC the request is made from |
String |
|
Filters access by the owning account of the VPC the request is made from |
String |