Class: Ansible::Ruby::Modules::Ec2_vpc_igw

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_igw.rb

Overview

Manage an AWS VPC Internet gateway

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#state:present, ...

Returns Create or terminate the IGW.

Returns:

  • (:present, :absent, nil)

    Create or terminate the IGW



19
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_igw.rb', line 19

attribute :state

#tagsObject?

Returns A dict of tags to apply to the internet gateway. Any tags currently applied to the internet gateway and not present here will be removed.

Returns:

  • (Object, nil)

    A dict of tags to apply to the internet gateway. Any tags currently applied to the internet gateway and not present here will be removed.



16
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_igw.rb', line 16

attribute :tags

#vpc_idObject

Returns The VPC ID for the VPC in which to manage the Internet Gateway.

Returns:

  • (Object)

    The VPC ID for the VPC in which to manage the Internet Gateway.



12
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_igw.rb', line 12

attribute :vpc_id