You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::ModifyVpcEndpointRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::ModifyVpcEndpointRequest
- Defined in:
- (unknown)
Overview
When passing ModifyVpcEndpointRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
dry_run: false,
vpc_endpoint_id: "VpcEndpointId", # required
reset_policy: false,
policy_document: "String",
add_route_table_ids: ["RouteTableId"],
remove_route_table_ids: ["RouteTableId"],
add_subnet_ids: ["SubnetId"],
remove_subnet_ids: ["SubnetId"],
add_security_group_ids: ["SecurityGroupId"],
remove_security_group_ids: ["SecurityGroupId"],
private_dns_enabled: false,
}
Contains the parameters for ModifyVpcEndpoint.
Instance Attribute Summary collapse
-
#add_route_table_ids ⇒ Array<String>
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
-
#add_security_group_ids ⇒ Array<String>
(Interface endpoint) One or more security group IDs to associate with the network interface.
-
#add_subnet_ids ⇒ Array<String>
(Interface and Gateway Load Balancer endpoints) One or more subnet IDs in which to serve the endpoint.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#policy_document ⇒ String
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service.
-
#private_dns_enabled ⇒ Boolean
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
-
#remove_route_table_ids ⇒ Array<String>
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
-
#remove_security_group_ids ⇒ Array<String>
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
-
#remove_subnet_ids ⇒ Array<String>
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
-
#reset_policy ⇒ Boolean
(Gateway endpoint) Specify
true
to reset the policy document to the default policy. -
#vpc_endpoint_id ⇒ String
The ID of the endpoint.
Instance Attribute Details
#add_route_table_ids ⇒ Array<String>
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
#add_security_group_ids ⇒ Array<String>
(Interface endpoint) One or more security group IDs to associate with the network interface.
#add_subnet_ids ⇒ Array<String>
(Interface and Gateway Load Balancer endpoints) One or more subnet IDs in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
#dry_run ⇒ Boolean
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
.
#policy_document ⇒ String
(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.
#private_dns_enabled ⇒ Boolean
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
#remove_route_table_ids ⇒ Array<String>
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
#remove_security_group_ids ⇒ Array<String>
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
#remove_subnet_ids ⇒ Array<String>
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
#reset_policy ⇒ Boolean
(Gateway endpoint) Specify true
to reset the policy document to the
default policy. The default policy allows full access to the service.
#vpc_endpoint_id ⇒ String
The ID of the endpoint.