Class: Ansible::Ruby::Modules::Ec2_customer_gateway

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

Overview

Manage an AWS customer 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

#bgp_asnInteger?

Returns Border Gateway Protocol (BGP) Autonomous System Number (ASN), required when state=present.

Returns:

  • (Integer, nil)

    Border Gateway Protocol (BGP) Autonomous System Number (ASN), required when state=present.



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

attribute :bgp_asn

#ip_addressString

Returns Internet-routable IP address for customers gateway, must be a static address.

Returns:

  • (String)

    Internet-routable IP address for customers gateway, must be a static address.



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

attribute :ip_address

#nameString

Returns Name of the customer gateway.

Returns:

  • (String)

    Name of the customer gateway.



20
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_customer_gateway.rb', line 20

attribute :name

#routing:static, ...

Returns The type of routing.

Returns:

  • (:static, :dynamic, nil)

    The type of routing.



24
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_customer_gateway.rb', line 24

attribute :routing

#state:present, ...

Returns Create or terminate the Customer Gateway.

Returns:

  • (:present, :absent, nil)

    Create or terminate the Customer Gateway.



28
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_customer_gateway.rb', line 28

attribute :state