# InterfaceVpcEndpointAttributes

Construction properties for an ImportedInterfaceVpcEndpoint.

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

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';

declare const securityGroup: ec2.SecurityGroup;
const interfaceVpcEndpointAttributes: ec2.InterfaceVpcEndpointAttributes = {
  port: 123,
  vpcEndpointId: 'vpcEndpointId',

  // the properties below are optional
  securityGroups: [securityGroup],
};
```

## Properties

- `port`: number (required) — The port of the service of the interface VPC endpoint.

- `securityGroups`: [ISecurityGroup](/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.ISecurityGroup.html)[] — The security groups associated with the interface VPC endpoint.

  If you wish to manage the network connections associated with this endpoint,
  you will need to specify its security groups.

- `vpcEndpointId`: string (required) — The interface VPC endpoint identifier.
