EC2InstanceConnect - AWS Managed Policy


Description: Allows customers to call EC2 Instance Connect to publish ephemeral keys to their EC2 instances and connect via ssh or the EC2 Instance Connect CLI.

EC2InstanceConnect is an AWS managed policy.

Using this policy

You can attach EC2InstanceConnect to your users, groups, and roles.

Policy details

  • Type: AWS managed policy

  • Creation time: June 27, 2019, 18:53 UTC

  • Edited time: June 27, 2019, 18:53 UTC

  • ARN: arn:aws:iam::aws:policy/EC2InstanceConnect

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" : [ { "Sid" : "EC2InstanceConnect", "Action" : [ "ec2:DescribeInstances", "ec2-instance-connect:SendSSHPublicKey" ], "Effect" : "Allow", "Resource" : "*" } ] }

Learn more