aws-cdk-lib.aws_ec2.InterfaceVpcEndpointAttributes

interface InterfaceVpcEndpointAttributes

LanguageType name
.NETAmazon.CDK.AWS.EC2.InterfaceVpcEndpointAttributes
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#InterfaceVpcEndpointAttributes
Javasoftware.amazon.awscdk.services.ec2.InterfaceVpcEndpointAttributes
Pythonaws_cdk.aws_ec2.InterfaceVpcEndpointAttributes
TypeScript (source)aws-cdk-lib » aws_ec2 » InterfaceVpcEndpointAttributes

Construction properties for an ImportedInterfaceVpcEndpoint.

Example

// 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

NameTypeDescription
portnumberThe port of the service of the interface VPC endpoint.
vpcEndpointIdstringThe interface VPC endpoint identifier.
securityGroups?ISecurityGroup[]The security groups associated with the interface VPC endpoint.

port

Type: number

The port of the service of the interface VPC endpoint.


vpcEndpointId

Type: string

The interface VPC endpoint identifier.


securityGroups?

Type: ISecurityGroup[] (optional)

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.