Class CfnVPCEndpointService
Creates a VPC endpoint service configuration to which service consumers ( AWS accounts, users, and IAM roles) can connect.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVPCEndpointService : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnVPCEndpointService
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
To create an endpoint service configuration, you must first create one of the following for your service:
For more information, see the AWS PrivateLink User Guide .
CloudformationResource: AWS::EC2::VPCEndpointService
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnVPCEndpointService = new CfnVPCEndpointService(this, "MyCfnVPCEndpointService", new CfnVPCEndpointServiceProps {
AcceptanceRequired = false,
ContributorInsightsEnabled = false,
GatewayLoadBalancerArns = new [] { "gatewayLoadBalancerArns" },
NetworkLoadBalancerArns = new [] { "networkLoadBalancerArns" },
PayerResponsibility = "payerResponsibility",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnVPCEndpointService(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnVPCEndpointService(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnVPCEndpointService(Construct, String, ICfnVPCEndpointServiceProps) |
Properties
AcceptanceRequired | Indicates whether requests from service consumers to create an endpoint to your service must be accepted. |
AttrServiceId | The ID of the endpoint service. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ContributorInsightsEnabled | Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink . |
GatewayLoadBalancerArns | The Amazon Resource Names (ARNs) of the Gateway Load Balancers. |
NetworkLoadBalancerArns | The Amazon Resource Names (ARNs) of the Network Load Balancers. |
PayerResponsibility | The entity that is responsible for the endpoint costs. |
Tags | The tags to associate with the service. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnVPCEndpointService(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnVPCEndpointService(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnVPCEndpointService(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnVPCEndpointService(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnVPCEndpointService(Construct, String, ICfnVPCEndpointServiceProps)
public CfnVPCEndpointService(Construct scope, string id, ICfnVPCEndpointServiceProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnVPCEndpointServiceProps
Resource properties.
Properties
AcceptanceRequired
Indicates whether requests from service consumers to create an endpoint to your service must be accepted.
public virtual object AcceptanceRequired { get; set; }
Property Value
System.Object
AttrServiceId
The ID of the endpoint service.
public virtual string AttrServiceId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ServiceId
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ContributorInsightsEnabled
Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink .
public virtual object ContributorInsightsEnabled { get; set; }
Property Value
System.Object
GatewayLoadBalancerArns
The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
public virtual string[] GatewayLoadBalancerArns { get; set; }
Property Value
System.String[]
NetworkLoadBalancerArns
The Amazon Resource Names (ARNs) of the Network Load Balancers.
public virtual string[] NetworkLoadBalancerArns { get; set; }
Property Value
System.String[]
PayerResponsibility
The entity that is responsible for the endpoint costs.
public virtual string PayerResponsibility { get; set; }
Property Value
System.String
Tags
The tags to associate with the service.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>