Class InterfaceVpcEndpointService
A custom-hosted service for an interface VPC endpoint.
Inheritance
System.Object
InterfaceVpcEndpointService
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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
InterfaceVpcEndpointService(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
InterfaceVpcEndpointService(String, Nullable<Double>) |
Properties
Name | The name of the service. |
Port | The port of the service. |
PrivateDnsDefault | Whether Private DNS is supported by default. |
Constructors
InterfaceVpcEndpointService(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected InterfaceVpcEndpointService(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
InterfaceVpcEndpointService(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected InterfaceVpcEndpointService(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
InterfaceVpcEndpointService(String, Nullable<Double>)
public InterfaceVpcEndpointService(string name, Nullable<double> port = null)
Parameters
- name System.String
The name of the service.
- port System.Nullable<System.Double>
The port of the service.
Properties
Name
The name of the service.
public virtual string Name { get; }
Property Value
System.String
Port
The port of the service.
public virtual double Port { get; }
Property Value
System.Double
PrivateDnsDefault
Whether Private DNS is supported by default.
public virtual Nullable<bool> PrivateDnsDefault { get; }
Property Value
System.Nullable<System.Boolean>