aws ec2 reject-vpc-endpoint-connections
Rejects VPC endpoint connection requests to your VPC endpoint service. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--service-idThe ID of the service.--vpc-endpoint-idsThe IDs of the VPC endpoints.