Class CfnVPCEndpointService
A CloudFormation AWS::EC2::VPCEndpointService
.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class CfnVPCEndpointService : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnVPCEndpointService
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a VPC endpoint service configuration to which service consumers ( AWS accounts, users, and IAM roles) can connect.
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"
});
Synopsis
Constructors
CfnVPCEndpointService(Construct, String, ICfnVPCEndpointServiceProps) | Create a new |
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 |
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. |
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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnVPCEndpointService(Construct, String, ICfnVPCEndpointServiceProps)
Create a new AWS::EC2::VPCEndpointService
.
public CfnVPCEndpointService(Construct scope, string id, ICfnVPCEndpointServiceProps props = null)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnVPCEndpointServiceProps
- resource properties.
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
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
Remarks
AttrServiceId
The ID of the endpoint service.
public virtual string AttrServiceId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ServiceId
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
Remarks
GatewayLoadBalancerArns
The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
public virtual string[] GatewayLoadBalancerArns { get; set; }
Property Value
System.String[]
Remarks
NetworkLoadBalancerArns
The Amazon Resource Names (ARNs) of the Network Load Balancers.
public virtual string[] NetworkLoadBalancerArns { get; set; }
Property Value
System.String[]
Remarks
PayerResponsibility
The entity that is responsible for the endpoint costs.
public virtual string PayerResponsibility { get; set; }
Property Value
System.String
Remarks
The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
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>