aws ec2 modify-vpc-endpoint

Modifies attributes of a specified VPC endpoint. The attributes that you can modify depend on the type of VPC endpoint (interface, gateway, or Gateway Load Balancer). For more information, see VPC Endpoints in the Amazon Virtual Private Cloud User Guide

Options

NameDescription
--dry-runChecks 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
--no-dry-runChecks 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
--vpc-endpoint-id <string>The ID of the endpoint
--reset-policy(Gateway endpoint) Specify true to reset the policy document to the default policy. The default policy allows full access to the service
--no-reset-policy(Gateway endpoint) Specify true to reset the policy document to the default policy. The default policy allows full access to the service
--policy-document <string>(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format
--add-route-table-ids <list>(Gateway endpoint) One or more route tables IDs to associate with the endpoint
--remove-route-table-ids <list>(Gateway endpoint) One or more route table IDs to disassociate from the endpoint
--add-subnet-ids <list>(Interface and Gateway Load Balancer endpoints) One or more subnet IDs in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet
--remove-subnet-ids <list>(Interface endpoint) One or more subnets IDs in which to remove the endpoint
--add-security-group-ids <list>(Interface endpoint) One or more security group IDs to associate with the network interface
--remove-security-group-ids <list>(Interface endpoint) One or more security group IDs to disassociate from the network interface
--private-dns-enabled(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC
--no-private-dns-enabled(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command