Class VpcEndpointServiceProps
Construction properties for a VpcEndpointService.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class VpcEndpointServiceProps : Object, IVpcEndpointServiceProps
Syntax (vb)
Public Class VpcEndpointServiceProps
Inherits Object
Implements 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") }
});
Synopsis
Constructors
VpcEndpointServiceProps() |
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. |
VpcEndpointServiceLoadBalancers | One or more load balancers to host the VPC Endpoint Service. |
VpcEndpointServiceName | (deprecated) Name of the Vpc Endpoint Service. |
WhitelistedPrincipals | (deprecated) IAM users, IAM roles, or AWS accounts to allow inbound connections from. |
Constructors
VpcEndpointServiceProps()
public VpcEndpointServiceProps()
Properties
AcceptanceRequired
Whether requests from service consumers to connect to the service through an endpoint must be accepted.
public Nullable<bool> AcceptanceRequired { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: true
AllowedPrincipals
IAM users, IAM roles, or AWS accounts to allow inbound connections from.
public ArnPrincipal[] AllowedPrincipals { get; set; }
Property Value
Remarks
These principals can connect to your service using VPC endpoints. Takes a list of one or more ArnPrincipal.
Default: - no principals
VpcEndpointServiceLoadBalancers
One or more load balancers to host the VPC Endpoint Service.
public IVpcEndpointServiceLoadBalancer[] VpcEndpointServiceLoadBalancers { get; set; }
Property Value
IVpcEndpointServiceLoadBalancer[]
VpcEndpointServiceName
(deprecated) Name of the Vpc Endpoint Service.
public string VpcEndpointServiceName { get; set; }
Property Value
System.String
Remarks
Default: - CDK generated name
Stability: Deprecated
WhitelistedPrincipals
(deprecated) IAM users, IAM roles, or AWS accounts to allow inbound connections from.
public ArnPrincipal[] WhitelistedPrincipals { get; set; }
Property Value
Remarks
These principals can connect to your service using VPC endpoints. Takes a list of one or more ArnPrincipal.
Default: - no principals
Stability: Deprecated