InterfaceVpcEndpointProps

class aws_cdk.aws_ec2.InterfaceVpcEndpointProps(*, service, private_dns_enabled=None, security_groups=None, subnets=None, vpc)

Bases: aws_cdk.aws_ec2.InterfaceVpcEndpointOptions

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

Construction properties for an InterfaceVpcEndpoint.

Parameters
  • service (IInterfaceVpcEndpointService) – The service to use for this interface VPC endpoint.

  • private_dns_enabled (Optional[bool]) – Whether to associate a private hosted zone with the specified VPC. This allows you to make requests to the service using its default DNS hostname. Default: true

  • security_groups (Optional[List[ISecurityGroup]]) – The security groups to associate with this interface VPC endpoint. Default: - a new security group is created

  • subnets (Optional[SubnetSelection]) – The subnets in which to create an endpoint network interface. At most one per availability zone. Default: - private subnets

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

Attributes

private_dns_enabled

Whether to associate a private hosted zone with the specified VPC.

This allows you to make requests to the service using its default DNS hostname.

default :default: true

Return type

Optional[bool]

security_groups

The security groups to associate with this interface VPC endpoint.

default :default: - a new security group is created

Return type

Optional[List[ISecurityGroup]]

service

The service to use for this interface VPC endpoint.

Return type

IInterfaceVpcEndpointService

subnets

The subnets in which to create an endpoint network interface.

At most one per availability zone.

default :default: - private subnets

Return type

Optional[SubnetSelection]

vpc

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

Return type

IVpc