GatewayVpcEndpointProps

class aws_cdk.aws_ec2.GatewayVpcEndpointProps(*, service, subnets=None, vpc)

Bases: aws_cdk.aws_ec2.GatewayVpcEndpointOptions

__init__(*, service, subnets=None, vpc)

Construction properties for a GatewayVpcEndpoint.

Parameters
  • service (IGatewayVpcEndpointService) – The service to use for this gateway VPC endpoint.

  • subnets (Optional[List[SubnetSelection]]) – Where to add endpoint routing. Default: private subnets

  • vpc (IVpc) – The VPC network in which the gateway endpoint will be used.

Attributes

service

The service to use for this gateway VPC endpoint.

Return type

IGatewayVpcEndpointService

subnets

Where to add endpoint routing.

default :default: private subnets

Return type

Optional[List[SubnetSelection]]

vpc

The VPC network in which the gateway endpoint will be used.

Return type

IVpc