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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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>)


17449
17450
17451
17452
17453
17454
17455
17456
17457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17449

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)


17449
17450
17451
17452
17453
17454
17455
17456
17457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17449

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)


17449
17450
17451
17452
17453
17454
17455
17456
17457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17449

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


17449
17450
17451
17452
17453
17454
17455
17456
17457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17449

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)


17449
17450
17451
17452
17453
17454
17455
17456
17457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17449

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)


17449
17450
17451
17452
17453
17454
17455
17456
17457
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 17449

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