Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateVpcEndpointRequest

import type { CreateVpcEndpointRequest } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";

Contains the parameters for CreateVpcEndpoint.

interface CreateVpcEndpointRequest {
ClientToken?: string | null;
DryRun?: boolean | null;
PolicyDocument?: string | null;
PrivateDnsEnabled?: boolean | null;
RouteTableIds?: string[] | null;
SecurityGroupIds?: string[] | null;
ServiceName: string;
SubnetIds?: string[] | null;
TagSpecifications?: TagSpecification[] | null;
VpcEndpointType?: VpcEndpointType | null;
VpcId: string;
}

§Properties

§
ClientToken?: string | null
[src]

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

§
DryRun?: boolean | null
[src]

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

§
PolicyDocument?: string | null
[src]

(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.

§
PrivateDnsEnabled?: boolean | null
[src]

(Interface endpoint) Indicates 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 to true: enableDnsHostnames and enableDnsSupport. Use "ModifyVpcAttribute" to set the VPC attributes.

Default: true

§
RouteTableIds?: string[] | null
[src]

(Gateway endpoint) One or more route table IDs.

§
SecurityGroupIds?: string[] | null
[src]

(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.

§
ServiceName: string
[src]

The service name. To get a list of available services, use the "DescribeVpcEndpointServices" request, or get the name from the service provider.

§
SubnetIds?: string[] | null
[src]

(Interface and Gateway Load Balancer endpoints) The ID of one or more subnets in which to create an endpoint network interface. For a Gateway Load Balancer endpoint, you can specify one subnet only.

§
TagSpecifications?: TagSpecification[] | null
[src]

The tags to associate with the endpoint.

§
VpcEndpointType?: VpcEndpointType | null
[src]

The type of endpoint.

Default: Gateway

§
VpcId: string
[src]

The ID of the VPC in which the endpoint will be used.