You are viewing documentation for version 1 of the AWS SDK for Ruby. Version 2 documentation can be found here.
Class: AWS::EC2::VPNGateway::Attachment
- Inherits:
-
Object
- Object
- AWS::EC2::VPNGateway::Attachment
show all
- Defined in:
- lib/aws/ec2/vpn_gateway/attachment.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#state ⇒ Symbol
33
34
35
|
# File 'lib/aws/ec2/vpn_gateway/attachment.rb', line 33
def state
@state
end
|
#vpc ⇒ VPC
30
31
32
|
# File 'lib/aws/ec2/vpn_gateway/attachment.rb', line 30
def vpc
@vpc
end
|
27
28
29
|
# File 'lib/aws/ec2/vpn_gateway/attachment.rb', line 27
def vpn_gateway
@vpn_gateway
end
|
Instance Method Details
#delete ⇒ nil
Also known as:
detach
37
38
39
|
# File 'lib/aws/ec2/vpn_gateway/attachment.rb', line 37
def delete
vpn_gateway.detach(vpc)
end
|