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
IdstringThe id of the instance connect endpoint

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
Properties6
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