Ec2InstanceConnectEndpoint - AWS Managed Policy

Ec2InstanceConnectEndpoint

Description: EC2 Instance Connect endpoint policy to manage EC2 Instance Connect endpoints created by the customer

Ec2InstanceConnectEndpoint is an AWS managed policy.

Using this policy

This policy is attached to a service-linked role that allows the service to perform actions on your behalf. You cannot attach this policy to your users, groups, or roles.

Policy details

  • Type: Service-linked role policy

  • Creation time: January 24, 2023, 20:19 UTC

  • Edited time: January 24, 2023, 20:19 UTC

  • ARN: arn:aws:iam::aws:policy/aws-service-role/Ec2InstanceConnectEndpoint

Policy version

Policy version: v1 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy 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" ] }, "Null" : { "aws:RequestTag/InstanceConnectEndpointId" : "false" } } }, { "Effect" : "Allow", "Action" : [ "ec2:ModifyNetworkInterfaceAttribute" ], "Resource" : "arn:aws:ec2:*:*:network-interface/*", "Condition" : { "Null" : { "aws:ResourceTag/InstanceConnectEndpointId" : "false" } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateTags" ], "Resource" : "arn:aws:ec2:*:*:network-interface/*", "Condition" : { "StringEquals" : { "ec2:CreateAction" : "CreateNetworkInterface" }, "ForAllValues:StringEquals" : { "aws:TagKeys" : [ "InstanceConnectEndpointId" ] }, "Null" : { "aws:RequestTag/InstanceConnectEndpointId" : "false" } } }, { "Effect" : "Allow", "Action" : [ "ec2:DeleteNetworkInterface" ], "Resource" : "*", "Condition" : { "StringLike" : { "aws:ResourceTag/InstanceConnectEndpointId" : [ "eice-*" ] } } } ] }

Learn more