---
type: resource-type
title: InstanceConnectEndpoint
description: aws resource type AWS::EC2::InstanceConnectEndpoint
name: InstanceConnectEndpoint
lexicon: aws
resource_type: AWS::EC2::InstanceConnectEndpoint
---
`AWS::EC2::InstanceConnectEndpoint`, a resource type of the aws lexicon.

## Properties

- `SubnetId` (`string`, required): The ID of the subnet in which the EC2 Instance Connect Endpoint was created.
- `AvailabilityZone` (`string`, optional): The Availability Zone of the EC2 Instance Connect Endpoint
- `AvailabilityZoneId` (`string`, optional): The ID of the Availability Zone of the EC2 Instance Connect Endpoint
- `ClientToken` (`string`, optional): The client token of the instance connect endpoint.
- `CreatedAt` (`string`, optional): The date and time that the EC2 Instance Connect Endpoint was created
- `Id` (`string`, optional): The ID of the EC2 Instance Connect Endpoint.
- `InstanceConnectEndpointArn` (`string`, optional): The Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint
- `NetworkInterfaceIds` (`string[]`, optional): The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint
- `OwnerId` (`string`, optional): The ID of the AWS account that created the EC2 Instance Connect Endpoint
- `PreserveClientIp` (`boolean`, optional): Indicates whether your client's IP address is preserved as the source when you connect to a resource.
- `PublicDnsNames` (`InstanceConnectEndpoint_InstanceConnectEndpointPublicDnsNames`, optional): The public DNS names of the endpoint
- `SecurityGroupIds` (`string[]`, optional): The security groups associated with the endpoint.
- `State` (`"create-complete" | "create-failed" | "create-in-progress" | "delete-complete" | "delete-failed" | "delete-in-progress" | "update-complete" | "update-failed" | "update-in-progress"`, optional): The current state of the EC2 Instance Connect Endpoint
- `StateMessage` (`string`, optional): The message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message
- `Tags` (`InstanceConnectEndpoint_Tag[]`, optional): The tags assigned to the EC2 Instance Connect Endpoint.
- `VpcId` (`string`, optional): The ID of the VPC in which the EC2 Instance Connect Endpoint was created

## Attributes

- `AvailabilityZone`
- `AvailabilityZoneId`
- `CreatedAt`
- `Id`
- `InstanceConnectEndpointArn`
- `NetworkInterfaceIds`
- `OwnerId`
- `PublicDnsNames`
- `State`
- `StateMessage`
- `VpcId`
