Class: Ansible::Ruby::Modules::Ec2_group

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#descriptionString

Returns Description of the security group.

Returns:

  • (String)

    Description of the security group.



14
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 14

attribute :description

#nameString

Returns Name of the security group.

Returns:

  • (String)

    Name of the security group.



10
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 10

attribute :name

#purge_rulesString?

Returns Purge existing rules on security group that are not found in rules.

Returns:

  • (String, nil)

    Purge existing rules on security group that are not found in rules



34
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 34

attribute :purge_rules

#purge_rules_egressString?

Returns Purge existing rules_egress on security group that are not found in rules_egress.

Returns:

  • (String, nil)

    Purge existing rules_egress on security group that are not found in rules_egress



38
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 38

attribute :purge_rules_egress

#rulesArray<Hash>, ...

Returns List of firewall inbound rules to enforce in this group (see example). If none are supplied, a default all-out rule is assumed. If an empty list is supplied, no inbound rules will be enabled.

Returns:

  • (Array<Hash>, Hash, nil)

    List of firewall inbound rules to enforce in this group (see example). If none are supplied, a default all-out rule is assumed. If an empty list is supplied, no inbound rules will be enabled.



22
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 22

attribute :rules

#rules_egressArray<Hash>, ...

Returns List of firewall outbound rules to enforce in this group (see example). If none are supplied, a default all-out rule is assumed. If an empty list is supplied, no outbound rules will be enabled.

Returns:

  • (Array<Hash>, Hash, nil)

    List of firewall outbound rules to enforce in this group (see example). If none are supplied, a default all-out rule is assumed. If an empty list is supplied, no outbound rules will be enabled.



26
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 26

attribute :rules_egress

#state:present, ...

Returns Create or delete a security group.

Returns:

  • (:present, :absent, nil)

    Create or delete a security group



30
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 30

attribute :state

#vpc_idInteger?

Returns ID of the VPC to create the group in.

Returns:

  • (Integer, nil)

    ID of the VPC to create the group in.



18
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 18

attribute :vpc_id