Class: Ansible::Ruby::Modules::Ec2_vpc_peer

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

Overview

Read the AWS documentation for VPC Peering Connections U(docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-peering.html)

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

#peer_owner_idInteger?

Returns The AWS account number for cross account peering.

Returns:

  • (Integer, nil)

    The AWS account number for cross account peering.



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

attribute :peer_owner_id

#peer_regionString?

Returns Region of the accepting VPC.

Returns:

  • (String, nil)

    Region of the accepting VPC.



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

attribute :peer_region

#peer_vpc_idString?

Returns VPC id of the accepting VPC.

Returns:

  • (String, nil)

    VPC id of the accepting VPC.



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

attribute :peer_vpc_id

#peering_idString?

Returns Peering connection id.

Returns:

  • (String, nil)

    Peering connection id.



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

attribute :peering_id

#state:present, ...

Returns Create, delete, accept, reject a peering connection.

Returns:

  • (:present, :absent, :accept, :reject, nil)

    Create, delete, accept, reject a peering connection.



36
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_peer.rb', line 36

attribute :state

#tagsHash?

Returns Dictionary of tags to look for and apply when creating a Peering Connection.

Returns:

  • (Hash, nil)

    Dictionary of tags to look for and apply when creating a Peering Connection.



32
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_peer.rb', line 32

attribute :tags

#vpc_idString?

Returns VPC id of the requesting VPC.

Returns:

  • (String, nil)

    VPC id of the requesting VPC.



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

attribute :vpc_id