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

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

Overview

Manage logging facility of an s3 bucket in AWS

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 Name of the s3 bucket.

Returns:

  • (String)

    Name of the s3 bucket.



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

attribute :name

#state:present, ...

Returns Enable or disable logging.

Returns:

  • (:present, :absent, nil)

    Enable or disable logging.



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

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.



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

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.



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

attribute :target_prefix