We recommend new projects start with resources from the AWS provider.
aws-native.ec2.getVpcEndpoint
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Specifies a VPC endpoint. A VPC endpoint provides a private connection between your VPC and an endpoint service. You can use an endpoint service provided by AWS , an AWS Marketplace Partner, or another AWS accounts in your organization. For more information, see the AWS PrivateLink User Guide .
An endpoint of type Interface establishes connections between the subnets in your VPC and an AWS service , your own service, or a service hosted by another AWS account . With an interface VPC endpoint, you specify the subnets in which to create the endpoint and the security groups to associate with the endpoint network interfaces.
An endpoint of type gateway serves as a target for a route in your route table for traffic destined for Amazon S3 or DynamoDB . You can specify an endpoint policy for the endpoint, which controls access to the service from your VPC. You can also specify the VPC route tables that use the endpoint. For more information about connectivity to Amazon S3 , see Why can’t I connect to an S3 bucket using a gateway VPC endpoint?
An endpoint of type GatewayLoadBalancer provides private connectivity between your VPC and virtual appliances from a service provider.
Using getVpcEndpoint
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpcEndpoint(args: GetVpcEndpointArgs, opts?: InvokeOptions): Promise<GetVpcEndpointResult>
function getVpcEndpointOutput(args: GetVpcEndpointOutputArgs, opts?: InvokeOptions): Output<GetVpcEndpointResult>def get_vpc_endpoint(id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetVpcEndpointResult
def get_vpc_endpoint_output(id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetVpcEndpointResult]func LookupVpcEndpoint(ctx *Context, args *LookupVpcEndpointArgs, opts ...InvokeOption) (*LookupVpcEndpointResult, error)
func LookupVpcEndpointOutput(ctx *Context, args *LookupVpcEndpointOutputArgs, opts ...InvokeOption) LookupVpcEndpointResultOutput> Note: This function is named LookupVpcEndpoint in the Go SDK.
public static class GetVpcEndpoint 
{
    public static Task<GetVpcEndpointResult> InvokeAsync(GetVpcEndpointArgs args, InvokeOptions? opts = null)
    public static Output<GetVpcEndpointResult> Invoke(GetVpcEndpointInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVpcEndpointResult> getVpcEndpoint(GetVpcEndpointArgs args, InvokeOptions options)
public static Output<GetVpcEndpointResult> getVpcEndpoint(GetVpcEndpointArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:ec2:getVpcEndpoint
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- The ID of the VPC endpoint.
- Id string
- The ID of the VPC endpoint.
- id String
- The ID of the VPC endpoint.
- id string
- The ID of the VPC endpoint.
- id str
- The ID of the VPC endpoint.
- id String
- The ID of the VPC endpoint.
getVpcEndpoint Result
The following output properties are available:
- CreationTimestamp string
- The date and time the VPC endpoint was created. For example: Fri Sep 28 23:34:36 UTC 2018.
- DnsEntries List<string>
- (Interface endpoints) The DNS entries for the endpoint. Each entry is a combination of the hosted zone ID and the DNS name. The entries are ordered as follows: regional public DNS, zonal public DNS, private DNS, and wildcard DNS. This order is not enforced for AWS Marketplace services. - The following is an example. In the first entry, the hosted zone ID is Z1HUB23UULQXV and the DNS name is vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com. - ["Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com", "Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3-us-east-1a.ec2.us-east-1.vpce.amazonaws.com", "Z1C12344VYDITB0:ec2.us-east-1.amazonaws.com"] - If you update the - PrivateDnsEnabledor- SubnetIdsproperties, the DNS entries in the list will change.
- DnsOptions Pulumi.Aws Native. Ec2. Outputs. Vpc Endpoint Dns Options Specification 
- Describes the DNS options for an endpoint.
- Id string
- The ID of the VPC endpoint.
- IpAddress Pulumi.Type Aws Native. Ec2. Vpc Endpoint Ip Address Type 
- The supported IP address types.
- NetworkInterface List<string>Ids 
- (Interface endpoints) The network interface IDs. If you update the PrivateDnsEnabledorSubnetIdsproperties, the items in this list might change.
- PolicyDocument object
- An endpoint policy, which controls access to the service from the VPC. The default endpoint policy allows full access to the service. Endpoint policies are supported only for gateway and interface endpoints. For CloudFormation templates in YAML, you can provide the policy in JSON or YAML format. For example, if you have a JSON policy, you can convert it to YAML before including it in the YAML template, and CFNlong converts the policy to JSON format before calling the API actions for privatelink. Alternatively, you can include the JSON directly in the YAML, as shown in the following - Propertiessection:- Properties: VpcEndpointType: 'Interface' ServiceName: !Sub 'com.amazonaws.${AWS::Region}.logs' PolicyDocument: '{ "Version":"2012-10-17", "Statement": [{ "Effect":"Allow", "Principal":"*", "Action":["logs:Describe*","logs:Get*","logs:List*","logs:FilterLogEvents"], "Resource":"*" }] }'- Search the CloudFormation User Guide for - AWS::EC2::VPCEndpointfor more information about the expected schema for this property.
- PrivateDns boolEnabled 
- Indicate whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service. To use a private hosted zone, you must set the following VPC attributes totrue:enableDnsHostnamesandenableDnsSupport. This property is supported only for interface endpoints. Default:false
- RouteTable List<string>Ids 
- The IDs of the route tables. Routing is supported only for gateway endpoints.
- SecurityGroup List<string>Ids 
- The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC. Security groups are supported only for interface endpoints.
- SubnetIds List<string>
- The IDs of the subnets in which to create endpoint network interfaces. You must specify this property for an interface endpoint or a Gateway Load Balancer endpoint. You can't specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- The tags to associate with the endpoint.
- CreationTimestamp string
- The date and time the VPC endpoint was created. For example: Fri Sep 28 23:34:36 UTC 2018.
- DnsEntries []string
- (Interface endpoints) The DNS entries for the endpoint. Each entry is a combination of the hosted zone ID and the DNS name. The entries are ordered as follows: regional public DNS, zonal public DNS, private DNS, and wildcard DNS. This order is not enforced for AWS Marketplace services. - The following is an example. In the first entry, the hosted zone ID is Z1HUB23UULQXV and the DNS name is vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com. - ["Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com", "Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3-us-east-1a.ec2.us-east-1.vpce.amazonaws.com", "Z1C12344VYDITB0:ec2.us-east-1.amazonaws.com"] - If you update the - PrivateDnsEnabledor- SubnetIdsproperties, the DNS entries in the list will change.
- DnsOptions VpcEndpoint Dns Options Specification 
- Describes the DNS options for an endpoint.
- Id string
- The ID of the VPC endpoint.
- IpAddress VpcType Endpoint Ip Address Type 
- The supported IP address types.
- NetworkInterface []stringIds 
- (Interface endpoints) The network interface IDs. If you update the PrivateDnsEnabledorSubnetIdsproperties, the items in this list might change.
- PolicyDocument interface{}
- An endpoint policy, which controls access to the service from the VPC. The default endpoint policy allows full access to the service. Endpoint policies are supported only for gateway and interface endpoints. For CloudFormation templates in YAML, you can provide the policy in JSON or YAML format. For example, if you have a JSON policy, you can convert it to YAML before including it in the YAML template, and CFNlong converts the policy to JSON format before calling the API actions for privatelink. Alternatively, you can include the JSON directly in the YAML, as shown in the following - Propertiessection:- Properties: VpcEndpointType: 'Interface' ServiceName: !Sub 'com.amazonaws.${AWS::Region}.logs' PolicyDocument: '{ "Version":"2012-10-17", "Statement": [{ "Effect":"Allow", "Principal":"*", "Action":["logs:Describe*","logs:Get*","logs:List*","logs:FilterLogEvents"], "Resource":"*" }] }'- Search the CloudFormation User Guide for - AWS::EC2::VPCEndpointfor more information about the expected schema for this property.
- PrivateDns boolEnabled 
- Indicate whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service. To use a private hosted zone, you must set the following VPC attributes totrue:enableDnsHostnamesandenableDnsSupport. This property is supported only for interface endpoints. Default:false
- RouteTable []stringIds 
- The IDs of the route tables. Routing is supported only for gateway endpoints.
- SecurityGroup []stringIds 
- The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC. Security groups are supported only for interface endpoints.
- SubnetIds []string
- The IDs of the subnets in which to create endpoint network interfaces. You must specify this property for an interface endpoint or a Gateway Load Balancer endpoint. You can't specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
- Tag
- The tags to associate with the endpoint.
- creationTimestamp String
- The date and time the VPC endpoint was created. For example: Fri Sep 28 23:34:36 UTC 2018.
- dnsEntries List<String>
- (Interface endpoints) The DNS entries for the endpoint. Each entry is a combination of the hosted zone ID and the DNS name. The entries are ordered as follows: regional public DNS, zonal public DNS, private DNS, and wildcard DNS. This order is not enforced for AWS Marketplace services. - The following is an example. In the first entry, the hosted zone ID is Z1HUB23UULQXV and the DNS name is vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com. - ["Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com", "Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3-us-east-1a.ec2.us-east-1.vpce.amazonaws.com", "Z1C12344VYDITB0:ec2.us-east-1.amazonaws.com"] - If you update the - PrivateDnsEnabledor- SubnetIdsproperties, the DNS entries in the list will change.
- dnsOptions VpcEndpoint Dns Options Specification 
- Describes the DNS options for an endpoint.
- id String
- The ID of the VPC endpoint.
- ipAddress VpcType Endpoint Ip Address Type 
- The supported IP address types.
- networkInterface List<String>Ids 
- (Interface endpoints) The network interface IDs. If you update the PrivateDnsEnabledorSubnetIdsproperties, the items in this list might change.
- policyDocument Object
- An endpoint policy, which controls access to the service from the VPC. The default endpoint policy allows full access to the service. Endpoint policies are supported only for gateway and interface endpoints. For CloudFormation templates in YAML, you can provide the policy in JSON or YAML format. For example, if you have a JSON policy, you can convert it to YAML before including it in the YAML template, and CFNlong converts the policy to JSON format before calling the API actions for privatelink. Alternatively, you can include the JSON directly in the YAML, as shown in the following - Propertiessection:- Properties: VpcEndpointType: 'Interface' ServiceName: !Sub 'com.amazonaws.${AWS::Region}.logs' PolicyDocument: '{ "Version":"2012-10-17", "Statement": [{ "Effect":"Allow", "Principal":"*", "Action":["logs:Describe*","logs:Get*","logs:List*","logs:FilterLogEvents"], "Resource":"*" }] }'- Search the CloudFormation User Guide for - AWS::EC2::VPCEndpointfor more information about the expected schema for this property.
- privateDns BooleanEnabled 
- Indicate whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service. To use a private hosted zone, you must set the following VPC attributes totrue:enableDnsHostnamesandenableDnsSupport. This property is supported only for interface endpoints. Default:false
- routeTable List<String>Ids 
- The IDs of the route tables. Routing is supported only for gateway endpoints.
- securityGroup List<String>Ids 
- The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC. Security groups are supported only for interface endpoints.
- subnetIds List<String>
- The IDs of the subnets in which to create endpoint network interfaces. You must specify this property for an interface endpoint or a Gateway Load Balancer endpoint. You can't specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
- List<Tag>
- The tags to associate with the endpoint.
- creationTimestamp string
- The date and time the VPC endpoint was created. For example: Fri Sep 28 23:34:36 UTC 2018.
- dnsEntries string[]
- (Interface endpoints) The DNS entries for the endpoint. Each entry is a combination of the hosted zone ID and the DNS name. The entries are ordered as follows: regional public DNS, zonal public DNS, private DNS, and wildcard DNS. This order is not enforced for AWS Marketplace services. - The following is an example. In the first entry, the hosted zone ID is Z1HUB23UULQXV and the DNS name is vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com. - ["Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com", "Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3-us-east-1a.ec2.us-east-1.vpce.amazonaws.com", "Z1C12344VYDITB0:ec2.us-east-1.amazonaws.com"] - If you update the - PrivateDnsEnabledor- SubnetIdsproperties, the DNS entries in the list will change.
- dnsOptions VpcEndpoint Dns Options Specification 
- Describes the DNS options for an endpoint.
- id string
- The ID of the VPC endpoint.
- ipAddress VpcType Endpoint Ip Address Type 
- The supported IP address types.
- networkInterface string[]Ids 
- (Interface endpoints) The network interface IDs. If you update the PrivateDnsEnabledorSubnetIdsproperties, the items in this list might change.
- policyDocument any
- An endpoint policy, which controls access to the service from the VPC. The default endpoint policy allows full access to the service. Endpoint policies are supported only for gateway and interface endpoints. For CloudFormation templates in YAML, you can provide the policy in JSON or YAML format. For example, if you have a JSON policy, you can convert it to YAML before including it in the YAML template, and CFNlong converts the policy to JSON format before calling the API actions for privatelink. Alternatively, you can include the JSON directly in the YAML, as shown in the following - Propertiessection:- Properties: VpcEndpointType: 'Interface' ServiceName: !Sub 'com.amazonaws.${AWS::Region}.logs' PolicyDocument: '{ "Version":"2012-10-17", "Statement": [{ "Effect":"Allow", "Principal":"*", "Action":["logs:Describe*","logs:Get*","logs:List*","logs:FilterLogEvents"], "Resource":"*" }] }'- Search the CloudFormation User Guide for - AWS::EC2::VPCEndpointfor more information about the expected schema for this property.
- privateDns booleanEnabled 
- Indicate whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service. To use a private hosted zone, you must set the following VPC attributes totrue:enableDnsHostnamesandenableDnsSupport. This property is supported only for interface endpoints. Default:false
- routeTable string[]Ids 
- The IDs of the route tables. Routing is supported only for gateway endpoints.
- securityGroup string[]Ids 
- The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC. Security groups are supported only for interface endpoints.
- subnetIds string[]
- The IDs of the subnets in which to create endpoint network interfaces. You must specify this property for an interface endpoint or a Gateway Load Balancer endpoint. You can't specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
- Tag[]
- The tags to associate with the endpoint.
- creation_timestamp str
- The date and time the VPC endpoint was created. For example: Fri Sep 28 23:34:36 UTC 2018.
- dns_entries Sequence[str]
- (Interface endpoints) The DNS entries for the endpoint. Each entry is a combination of the hosted zone ID and the DNS name. The entries are ordered as follows: regional public DNS, zonal public DNS, private DNS, and wildcard DNS. This order is not enforced for AWS Marketplace services. - The following is an example. In the first entry, the hosted zone ID is Z1HUB23UULQXV and the DNS name is vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com. - ["Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com", "Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3-us-east-1a.ec2.us-east-1.vpce.amazonaws.com", "Z1C12344VYDITB0:ec2.us-east-1.amazonaws.com"] - If you update the - PrivateDnsEnabledor- SubnetIdsproperties, the DNS entries in the list will change.
- dns_options VpcEndpoint Dns Options Specification 
- Describes the DNS options for an endpoint.
- id str
- The ID of the VPC endpoint.
- ip_address_ Vpctype Endpoint Ip Address Type 
- The supported IP address types.
- network_interface_ Sequence[str]ids 
- (Interface endpoints) The network interface IDs. If you update the PrivateDnsEnabledorSubnetIdsproperties, the items in this list might change.
- policy_document Any
- An endpoint policy, which controls access to the service from the VPC. The default endpoint policy allows full access to the service. Endpoint policies are supported only for gateway and interface endpoints. For CloudFormation templates in YAML, you can provide the policy in JSON or YAML format. For example, if you have a JSON policy, you can convert it to YAML before including it in the YAML template, and CFNlong converts the policy to JSON format before calling the API actions for privatelink. Alternatively, you can include the JSON directly in the YAML, as shown in the following - Propertiessection:- Properties: VpcEndpointType: 'Interface' ServiceName: !Sub 'com.amazonaws.${AWS::Region}.logs' PolicyDocument: '{ "Version":"2012-10-17", "Statement": [{ "Effect":"Allow", "Principal":"*", "Action":["logs:Describe*","logs:Get*","logs:List*","logs:FilterLogEvents"], "Resource":"*" }] }'- Search the CloudFormation User Guide for - AWS::EC2::VPCEndpointfor more information about the expected schema for this property.
- private_dns_ boolenabled 
- Indicate whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service. To use a private hosted zone, you must set the following VPC attributes totrue:enableDnsHostnamesandenableDnsSupport. This property is supported only for interface endpoints. Default:false
- route_table_ Sequence[str]ids 
- The IDs of the route tables. Routing is supported only for gateway endpoints.
- security_group_ Sequence[str]ids 
- The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC. Security groups are supported only for interface endpoints.
- subnet_ids Sequence[str]
- The IDs of the subnets in which to create endpoint network interfaces. You must specify this property for an interface endpoint or a Gateway Load Balancer endpoint. You can't specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
- Sequence[root_Tag]
- The tags to associate with the endpoint.
- creationTimestamp String
- The date and time the VPC endpoint was created. For example: Fri Sep 28 23:34:36 UTC 2018.
- dnsEntries List<String>
- (Interface endpoints) The DNS entries for the endpoint. Each entry is a combination of the hosted zone ID and the DNS name. The entries are ordered as follows: regional public DNS, zonal public DNS, private DNS, and wildcard DNS. This order is not enforced for AWS Marketplace services. - The following is an example. In the first entry, the hosted zone ID is Z1HUB23UULQXV and the DNS name is vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com. - ["Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3.ec2.us-east-1.vpce.amazonaws.com", "Z1HUB23UULQXV:vpce-01abc23456de78f9g-12abccd3-us-east-1a.ec2.us-east-1.vpce.amazonaws.com", "Z1C12344VYDITB0:ec2.us-east-1.amazonaws.com"] - If you update the - PrivateDnsEnabledor- SubnetIdsproperties, the DNS entries in the list will change.
- dnsOptions Property Map
- Describes the DNS options for an endpoint.
- id String
- The ID of the VPC endpoint.
- ipAddress "ipv4" | "ipv6" | "dualstack" | "not-specified"Type 
- The supported IP address types.
- networkInterface List<String>Ids 
- (Interface endpoints) The network interface IDs. If you update the PrivateDnsEnabledorSubnetIdsproperties, the items in this list might change.
- policyDocument Any
- An endpoint policy, which controls access to the service from the VPC. The default endpoint policy allows full access to the service. Endpoint policies are supported only for gateway and interface endpoints. For CloudFormation templates in YAML, you can provide the policy in JSON or YAML format. For example, if you have a JSON policy, you can convert it to YAML before including it in the YAML template, and CFNlong converts the policy to JSON format before calling the API actions for privatelink. Alternatively, you can include the JSON directly in the YAML, as shown in the following - Propertiessection:- Properties: VpcEndpointType: 'Interface' ServiceName: !Sub 'com.amazonaws.${AWS::Region}.logs' PolicyDocument: '{ "Version":"2012-10-17", "Statement": [{ "Effect":"Allow", "Principal":"*", "Action":["logs:Describe*","logs:Get*","logs:List*","logs:FilterLogEvents"], "Resource":"*" }] }'- Search the CloudFormation User Guide for - AWS::EC2::VPCEndpointfor more information about the expected schema for this property.
- privateDns BooleanEnabled 
- Indicate whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, kinesis.us-east-1.amazonaws.com), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service. To use a private hosted zone, you must set the following VPC attributes totrue:enableDnsHostnamesandenableDnsSupport. This property is supported only for interface endpoints. Default:false
- routeTable List<String>Ids 
- The IDs of the route tables. Routing is supported only for gateway endpoints.
- securityGroup List<String>Ids 
- The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC. Security groups are supported only for interface endpoints.
- subnetIds List<String>
- The IDs of the subnets in which to create endpoint network interfaces. You must specify this property for an interface endpoint or a Gateway Load Balancer endpoint. You can't specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
- List<Property Map>
- The tags to associate with the endpoint.
Supporting Types
Tag
VpcEndpointDnsOptionsSpecification    
- DnsRecord Pulumi.Ip Type Aws Native. Ec2. Vpc Endpoint Dns Options Specification Dns Record Ip Type 
- The DNS records created for the endpoint.
- PrivateDns Pulumi.Only For Inbound Resolver Endpoint Aws Native. Ec2. Vpc Endpoint Dns Options Specification Private Dns Only For Inbound Resolver Endpoint 
- Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
- DnsRecord VpcIp Type Endpoint Dns Options Specification Dns Record Ip Type 
- The DNS records created for the endpoint.
- PrivateDns VpcOnly For Inbound Resolver Endpoint Endpoint Dns Options Specification Private Dns Only For Inbound Resolver Endpoint 
- Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
- dnsRecord VpcIp Type Endpoint Dns Options Specification Dns Record Ip Type 
- The DNS records created for the endpoint.
- privateDns VpcOnly For Inbound Resolver Endpoint Endpoint Dns Options Specification Private Dns Only For Inbound Resolver Endpoint 
- Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
- dnsRecord VpcIp Type Endpoint Dns Options Specification Dns Record Ip Type 
- The DNS records created for the endpoint.
- privateDns VpcOnly For Inbound Resolver Endpoint Endpoint Dns Options Specification Private Dns Only For Inbound Resolver Endpoint 
- Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
- dns_record_ Vpcip_ type Endpoint Dns Options Specification Dns Record Ip Type 
- The DNS records created for the endpoint.
- private_dns_ Vpconly_ for_ inbound_ resolver_ endpoint Endpoint Dns Options Specification Private Dns Only For Inbound Resolver Endpoint 
- Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
- dnsRecord "ipv4" | "ipv6" | "dualstack" | "service-defined" | "not-specified"Ip Type 
- The DNS records created for the endpoint.
- privateDns "OnlyOnly For Inbound Resolver Endpoint Inbound Resolver" | "All Resolvers" | "Not Specified" 
- Indicates whether to enable private DNS only for inbound endpoints. This option is available only for services that support both gateway and interface endpoints. It routes traffic that originates from the VPC to the gateway endpoint and traffic that originates from on-premises to the interface endpoint.
VpcEndpointDnsOptionsSpecificationDnsRecordIpType        
VpcEndpointDnsOptionsSpecificationPrivateDnsOnlyForInboundResolverEndpoint           
VpcEndpointIpAddressType    
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.