Class VpcEndpointService
A VPC endpoint service.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class VpcEndpointService : Resource, IVpcEndpointService, IResource, IConstruct, IDependable
Syntax (vb)
Public Class VpcEndpointService
Inherits Resource
Implements IVpcEndpointService, IResource, IConstruct, IDependable
Remarks
Resource: AWS::EC2::VPCEndpointService
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
VpcEndpointService(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
VpcEndpointService(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
VpcEndpointService(Construct, String, IVpcEndpointServiceProps) |
Properties
AcceptanceRequired | Whether to require manual acceptance of new connections to the service. |
AllowedPrincipals | One or more Principal ARNs to allow inbound connections to. |
VpcEndpointServiceId | The id of the VPC Endpoint Service, like vpce-svc-xxxxxxxxxxxxxxxx. |
VpcEndpointServiceLoadBalancers | One or more network load balancers to host the service. |
VpcEndpointServiceName | The service name of the VPC Endpoint Service that clients use to connect to, like com.amazonaws.vpce.<region>.vpce-svc-xxxxxxxxxxxxxxxx. |
WhitelistedPrincipals | (deprecated) One or more Principal ARNs to allow inbound connections to. |
Constructors
VpcEndpointService(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected VpcEndpointService(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
VpcEndpointService(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected VpcEndpointService(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
VpcEndpointService(Construct, String, IVpcEndpointServiceProps)
public VpcEndpointService(Construct scope, string id, IVpcEndpointServiceProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IVpcEndpointServiceProps
Properties
AcceptanceRequired
Whether to require manual acceptance of new connections to the service.
public virtual bool AcceptanceRequired { get; }
Property Value
System.Boolean
AllowedPrincipals
One or more Principal ARNs to allow inbound connections to.
public virtual ArnPrincipal[] AllowedPrincipals { get; }
Property Value
VpcEndpointServiceId
The id of the VPC Endpoint Service, like vpce-svc-xxxxxxxxxxxxxxxx.
public virtual string VpcEndpointServiceId { get; }
Property Value
System.String
Remarks
Attribute: true
VpcEndpointServiceLoadBalancers
One or more network load balancers to host the service.
public virtual IVpcEndpointServiceLoadBalancer[] VpcEndpointServiceLoadBalancers { get; }
Property Value
IVpcEndpointServiceLoadBalancer[]
Remarks
Attribute: true
VpcEndpointServiceName
The service name of the VPC Endpoint Service that clients use to connect to, like com.amazonaws.vpce.<region>.vpce-svc-xxxxxxxxxxxxxxxx.
public virtual string VpcEndpointServiceName { get; }
Property Value
System.String
Remarks
Attribute: true
WhitelistedPrincipals
(deprecated) One or more Principal ARNs to allow inbound connections to.
public virtual ArnPrincipal[] WhitelistedPrincipals { get; }
Property Value
Remarks
Stability: Deprecated