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
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. |
ContributorInsightsEnabled | 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 |
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. |
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
ContributorInsightsEnabled
Whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink.
public virtual Nullable<bool> ContributorInsightsEnabled { get; }
Property Value
System.Nullable<System.Boolean>
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.String
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