vpc-lattice:DeleteServiceNetworkVpcAssociation

Write

vpc-lattice:DeleteServiceNetworkVpcAssociation is a Write access-level action in the vpc-lattice service. Grants permission to delete a service network and VPC association

Resource types

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

arn:${Partition}:vpc-lattice:${Region}:${Account}:servicenetworkvpcassociation/${ServiceNetworkVpcAssociationId}
ServiceNetworkVpcAssociation

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by the presence of tag key-value pairs in the request

aws:ResourceTag/${TagKey} String

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

aws:TagKeys ArrayOfString

Filters access by the presence of tag keys in the request

vpc-lattice:CreateAction String

Filters access by the name of a resource-creating API action

vpc-lattice:PrivateDnsPreference String

Filters access by the private dns preference

vpc-lattice:PrivateDnsSpecifiedDomains ArrayOfString

Filters access by the private dns domains

vpc-lattice:SecurityGroupIds ArrayOfString

Filters access by the IDs of security groups

vpc-lattice:ServiceNetworkArn ARN

Filters access by the ARN of a service network

vpc-lattice:VpcId String

Filters access by the ID of a virtual private cloud (VPC)

Example IAM policy

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

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

Related actions in vpc-lattice

View all vpc-lattice actions →