Created
March 25, 2023 23:21
-
-
Save spasam/dffc22e737c26a7f1bd6241726707795 to your computer and use it in GitHub Desktop.
Disallows Virtual Private Network (VPN) connections (Site-to-Site VPN and Client VPN) to an Amazon Virtual Private Cloud (VPC)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "GRDISALLOWVPNCONNECTIONS", | |
"Effect": "Deny", | |
"Action": [ | |
"ec2:CreateVPNGateway", | |
"ec2:AttachVPNGateway", | |
"ec2:CreateCustomerGateway", | |
"ec2:CreateVpnConnection", | |
"ec2:ModifyVpnConnection", | |
"ec2:CreateClientVpnEndpoint", | |
"ec2:ModifyClientVpnEndpoint", | |
"ec2:AssociateClientVpnTargetNetwork", | |
"ec2:AuthorizeClientVpnIngress" | |
], | |
"Resource": [ | |
"*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment