vpc-lattice-svcs:Connect

Write

vpc-lattice-svcs:Connect is a Write access-level action in the vpc-lattice-svcs service. Grants permission to connect to a VPC Lattice service

Resource types

ARNs that vpc-lattice-svcs:Connect can be scoped to in an IAM policy.

arn:${Partition}:vpc-lattice:${Region}:${Account}:service/${ServiceId} required
TCP Service

Condition keys

Keys you can use in the Condition block of a policy that grants vpc-lattice-svcs:Connect.

vpc-lattice-svcs:Port Numeric

Filters access by the destination port the request is made to

vpc-lattice-svcs:ServiceArn ARN

Filters access by the ARN of the service receiving the request

vpc-lattice-svcs:ServiceNetworkArn ARN

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

vpc-lattice-svcs:SourceVpc String

Filters access by the VPC the request is made from

vpc-lattice-svcs:SourceVpcOwnerAccount String

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

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows vpc-lattice-svcs:Connect. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowVpclatticesvcsConnect",
      "Effect": "Allow",
      "Action": "vpc-lattice-svcs:Connect",
      "Resource": "*"
    }
  ]
}

Related actions in vpc-lattice-svcs

View all vpc-lattice-svcs actions →