Optional
autoAccept the VPC endpoint (the VPC endpoint and service need to be in the same AWS account).
Optional
dnsThe DNS options for the endpoint. See dns_options below.
Optional
ipThe IP address type for the endpoint. Valid values are ipv4
, dualstack
, and ipv6
.
Optional
policyA policy to attach to the endpoint that controls access to the service. This is a JSON formatted string. Defaults to full access. All Gateway
and some Interface
endpoints support policies - see the relevant AWS documentation for more details.
Optional
privateWhether or not to associate a private hosted zone with the specified VPC. Applicable for endpoints of type Interface. Defaults to false
.
Optional
routeOne or more route table IDs. Applicable for endpoints of type Gateway
.
Optional
securityThe ID of one or more security groups to associate with the network interface. Applicable for endpoints of type Interface
.
If no security groups are specified, the VPC's default security group is associated with the endpoint.
The service name. For AWS services the service name is usually in the form com.amazonaws.<region>.<service>
(the SageMaker Notebook service is an exception to this rule, the service name is in the form aws.sagemaker.<region>.notebook
).
Optional
subnetThe ID of one or more subnets in which to create a network interface for the endpoint. Applicable for endpoints of type GatewayLoadBalancer
and Interface
. Interface type endpoints cannot function without being assigned to a subnet.
Optional
tagsA map of tags to assign to the resource. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Optional
vpcThe VPC endpoint type, Gateway
, GatewayLoadBalancer
, or Interface
. Defaults to Gateway
.
Generated using TypeDoc
Provides a VPC Endpoint resource.
{{% examples %}}
Example Usage
{{% example %}}
Basic
{{% /example %}} {{% example %}}
Basic w/ Tags
{{% /example %}} {{% example %}}
Interface Endpoint Type
{{% /example %}} {{% example %}}
Gateway Load Balancer Endpoint Type
{{% /example %}} {{% /examples %}}
Import
Using
pulumi import
, import VPC Endpoints using the VPC endpointid
. For example: