vpc-lattice:CreateListener is a Write access-level action in the vpc-lattice service. Grants permission to create a listener
ARNs that vpc-lattice:CreateListener can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants vpc-lattice:CreateListener.
Filters access by the presence of tag key-value pairs in the request
Filters access by the presence of tag keys in the request
Filters access by the protocol specified in the request
Filters access by the ARNs of target groups
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows vpc-lattice:CreateListener. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowVpclatticeCreateListener",
"Effect": "Allow",
"Action": "vpc-lattice:CreateListener",
"Resource": "*"
}
]
}