Class: Ansible::Ruby::Modules::Ec2_vpc_subnet_facts

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

Overview

Gather facts about ec2 VPC subnets in AWS

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

#filtersHash?

Returns A dict of filters to apply. Each dict item consists of a filter key and a filter value. See U(docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSubnets.html) for possible filters.

Returns:



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

attribute :filters

#subnet_idsString?

Returns A list of subnet IDs to gather facts for.

Returns:

  • (String, nil)

    A list of subnet IDs to gather facts for.



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

attribute :subnet_ids