You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::VpcPeeringConnection Instance Attribute Summary collapseInformation about the accepter VPC.
The time that an unaccepted VPC peering connection will expire.
Information about the requester VPC.
The status of the VPC peering connection.
Any tags assigned to the resource.
The ID of the VPC peering connection.
Accept a VPC peering connection request.
Deletes a VPC peering connection.
Returns true
if this VpcPeeringConnection exists.
Rejects a VPC peering connection request.
Waits until this VpcPeeringConnection is exists.
add_data_attribute, add_identifier, #data, data_attributes, #data_loaded?, identifiers, #load, #wait_until
Methods included from Resources::OperationMethods#add_batch_operation, #add_operation, #batch_operation, #batch_operation_names, #batch_operations, #operation, #operation_names, #operations
Constructor Details #initialize(id, options = {}) ⇒ Object #initialize(options = {}) ⇒ Object Instance Attribute Details #accepter_vpc_info ⇒ Types::VpcPeeringConnectionVpcInfoInformation about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.
#expiration_time ⇒ TimeThe time that an unaccepted VPC peering connection will expire.
#requester_vpc_info ⇒ Types::VpcPeeringConnectionVpcInfoInformation about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.
#tags ⇒ Array<Types::Tag>Any tags assigned to the resource.
#vpc_peering_connection_id ⇒ StringThe ID of the VPC peering connection.
Instance Method Details #accept(options = {}) ⇒ Types::AcceptVpcPeeringConnectionResultAccept a VPC peering connection request. To accept a request, the VPC peering connection must be in the pending-acceptance
state, and you must be the owner of the peer VPC. Use DescribeVpcPeeringConnections to view your outstanding VPC peering connection requests.
For an inter-Region VPC peering connection request, you must accept the VPC peering connection in the Region of the accepter VPC.
#delete(options = {}) ⇒ Types::DeleteVpcPeeringConnectionResultDeletes a VPC peering connection. Either the owner of the requester VPC or the owner of the accepter VPC can delete the VPC peering connection if it's in the active
state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance
state. You cannot delete a VPC peering connection that's in the failed
state.
Returns true
if this VpcPeeringConnection exists. Returns false
otherwise.
Waits until this VpcPeeringConnection is exists. This method waits by polling Client#describe_vpc_peering_connections until successful. An error is raised after a configurable number of failed checks.
This waiter uses the following defaults:
Configuration Default#delay
15 #max_attempts
40
You can modify defaults and register callbacks by passing a block argument.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4