Skip to content
v2.274.0

InterfaceVpcEndpointAttributes Struct ​

Construction properties for an ImportedInterfaceVpcEndpoint.

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 ​

portnumberportint | floatportNumberPortdoublePort*float64required#
The port of the service of the interface VPC endpoint.
securityGroupsISecurityGroup[]security_groupstyping.List[ISecurityGroup]securityGroupsList<ISecurityGroup>SecurityGroupsISecurityGroup[]SecurityGroups*[]ISecurityGroup#
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.

vpcEndpointIdstringvpc_endpoint_idstrvpcEndpointIdStringVpcEndpointIdstringVpcEndpointId*stringrequired#
The interface VPC endpoint identifier.