aws-cdk-lib.aws_ec2.CfnVPCEndpointServiceProps

interface CfnVPCEndpointServiceProps

LanguageType name
.NETAmazon.CDK.AWS.EC2.CfnVPCEndpointServiceProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnVPCEndpointServiceProps
Javasoftware.amazon.awscdk.services.ec2.CfnVPCEndpointServiceProps
Pythonaws_cdk.aws_ec2.CfnVPCEndpointServiceProps
TypeScript aws-cdk-lib » aws_ec2 » CfnVPCEndpointServiceProps

Properties for defining a CfnVPCEndpointService.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnVPCEndpointServiceProps: ec2.CfnVPCEndpointServiceProps = {
  acceptanceRequired: false,
  contributorInsightsEnabled: false,
  gatewayLoadBalancerArns: ['gatewayLoadBalancerArns'],
  networkLoadBalancerArns: ['networkLoadBalancerArns'],
  payerResponsibility: 'payerResponsibility',
};

Properties

NameTypeDescription
acceptanceRequired?boolean | IResolvableIndicates whether requests from service consumers to create an endpoint to your service must be accepted.
contributorInsightsEnabled?boolean | IResolvableIndicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink .
gatewayLoadBalancerArns?string[]The Amazon Resource Names (ARNs) of the Gateway Load Balancers.
networkLoadBalancerArns?string[]The Amazon Resource Names (ARNs) of the Network Load Balancers.
payerResponsibility?stringThe entity that is responsible for the endpoint costs.

acceptanceRequired?

Type: boolean | IResolvable (optional)

Indicates whether requests from service consumers to create an endpoint to your service must be accepted.


contributorInsightsEnabled?

Type: boolean | IResolvable (optional)

Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink .


gatewayLoadBalancerArns?

Type: string[] (optional)

The Amazon Resource Names (ARNs) of the Gateway Load Balancers.


networkLoadBalancerArns?

Type: string[] (optional)

The Amazon Resource Names (ARNs) of the Network Load Balancers.


payerResponsibility?

Type: string (optional)

The entity that is responsible for the endpoint costs.

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.