Class: Ansible::Ruby::Modules::Aws_inspector_target

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

Overview

Creates, updates, or deletes Amazon Inspector Assessment Targets and manages the required Resource Groups.

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

#nameString

Returns The user-defined name that identifies the assessment target. The name must be unique within the AWS account.

Returns:

  • (String)

    The user-defined name that identifies the assessment target. The name must be unique within the AWS account.



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

attribute :name

#state:absent, ...

Returns The state of the assessment target.

Returns:

  • (:absent, :present, nil)

    The state of the assessment target.



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

attribute :state

#tagsHash?

Returns Tags of the EC2 instances to be added to the assessment target.,Required if C(state=present).

Returns:

  • (Hash, nil)

    Tags of the EC2 instances to be added to the assessment target.,Required if C(state=present).



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

attribute :tags