View a markdown version of this page

Actions, resources, and condition keys for Amazon VPC Lattice Services - Service Authorization Reference

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:

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.

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

Service

arn:${Partition}:vpc-lattice:${Region}:${Account}:service/${ServiceId}/${RequestPath}

TCP Service

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

vpc-lattice-svcs:Port

Filters access by the destination port the request is made to

Numeric

vpc-lattice-svcs:RequestHeader/${HeaderName}

Filters access by a header name-value pair in the request headers

String

vpc-lattice-svcs:RequestMethod

Filters access by the method of the request

String

vpc-lattice-svcs:RequestPath

Filters access by the path portion of the request URL

String

vpc-lattice-svcs:RequestQueryString/${QueryStringKey}

Filters access by the query string key-value pairs in the request URL

ArrayOfString

vpc-lattice-svcs:ServiceArn

Filters access by the ARN of the service receiving the request

ARN

vpc-lattice-svcs:ServiceNetworkArn

Filters access by the ARN of the service network receiving the request

ARN

vpc-lattice-svcs:SourceVpc

Filters access by the VPC the request is made from

String

vpc-lattice-svcs:SourceVpcOwnerAccount

Filters access by the owning account of the VPC the request is made from

String