AWS Fundamentals Logo
AWS Fundamentals
AWS::EC2::InstanceConnectEndpoint

EC2 InstanceConnectEndpoint

Resource Type definition for AWS::EC2::InstanceConnectEndpoint

Properties

5 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
SubnetId
string
RequiredCreate-only
ClientToken
string
Create-onlyWrite-only
PreserveClientIp
boolean
Create-only
SecurityGroupIds
Array<string>
Create-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
AvailabilityZonestringThe Availability Zone of the EC2 Instance Connect Endpoint
AvailabilityZoneIdstringThe ID of the Availability Zone of the EC2 Instance Connect Endpoint
CreatedAtstringThe date and time that the EC2 Instance Connect Endpoint was created
IdstringThe ID of the EC2 Instance Connect Endpoint.
InstanceConnectEndpointArnstringThe Amazon Resource Name (ARN) of the EC2 Instance Connect Endpoint
NetworkInterfaceIdsArray<string>The ID of the elastic network interface that Amazon EC2 automatically created when creating the EC2 Instance Connect Endpoint
OwnerIdstringThe ID of the AWS account that created the EC2 Instance Connect Endpoint
PublicDnsNamesInstanceConnectEndpointPublicDnsNamesThe public DNS names of the endpoint
StatestringThe current state of the EC2 Instance Connect Endpoint
StateMessagestringThe message for the current state of the EC2 Instance Connect Endpoint. Can include a failure message
VpcIdstringThe ID of the VPC in which the EC2 Instance Connect Endpoint was created

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::InstanceConnectEndpoint

Resources:
  MyResource:
    Type: AWS::EC2::InstanceConnectEndpoint
    Properties:
      SubnetId: "my-subnetid"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

ec2:CreateInstanceConnectEndpointec2:DescribeInstanceConnectEndpointsec2:CreateTagsec2:CreateNetworkInterfaceiam:CreateServiceLinkedRole

read

ec2:DescribeInstanceConnectEndpoints

update

ec2:DescribeInstanceConnectEndpointsec2:CreateTagsec2:DeleteTags

delete

ec2:DeleteInstanceConnectEndpointec2:DescribeInstanceConnectEndpoints

list

ec2:DescribeInstanceConnectEndpoints

Get the EC2 Cheat Sheet

Everything you need to know about EC2 on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceEC2
Properties16
Required1
TaggingSupported
Primary IDId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

SubnetIdClientTokenPreserveClientIpSecurityGroupIds

External Links