ROSASharedVPCEndpointPolicy

Last Modified

Mar 12, 2026

March 12, 2026 at 09:28 PM UTC

Version

v3

Total Versions

1

Created

Feb 12, 2026

Actions

17

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "ReadPermissions",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeVpcEndpoints",
            "ec2:DescribeVpcs",
            "ec2:DescribeSecurityGroups"
          ],
          "Resource": "*"
        },
        {
          "Sid": "CreateSecurityGroups",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateSecurityGroup"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:security-group*/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/red-hat-managed": "true"
            }
          }
        },
        {
          "Sid": "DeleteSecurityGroup",
          "Effect": "Allow",
          "Action": [
            "ec2:DeleteSecurityGroup"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:security-group*/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/red-hat-managed": "true"
            }
          }
        },
        {
          "Sid": "SecurityGroupIngressEgress",
          "Effect": "Allow",
          "Action": [
            "ec2:AuthorizeSecurityGroupIngress",
            "ec2:AuthorizeSecurityGroupEgress",
            "ec2:RevokeSecurityGroupIngress",
            "ec2:RevokeSecurityGroupEgress"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:security-group*/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/red-hat-managed": "true"
            }
          }
        },
        {
          "Sid": "CreateSecurityGroupsVPCNoCondition",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateSecurityGroup"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:vpc/*"
          ]
        },
        {
          "Sid": "VPCEndpointWithCondition",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateVpcEndpoint"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:vpc-endpoint/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/red-hat-managed": "true"
            }
          }
        },
        {
          "Sid": "VPCEndpointResourceTagCondition",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateVpcEndpoint"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:security-group*/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/red-hat-managed": "true"
            }
          }
        },
        {
          "Sid": "VPCEndpointNoCondition",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateVpcEndpoint"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:vpc/*",
            "arn:aws:ec2:*:*:subnet/*",
            "arn:aws:ec2:*:*:route-table/*"
          ]
        },
        {
          "Sid": "ManageVPCEndpointWithCondition",
          "Effect": "Allow",
          "Action": [
            "ec2:ModifyVpcEndpoint",
            "ec2:DeleteVpcEndpoints"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:vpc-endpoint/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/red-hat-managed": "true"
            }
          }
        },
        {
          "Sid": "ModifyVPCEndpoingNoCondition",
          "Effect": "Allow",
          "Action": [
            "ec2:ModifyVpcEndpoint"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:subnet/*"
          ]
        },
        {
          "Sid": "CreateTagsRestrictedActions",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateTags"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:vpc-endpoint/*",
            "arn:aws:ec2:*:*:security-group/*"
          ],
          "Condition": {
            "StringEquals": {
              "ec2:CreateAction": [
                "CreateVpcEndpoint",
                "CreateSecurityGroup"
              ]
            }
          }
        }
      ]
    },
    "VersionId": "v3",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T18:00:30+00:00"
  }
}

Version History (4 recorded)

Raw history
v3updated

scope changed, no action added or removed

a9e85a8

ROSASharedVPCEndpointPolicy - Policy Version v3

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

aa00f52

ROSASharedVPCEndpointPolicy - Policy Version v2

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

8ffa091

ROSASharedVPCEndpointPolicy - Policy Version v1

No recorded action delta - this version predates the change index. View the raw diff.

Aug 11, 2025

3384feb