Class: Ansible::Ruby::Modules::Aws_config_rule

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

Overview

Module manages AWS Config rules

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

#descriptionString?

Returns The description that you provide for the AWS Config rule.

Returns:

  • (String, nil)

    The description that you provide for the AWS Config rule.



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

attribute :description

#execution_frequency:One_Hour, ...

Returns The maximum frequency with which AWS Config runs evaluations for a rule.

Returns:

  • (:One_Hour, :Three_Hours, :Six_Hours, :Twelve_Hours, :TwentyFour_Hours, nil)

    The maximum frequency with which AWS Config runs evaluations for a rule.



35
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_config_rule.rb', line 35

attribute :execution_frequency

#input_parametersObject?

Returns A string, in JSON format, that is passed to the AWS Config rule Lambda function.

Returns:

  • (Object, nil)

    A string, in JSON format, that is passed to the AWS Config rule Lambda function.



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

attribute :input_parameters

#nameString

Returns The name of the AWS Config resource.

Returns:

  • (String)

    The name of the AWS Config resource.



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

attribute :name

#scopeHash?

Returns Defines which resources can trigger an evaluation for the rule.

Returns:

  • (Hash, nil)

    Defines which resources can trigger an evaluation for the rule.



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

attribute :scope

#sourceHash?

Returns Provides the rule owner (AWS or customer), the rule identifier, and the notifications that cause the function to evaluate your AWS resources.

Returns:

  • (Hash, nil)

    Provides the rule owner (AWS or customer), the rule identifier, and the notifications that cause the function to evaluate your AWS resources.



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

attribute :source

#state:present, ...

Returns Whether the Config rule should be present or absent.

Returns:

  • (:present, :absent, nil)

    Whether the Config rule should be present or absent.



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

attribute :state