# InterfaceVpcEndpointService

A custom-hosted service for an interface VPC endpoint.

Extends: InterfaceVpcEndpointService
Implements: IInterfaceVpcEndpointService

- Source: [`aws-ec2/lib/vpc-endpoint.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts#L378)

## Example

```ts
declare const vpc: ec2.Vpc;

new ec2.InterfaceVpcEndpoint(this, 'VPC Endpoint', {
  vpc,
  service: new ec2.InterfaceVpcEndpointService('com.amazonaws.vpce.us-east-1.vpce-svc-uuddlrlrbastrtsvc', 443),
  // Choose which availability zones to place the VPC endpoint in, based on
  // available AZs
  subnets: {
    availabilityZones: ['us-east-1a', 'us-east-1c']
  }
});
```

## Initializer

```ts
new InterfaceVpcEndpointService(name: string, port?: number)
```

## Properties

- `name`: string — The name of the service.

- `port`: number — The port of the service.

- `privateDnsDefault`: boolean — Whether Private DNS is supported by default.
