InterfaceVpcEndpointOptions

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

Bases: object

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

Options to add an interface endpoint to a VPC.

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

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]