Creates an EC2 Instance Connect Endpoint
Source:R/ec2_operations.R
ec2_create_instance_connect_endpoint.RdCreates an EC2 Instance Connect Endpoint.
See https://www.paws-r-sdk.com/docs/ec2_create_instance_connect_endpoint/ for full documentation.
Usage
ec2_create_instance_connect_endpoint(
DryRun = NULL,
SubnetId,
SecurityGroupIds = NULL,
PreserveClientIp = NULL,
ClientToken = NULL,
TagSpecifications = NULL,
IpAddressType = NULL
)Arguments
- DryRun
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 isUnauthorizedOperation.- SubnetId
[required] The ID of the subnet in which to create the EC2 Instance Connect Endpoint.
- SecurityGroupIds
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.
- PreserveClientIp
Indicates whether the client IP address is preserved as the source. The following are the possible values.
true- Use the client IP address as the source.false- Use the network interface IP address as the source.
PreserveClientIpis only supported on IPv4 EC2 Instance Connect Endpoints. To usePreserveClientIp, the value forIpAddressTypemust beipv4.Default:
false- ClientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
The tags to apply to the EC2 Instance Connect Endpoint during creation.
- IpAddressType
The IP address type of the endpoint.
If no value is specified, the default value is determined by the IP address type of the subnet:
dualstack- If the subnet has both IPv4 and IPv6 CIDRsipv4- If the subnet has only IPv4 CIDRsipv6- If the subnet has only IPv6 CIDRs
PreserveClientIpis only supported on IPv4 EC2 Instance Connect Endpoints. To usePreserveClientIp, the value forIpAddressTypemust beipv4.