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 networkLoadBalancer1;
NetworkLoadBalancer networkLoadBalancer2;
new VpcEndpointService(this, "EndpointService", new VpcEndpointServiceProps {
VpcEndpointServiceLoadBalancers = new [] { networkLoadBalancer1, networkLoadBalancer2 },
AcceptanceRequired = true,
AllowedPrincipals = new [] { new ArnPrincipal("arn:aws:iam::123456789012:root") },
ContributorInsights = true
});
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. |
ContributorInsights | Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink. |
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.
virtual Nullable<bool> AcceptanceRequired { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
AllowedPrincipals
IAM users, IAM roles, or AWS accounts to allow inbound connections from.
virtual ArnPrincipal[] AllowedPrincipals { get; }
Property Value
Remarks
These principals can connect to your service using VPC endpoints. Takes a list of one or more ArnPrincipal.
Default: - no principals
ContributorInsights
Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.
virtual Nullable<bool> ContributorInsights { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
VpcEndpointServiceLoadBalancers
One or more load balancers to host the VPC Endpoint Service.
IVpcEndpointServiceLoadBalancer[] VpcEndpointServiceLoadBalancers { get; }
Property Value
IVpcEndpointServiceLoadBalancer[]