Class: Aws::EC2::Types::ModifyVpcEndpointRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass ModifyVpcEndpointRequest data as a hash:

{
  add_route_table_ids: ["String"],
  dry_run: false,
  policy_document: "String",
  remove_route_table_ids: ["String"],
  reset_policy: false,
  vpc_endpoint_id: "String", # required
}

Contains the parameters for ModifyVpcEndpoint.

Instance Attribute Summary collapse

Instance Attribute Details

#add_route_table_idsArray<String>

One or more route tables IDs to associate with the endpoint.

Returns:

  • (Array<String>)


17011
17012
17013
17014
17015
17016
17017
17018
17019
# File 'lib/aws-sdk-ec2/types.rb', line 17011

class ModifyVpcEndpointRequest < Struct.new(
  :add_route_table_ids,
  :dry_run,
  :policy_document,
  :remove_route_table_ids,
  :reset_policy,
  :vpc_endpoint_id)
  include Aws::Structure
end

#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)


17011
17012
17013
17014
17015
17016
17017
17018
17019
# File 'lib/aws-sdk-ec2/types.rb', line 17011

class ModifyVpcEndpointRequest < Struct.new(
  :add_route_table_ids,
  :dry_run,
  :policy_document,
  :remove_route_table_ids,
  :reset_policy,
  :vpc_endpoint_id)
  include Aws::Structure
end

#policy_documentString

A policy document to attach to the endpoint. The policy must be in valid JSON format.

Returns:

  • (String)


17011
17012
17013
17014
17015
17016
17017
17018
17019
# File 'lib/aws-sdk-ec2/types.rb', line 17011

class ModifyVpcEndpointRequest < Struct.new(
  :add_route_table_ids,
  :dry_run,
  :policy_document,
  :remove_route_table_ids,
  :reset_policy,
  :vpc_endpoint_id)
  include Aws::Structure
end

#remove_route_table_idsArray<String>

One or more route table IDs to disassociate from the endpoint.

Returns:

  • (Array<String>)


17011
17012
17013
17014
17015
17016
17017
17018
17019
# File 'lib/aws-sdk-ec2/types.rb', line 17011

class ModifyVpcEndpointRequest < Struct.new(
  :add_route_table_ids,
  :dry_run,
  :policy_document,
  :remove_route_table_ids,
  :reset_policy,
  :vpc_endpoint_id)
  include Aws::Structure
end

#reset_policyBoolean

Specify ‘true` to reset the policy document to the default policy. The default policy allows access to the service.

Returns:

  • (Boolean)


17011
17012
17013
17014
17015
17016
17017
17018
17019
# File 'lib/aws-sdk-ec2/types.rb', line 17011

class ModifyVpcEndpointRequest < Struct.new(
  :add_route_table_ids,
  :dry_run,
  :policy_document,
  :remove_route_table_ids,
  :reset_policy,
  :vpc_endpoint_id)
  include Aws::Structure
end

#vpc_endpoint_idString

The ID of the endpoint.

Returns:

  • (String)


17011
17012
17013
17014
17015
17016
17017
17018
17019
# File 'lib/aws-sdk-ec2/types.rb', line 17011

class ModifyVpcEndpointRequest < Struct.new(
  :add_route_table_ids,
  :dry_run,
  :policy_document,
  :remove_route_table_ids,
  :reset_policy,
  :vpc_endpoint_id)
  include Aws::Structure
end