You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::CreateVpcEndpointRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateVpcEndpointRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  client_token: "String",
  dry_run: false,
  policy_document: "String",
  route_table_ids: ["String"],
  service_name: "String", # required
  vpc_id: "String", # required
}

Contains the parameters for CreateVpcEndpoint.

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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

Returns:

  • (String)

    Unique, case-sensitive identifier you provide to ensure the idempotency of the request.

#dry_runBoolean

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.

Returns:

  • (Boolean)

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.

#policy_documentString

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.

Returns:

  • (String)

    A policy to attach to the endpoint that controls access to the service.

#route_table_idsArray<String>

One or more route table IDs.

Returns:

  • (Array<String>)

    One or more route table IDs.

#service_nameString

The AWS service name, in the form com.amazonaws.region.service. To get a list of available services, use the DescribeVpcEndpointServices request.

Returns:

  • (String)

    The AWS service name, in the form com.amazonaws.region.service.

#vpc_idString

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

Returns:

  • (String)

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