Class: Ansible::Ruby::Modules::Ec2_group
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ec2_group
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb
Overview
maintains ec2 security groups. This module has a dependency on python-boto >= 2.5
Instance Method Summary collapse
-
#description ⇒ String
Description of the security group.
-
#name ⇒ String
Name of the security group.
-
#purge_rules ⇒ String?
Purge existing rules on security group that are not found in rules.
-
#purge_rules_egress ⇒ String?
Purge existing rules_egress on security group that are not found in rules_egress.
-
#rules ⇒ Array<Hash>, ...
List of firewall inbound rules to enforce in this group (see example).
-
#rules_egress ⇒ Array<Hash>, ...
List of firewall outbound rules to enforce in this group (see example).
-
#state ⇒ :present, ...
Create or delete a security group.
-
#vpc_id ⇒ Integer?
ID of the VPC to create the group in.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#description ⇒ String
Returns Description of the security group.
15 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 15 attribute :description |
#name ⇒ String
Returns Name of the security group.
11 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 11 attribute :name |
#purge_rules ⇒ String?
Returns Purge existing rules on security group that are not found in rules.
35 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 35 attribute :purge_rules |
#purge_rules_egress ⇒ String?
Returns Purge existing rules_egress on security group that are not found in rules_egress.
39 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 39 attribute :purge_rules_egress |
#rules ⇒ Array<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.
23 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 23 attribute :rules |
#rules_egress ⇒ Array<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.
27 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 27 attribute :rules_egress |
#state ⇒ :present, ...
Returns Create or delete a security group.
31 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 31 attribute :state |
#vpc_id ⇒ Integer?
Returns ID of the VPC to create the group in.
19 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/amazon/ec2_group.rb', line 19 attribute :vpc_id |