Show / Hide Table of Contents

Interface IVpcEndpointServiceProps

Construction properties for a VpcEndpointService.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVpcEndpointServiceProps
Syntax (vb)
Public Interface IVpcEndpointServiceProps
Remarks

ExampleMetadata: infused

Examples
NetworkLoadBalancer networkLoadBalancer;


            new VpcEndpointService(this, "EndpointService", new VpcEndpointServiceProps {
                VpcEndpointServiceLoadBalancers = new [] { networkLoadBalancer },
                // Support both IPv4 and IPv6 connections to the endpoint service
                SupportedIpAddressTypes = new [] { IpAddressType.IPV4, IpAddressType.IPV6 }
            });

Synopsis

Properties

AcceptanceRequired

Whether requests from service consumers to connect to the service through an endpoint must be accepted.

AllowedPrincipals

IAM users, IAM roles, or AWS accounts to allow inbound connections from.

AllowedRegions

The Regions from which service consumers can access the service.

ContributorInsights

Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.

SupportedIpAddressTypes

Specify which IP address types are supported for VPC endpoint service.

VpcEndpointServiceLoadBalancers

One or more load balancers to host the VPC Endpoint Service.

Properties

AcceptanceRequired

Whether requests from service consumers to connect to the service through an endpoint must be accepted.

bool? AcceptanceRequired { get; }
Property Value

bool?

Remarks

Default: true

AllowedPrincipals

IAM users, IAM roles, or AWS accounts to allow inbound connections from.

ArnPrincipal[]? AllowedPrincipals { get; }
Property Value

ArnPrincipal[]

Remarks

These principals can connect to your service using VPC endpoints. Takes a list of one or more ArnPrincipal.

Default: - no principals

AllowedRegions

The Regions from which service consumers can access the service.

string[]? AllowedRegions { get; }
Property Value

string[]

Remarks

Default: - No Region restrictions

ContributorInsights

Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.

bool? ContributorInsights { get; }
Property Value

bool?

Remarks

Default: false

SupportedIpAddressTypes

Specify which IP address types are supported for VPC endpoint service.

IpAddressType[]? SupportedIpAddressTypes { get; }
Property Value

IpAddressType[]

Remarks

Default: - No specific IP address types configured

VpcEndpointServiceLoadBalancers

One or more load balancers to host the VPC Endpoint Service.

IVpcEndpointServiceLoadBalancer[] VpcEndpointServiceLoadBalancers { get; }
Property Value

IVpcEndpointServiceLoadBalancer[]

Remarks

ExampleMetadata: infused

Back to top Generated by DocFX