Class InterfaceVpcEndpointService
A custom-hosted service for an interface VPC endpoint.
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InterfaceVpcEndpointService : DeputyBase, IInterfaceVpcEndpointService
Syntax (vb)
Public Class InterfaceVpcEndpointService Inherits DeputyBase Implements IInterfaceVpcEndpointService
Remarks
ExampleMetadata: infused
Examples
Vpc vpc;
new InterfaceVpcEndpoint(this, "VPC Endpoint", new InterfaceVpcEndpointProps {
Vpc = vpc,
Service = new 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 = new SubnetSelection {
AvailabilityZones = new [] { "us-east-1a", "us-east-1c" }
}
});
Synopsis
Constructors
| InterfaceVpcEndpointService(string, double?) | A custom-hosted service for an interface VPC endpoint. |
Properties
| Name | The name of the service. |
| Port | The port of the service. |
| PrivateDnsDefault | Whether Private DNS is supported by default. |
Constructors
InterfaceVpcEndpointService(string, double?)
A custom-hosted service for an interface VPC endpoint.
public InterfaceVpcEndpointService(string name, double? port = null)
Parameters
Remarks
ExampleMetadata: infused
Properties
Name
The name of the service.
public virtual string Name { get; }
Property Value
Remarks
ExampleMetadata: infused
Port
The port of the service.
public virtual double Port { get; }
Property Value
Remarks
ExampleMetadata: infused
PrivateDnsDefault
Whether Private DNS is supported by default.
public virtual bool? PrivateDnsDefault { get; }
Property Value
bool?
Remarks
ExampleMetadata: infused