AmazonSageMakerHyperPodInferenceGatewayGlobalRoutingAccess

Last Modified

Nov 18, 2026

November 18, 2026 at 12:03 AM UTC

Version

v1

Total Versions

1

Created

Nov 17, 2026

Actions

33

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Sid": "CreateEndpointSvc",
          "Effect": "Allow",
          "Action": "ec2:CreateVpcEndpointServiceConfiguration",
          "Resource": "arn:aws:ec2:*:*:vpc-endpoint-service/*",
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/CreatedBy": "HyperPodInference",
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            },
            "Null": {
              "aws:RequestTag/HyperPodInferenceOwner": "false"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "CreatedBy",
                "HyperPodInferenceOwner"
              ]
            }
          }
        },
        {
          "Sid": "TagEndpointSvc",
          "Effect": "Allow",
          "Action": "ec2:CreateTags",
          "Resource": "arn:aws:ec2:*:*:vpc-endpoint-service/*",
          "Condition": {
            "StringEquals": {
              "ec2:CreateAction": "CreateVpcEndpointServiceConfiguration",
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "CreatedBy",
                "HyperPodInferenceOwner"
              ]
            },
            "Null": {
              "aws:TagKeys": "false"
            }
          }
        },
        {
          "Sid": "DescribeNetwork",
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeVpcEndpointServiceConfigurations",
            "ec2:DescribeVpcEndpointConnections",
            "ec2:DescribeVpcEndpointServices",
            "ec2:DescribeVpcEndpoints",
            "ec2:DescribeSecurityGroups",
            "ec2:DescribeSubnets",
            "ec2:DescribeVpcs",
            "ec2:DescribeRegions",
            "elasticloadbalancing:DescribeLoadBalancers",
            "elasticloadbalancing:DescribeTargetGroups",
            "elasticloadbalancing:DescribeTargetHealth"
          ],
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "DescribeSvcPerms",
          "Effect": "Allow",
          "Action": "ec2:DescribeVpcEndpointServicePermissions",
          "Resource": "arn:aws:ec2:*:*:vpc-endpoint-service/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "ManageEndpointService",
          "Effect": "Allow",
          "Action": [
            "ec2:ModifyVpcEndpointServiceConfiguration",
            "ec2:ModifyVpcEndpointServicePermissions",
            "ec2:DeleteVpcEndpointServiceConfigurations"
          ],
          "Resource": "arn:aws:ec2:*:*:vpc-endpoint-service/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/CreatedBy": "HyperPodInference",
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "AllowMultiRegion",
          "Effect": "Allow",
          "Action": "vpce:AllowMultiRegion",
          "Resource": [
            "arn:aws:ec2:*:*:vpc-endpoint-service/*",
            "arn:aws:ec2:*:*:vpc-endpoint/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "WriteGIGCert",
          "Effect": "Allow",
          "Action": "s3:PutObject",
          "Resource": "arn:aws:s3:::hyperpod-tls*/*gig/*/*-certificate-*.pem",
          "Condition": {
            "StringEquals": {
              "s3:RequestObjectTag/CreatedBy": "HyperPodInference",
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            },
            "ForAllValues:StringEquals": {
              "s3:RequestObjectTagKeys": [
                "CreatedBy"
              ]
            },
            "Null": {
              "s3:RequestObjectTagKeys": "false"
            }
          }
        },
        {
          "Sid": "TagGIGCert",
          "Effect": "Allow",
          "Action": "s3:PutObjectTagging",
          "Resource": "arn:aws:s3:::hyperpod-tls*/*gig/*/*-certificate-*.pem",
          "Condition": {
            "StringEquals": {
              "s3:RequestObjectTag/CreatedBy": "HyperPodInference",
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            },
            "StringEqualsIfExists": {
              "s3:ExistingObjectTag/CreatedBy": "HyperPodInference"
            },
            "ForAllValues:StringEquals": {
              "s3:RequestObjectTagKeys": [
                "CreatedBy"
              ]
            },
            "Null": {
              "s3:RequestObjectTagKeys": "false"
            }
          }
        },
        {
          "Sid": "EncryptGIGCert",
          "Effect": "Allow",
          "Action": "kms:GenerateDataKey",
          "Resource": "arn:aws:kms:*:*:key/*",
          "Condition": {
            "StringLike": {
              "kms:ViaService": "s3.*.amazonaws.com",
              "kms:EncryptionContext:aws:s3:arn": "arn:aws:s3:::hyperpod-tls*"
            },
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "DeleteGIGCert",
          "Effect": "Allow",
          "Action": "s3:DeleteObject",
          "Resource": "arn:aws:s3:::hyperpod-tls*/*gig/*/*-certificate-*.pem",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "DescribeCluster",
          "Effect": "Allow",
          "Action": "sagemaker:DescribeCluster",
          "Resource": "arn:aws:sagemaker:*:*:cluster/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "CreateKinesisEndpoint",
          "Effect": "Allow",
          "Action": "ec2:CreateVpcEndpoint",
          "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/CreatedBy": "HyperPodInference",
              "aws:RequestTag/HyperPodInferenceComponent": "metrics-publisher-kinesis-endpoint",
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            },
            "StringLike": {
              "ec2:VpceServiceName": "com.amazonaws.*.kinesis-streams"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "CreatedBy",
                "HyperPodInferenceOwner",
                "HyperPodInferenceComponent",
                "Name"
              ]
            },
            "Null": {
              "aws:TagKeys": "false"
            }
          }
        },
        {
          "Sid": "CreateEndpointSG",
          "Effect": "Allow",
          "Action": "ec2:CreateSecurityGroup",
          "Resource": "arn:aws:ec2:*:*:security-group/*",
          "Condition": {
            "StringEquals": {
              "aws:RequestTag/CreatedBy": "HyperPodInference",
              "aws:RequestTag/HyperPodInferenceComponent": "metrics-publisher-kinesis-endpoint",
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "CreatedBy",
                "HyperPodInferenceOwner",
                "HyperPodInferenceComponent",
                "Name"
              ]
            },
            "Null": {
              "aws:TagKeys": "false"
            }
          }
        },
        {
          "Sid": "UseVpc",
          "Effect": "Allow",
          "Action": [
            "ec2:CreateVpcEndpoint",
            "ec2:ModifyVpcEndpoint"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:vpc/*",
            "arn:aws:ec2:*:*:subnet/*",
            "arn:aws:ec2:*:*:security-group/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "UseVpcForSG",
          "Effect": "Allow",
          "Action": "ec2:CreateSecurityGroup",
          "Resource": "arn:aws:ec2:*:*:vpc/*",
          "Condition": {
            "StringEquals": {
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        },
        {
          "Sid": "TagKinesisEndpoint",
          "Effect": "Allow",
          "Action": "ec2:CreateTags",
          "Resource": [
            "arn:aws:ec2:*:*:vpc-endpoint/*",
            "arn:aws:ec2:*:*:security-group/*"
          ],
          "Condition": {
            "StringEquals": {
              "ec2:CreateAction": [
                "CreateVpcEndpoint",
                "CreateSecurityGroup"
              ],
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "CreatedBy",
                "HyperPodInferenceOwner",
                "HyperPodInferenceComponent",
                "Name"
              ]
            },
            "Null": {
              "aws:TagKeys": "false"
            }
          }
        },
        {
          "Sid": "ManageKinesisEndpoint",
          "Effect": "Allow",
          "Action": [
            "ec2:DeleteVpcEndpoints",
            "ec2:ModifyVpcEndpoint",
            "ec2:AuthorizeSecurityGroupIngress",
            "ec2:DeleteSecurityGroup"
          ],
          "Resource": [
            "arn:aws:ec2:*:*:vpc-endpoint/*",
            "arn:aws:ec2:*:*:security-group/*"
          ],
          "Condition": {
            "StringEquals": {
              "aws:ResourceTag/CreatedBy": "HyperPodInference",
              "aws:ResourceTag/HyperPodInferenceComponent": "metrics-publisher-kinesis-endpoint",
              "aws:ResourceAccount": "${aws:PrincipalAccount}"
            }
          }
        }
      ]
    },
    "VersionId": "v1",
    "IsDefaultVersion": true,
    "CreateDate": "2026-11-17T23:17:08+00:00"
  }
}

Version History (1 recorded)

Raw history
v1new policy

29 actions added

c49bcf5
New AWS service vpce
Permissions management: ec2:ModifyVpcEndpointServicePermissions: ec2:ModifyVpcEndpointServicePermissions