Class: Ansible::Ruby::Modules::S3_logging

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

Instance Method Summary collapse

Methods inherited from Base

#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

#nameString

Returns Name of the s3 bucket.

Returns:

  • (String)

    Name of the s3 bucket.



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

attribute :name

#state:present, ...

Returns Enable or disable logging.

Returns:

  • (:present, :absent, nil)

    Enable or disable logging.



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

attribute :state

#target_bucketString?

Returns The bucket to log to. Required when state=present.

Returns:

  • (String, nil)

    The bucket to log to. Required when state=present.



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

attribute :target_bucket

#target_prefixString?

Returns The prefix that should be prepended to the generated log files written to the target_bucket.

Returns:

  • (String, nil)

    The prefix that should be prepended to the generated log files written to the target_bucket.



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

attribute :target_prefix