Class VpcEndpointService
A VPC endpoint service.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VpcEndpointService : Resource, IVpcEndpointService, IResource
Syntax (vb)
Public Class VpcEndpointService
Inherits Resource
Implements IVpcEndpointService, IResource
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") },
ContributorInsights = true
});
Synopsis
Constructors
Vpc |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Vpc |
Used by jsii to construct an instance of this class from DeputyProps |
Vpc |
Properties
Acceptance |
Whether to require manual acceptance of new connections to the service. |
Allowed |
One or more Principal ARNs to allow inbound connections to. |
Contributor |
Whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink. |
DEFAULT_PREFIX | The default value for a VPC Endpoint Service name prefix, useful if you do not have a synthesize-time region literal available (all you have is |
Vpc |
The id of the VPC Endpoint Service, like vpce-svc-xxxxxxxxxxxxxxxx. |
Vpc |
One or more network load balancers to host the service. |
Vpc |
The service name of the VPC Endpoint Service that clients use to connect to, like com.amazonaws.vpce.<region>.vpce-svc-xxxxxxxxxxxxxxxx. |
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. By Ref Value 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. Deputy Base. Deputy Props The deputy props
VpcEndpointService(Construct, String, IVpcEndpointServiceProps)
public VpcEndpointService(Construct scope, string id, IVpcEndpointServiceProps props)
Parameters
- scope Constructs.
Construct - id System.
String - props IVpc
Endpoint Service Props
Properties
AcceptanceRequired
Whether to require manual acceptance of new connections to the service.
public virtual bool AcceptanceRequired { get; }
Property Value
System.
AllowedPrincipals
One or more Principal ARNs to allow inbound connections to.
public virtual ArnPrincipal[] AllowedPrincipals { get; }
Property Value
ContributorInsightsEnabled
Whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.
public virtual Nullable<bool> ContributorInsightsEnabled { get; }
Property Value
System.
DEFAULT_PREFIX
The default value for a VPC Endpoint Service name prefix, useful if you do not have a synthesize-time region literal available (all you have is { "Ref": "AWS::Region" }
).
public static string DEFAULT_PREFIX { get; }
Property Value
System.
VpcEndpointServiceId
The id of the VPC Endpoint Service, like vpce-svc-xxxxxxxxxxxxxxxx.
public virtual string VpcEndpointServiceId { get; }
Property Value
System.
Remarks
Attribute: true
VpcEndpointServiceLoadBalancers
One or more network load balancers to host the service.
public virtual IVpcEndpointServiceLoadBalancer[] VpcEndpointServiceLoadBalancers { get; }
Property Value
IVpc
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.
Remarks
Attribute: true