Class: AwsCli::CLI::EC2::VPC::Dhcp
- Inherits:
-
Thor
- Object
- Thor
- AwsCli::CLI::EC2::VPC::Dhcp
- Defined in:
- lib/awscli/cli/ec2/vpc/dhcp.rb
Instance Method Summary collapse
Instance Method Details
#associate ⇒ Object
31 32 33 34 |
# File 'lib/awscli/cli/ec2/vpc/dhcp.rb', line 31 def associate create_ec2_object @ec2.associate [:dhcp_options_id], [:vpc_id] end |
#create ⇒ Object
16 17 18 19 |
# File 'lib/awscli/cli/ec2/vpc/dhcp.rb', line 16 def create create_ec2_object @ec2.create [:dhcp_configuration_options] end |
#delete ⇒ Object
23 24 25 26 |
# File 'lib/awscli/cli/ec2/vpc/dhcp.rb', line 23 def delete create_ec2_object @ec2.delete [:dhcp_options_id] end |
#list ⇒ Object
9 10 11 12 |
# File 'lib/awscli/cli/ec2/vpc/dhcp.rb', line 9 def list create_ec2_object @ec2.list end |