Modifies the specified EC2 Instance Connect Endpoint
Source:R/ec2_operations.R
ec2_modify_instance_connect_endpoint.RdModifies the specified EC2 Instance Connect Endpoint.
See https://www.paws-r-sdk.com/docs/ec2_modify_instance_connect_endpoint/ for full documentation.
Usage
ec2_modify_instance_connect_endpoint(
DryRun = NULL,
InstanceConnectEndpointId,
IpAddressType = NULL,
SecurityGroupIds = NULL,
PreserveClientIp = NULL
)Arguments
- DryRun
Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- InstanceConnectEndpointId
[required] The ID of the EC2 Instance Connect Endpoint to modify.
- IpAddressType
The new IP address type for the EC2 Instance Connect Endpoint.
PreserveClientIpis only supported on IPv4 EC2 Instance Connect Endpoints. To usePreserveClientIp, the value forIpAddressTypemust beipv4.- SecurityGroupIds
Changes the security groups for the EC2 Instance Connect Endpoint. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.
- PreserveClientIp
Indicates whether the client IP address is preserved as the source when you connect to a resource. The following are the possible values.
true- Use the IP address of the client. Your instance must have an IPv4 address.false- Use the IP address of the network interface.