Show / Hide Table of Contents

Class InterfaceVpcEndpointService

A custom-hosted service for an interface VPC endpoint.

Inheritance
object
InterfaceVpcEndpointService
Implements
IInterfaceVpcEndpointService
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
name string

The name of the service.

port double?

The port of the service.

Remarks

ExampleMetadata: infused

Properties

Name

The name of the service.

public virtual string Name { get; }
Property Value

string

Remarks

ExampleMetadata: infused

Port

The port of the service.

public virtual double Port { get; }
Property Value

double

Remarks

ExampleMetadata: infused

PrivateDnsDefault

Whether Private DNS is supported by default.

public virtual bool? PrivateDnsDefault { get; }
Property Value

bool?

Remarks

ExampleMetadata: infused

Implements

IInterfaceVpcEndpointService
Back to top Generated by DocFX