Skip to content

/AWS1/CL_EC2=>CREATEINSTANCECONNECTENDPT()

About CreateInstanceConnectEndpoint

Creates an EC2 Instance Connect Endpoint.

An EC2 Instance Connect Endpoint allows you to connect to an instance, without requiring the instance to have a public IPv4 address. For more information, see Connect to your instances without requiring a public IPv4 address using EC2 Instance Connect Endpoint in the Amazon EC2 User Guide.

Method Signature

IMPORTING

Required arguments:

IV_SUBNETID TYPE /AWS1/EC2SUBNETID /AWS1/EC2SUBNETID

The ID of the subnet in which to create the EC2 Instance Connect Endpoint.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

IT_SECURITYGROUPIDS TYPE /AWS1/CL_EC2SECGRIDSTRLSTREQ_W=>TT_SECGROUPIDSTRINGLISTREQUEST TT_SECGROUPIDSTRINGLISTREQUEST

One or more security groups to associate with the endpoint. If you don't specify a security group, the default security group for your VPC will be associated with the endpoint.

IV_PRESERVECLIENTIP TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Indicates whether your client's IP address is preserved as the source. The value is true or false.

  • If true, your client's IP address is used when you connect to a resource.

  • If false, the elastic network interface IP address is used when you connect to a resource.

Default: true

IV_CLIENTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

IT_TAGSPECIFICATIONS TYPE /AWS1/CL_EC2TAGSPECIFICATION=>TT_TAGSPECIFICATIONLIST TT_TAGSPECIFICATIONLIST

The tags to apply to the EC2 Instance Connect Endpoint during creation.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2CREINSTCNCTENDPTRS /AWS1/CL_EC2CREINSTCNCTENDPTRS