class InterfaceVpcEndpointService
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.InterfaceVpcEndpointService |
Java | software.amazon.awscdk.services.ec2.InterfaceVpcEndpointService |
Python | aws_cdk.aws_ec2.InterfaceVpcEndpointService |
TypeScript (source) | @aws-cdk/aws-ec2 » InterfaceVpcEndpointService |
Implements
IInterface
A custom-hosted service for an interface VPC endpoint.
Example
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
new InterfaceVpcEndpointService(name: string, port?: number)
Parameters
- name
string
- port
number
Properties
Name | Type | Description |
---|---|---|
name | string | The name of the service. |
port | number | The port of the service. |
private | boolean | Whether Private DNS is supported by default. |
name
Type:
string
The name of the service.
port
Type:
number
The port of the service.
privateDnsDefault?
Type:
boolean
(optional)
Whether Private DNS is supported by default.