---
name: aws-ec2-instance-connect
description: "AWS EC2 Instance Connect API skill. Use when working with AWS EC2 Instance Connect for root. Covers 2 endpoints."
version: 1.0.0
generator: lapsh
---

# AWS EC2 Instance Connect
API version: 2018-04-02

## Auth
AWS SigV4

## Base URL
Not specified.

## Setup
1. Configure auth: AWS SigV4
2. Verify API access with a test request
3. POST / -- create first resource

## Endpoints
2 endpoints across 1 group. See references/api-spec.lap for full details.

### Root
| Method | Path | Description |
|--------|------|-------------|
| POST | / | Pushes an SSH public key to the specified EC2 instance for use by the specified user. The key remains for 60 seconds. For more information, see Connect to your Linux instance using EC2 Instance Connect in the Amazon EC2 User Guide. |
| POST | / | Pushes an SSH public key to the specified EC2 instance. The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see EC2 Serial Console in the Amazon EC2 User Guide. |

## Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "Create a resource?" -> POST /
- "How to authenticate?" -> See Auth section above

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints return the modified resource on success

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
