interface CfnVPCEndpointServiceProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnVPCEndpointServiceProps |
Java | software.amazon.awscdk.services.ec2.CfnVPCEndpointServiceProps |
Python | aws_cdk.aws_ec2.CfnVPCEndpointServiceProps |
TypeScript | @aws-cdk/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 * as ec2 from '@aws-cdk/aws-ec2';
const cfnVPCEndpointServiceProps: ec2.CfnVPCEndpointServiceProps = {
acceptanceRequired: false,
contributorInsightsEnabled: false,
gatewayLoadBalancerArns: ['gatewayLoadBalancerArns'],
networkLoadBalancerArns: ['networkLoadBalancerArns'],
payerResponsibility: 'payerResponsibility',
};
Properties
Name | Type | Description |
---|---|---|
acceptance | boolean | IResolvable | Indicates whether requests from service consumers to create an endpoint to your service must be accepted. |
contributor | boolean | IResolvable | Indicates whether to enable the built-in Contributor Insights rules provided by AWS PrivateLink . |
gateway | string[] | The Amazon Resource Names (ARNs) of the Gateway Load Balancers. |
network | string[] | The Amazon Resource Names (ARNs) of the Network Load Balancers. |
payer | string | The 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.