Ec2InstanceConnectEndpoint

Last Modified

Mar 12, 2026

March 12, 2026 at 09:28 PM UTC

Version

v2

Total Versions

2

Created

Jul 31, 2025

Actions

10

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "ec2:DescribeNetworkInterfaces",
            "ec2:DescribeAvailabilityZones"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:CreateNetworkInterface"
          ],
          "Resource": "arn:aws:ec2:*:*:subnet/*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:CreateNetworkInterface"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*",
          "Condition": {
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "InstanceConnectEndpointId"
              ]
            },
            "StringLike": {
              "aws:RequestTag/InstanceConnectEndpointId": [
                "eice-*"
              ]
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:ModifyNetworkInterfaceAttribute"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*",
          "Condition": {
            "StringLike": {
              "aws:ResourceTag/InstanceConnectEndpointId": [
                "eice-*"
              ]
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:CreateTags"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*",
          "Condition": {
            "StringEquals": {
              "ec2:CreateAction": "CreateNetworkInterface"
            },
            "ForAllValues:StringEquals": {
              "aws:TagKeys": [
                "InstanceConnectEndpointId"
              ]
            },
            "StringLike": {
              "aws:RequestTag/InstanceConnectEndpointId": [
                "eice-*"
              ]
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:AssignIpv6Addresses",
            "ec2:UnassignIpv6Addresses"
          ],
          "Resource": "arn:aws:ec2:*:*:network-interface/*",
          "Condition": {
            "StringLike": {
              "aws:ResourceTag/InstanceConnectEndpointId": [
                "eice-*"
              ]
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": "ec2:ModifyNetworkInterfaceAttribute",
          "Resource": "arn:aws:ec2:*:*:security-group/*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "ec2:DeleteNetworkInterface"
          ],
          "Resource": "*",
          "Condition": {
            "StringLike": {
              "aws:ResourceTag/InstanceConnectEndpointId": [
                "eice-*"
              ]
            }
          }
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2025-07-31T17:49:06+00:00"
  }
}

Version History (5 recorded)

Raw history
v2updated

scope changed, no action added or removed

856dcff

Ec2InstanceConnectEndpoint - Policy Version v2

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

Jul 31, 2025

1eda612

Update detected

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

Sep 18, 2024

aafbae9

Update detected

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

May 13, 2024

1b36617

Update detected

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

Jan 24, 2023

96e8632