Class: Ansible::Ruby::Modules::S3_bucket

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_bucket.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

#forceBoolean?

Returns When trying to delete a bucket, delete all keys in the bucket first (an s3 bucket must be empty for a successful deletion).

Returns:

  • (Boolean, nil)

    When trying to delete a bucket, delete all keys in the bucket first (an s3 bucket must be empty for a successful deletion)



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

attribute :force

#nameString

Returns Name of the s3 bucket.

Returns:

  • (String)

    Name of the s3 bucket



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

attribute :name

#policyString?

Returns The JSON policy as a string.

Returns:

  • (String, nil)

    The JSON policy as a string.



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

attribute :policy

#requester_paysBoolean?

Returns With Requester Pays buckets, the requester instead of the bucket owner pays the cost of the request and the data download from the bucket.

Returns:

  • (Boolean, nil)

    With Requester Pays buckets, the requester instead of the bucket owner pays the cost of the request and the data download from the bucket.



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

attribute :requester_pays

#s3_urlObject?

Returns S3 URL endpoint for usage with Eucalypus, fakes3, etc. Otherwise assumes AWS.

Returns:

  • (Object, nil)

    S3 URL endpoint for usage with Eucalypus, fakes3, etc. Otherwise assumes AWS



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

attribute :s3_url

#state:present, ...

Returns Create or remove the s3 bucket.

Returns:

  • (:present, :absent, nil)

    Create or remove the s3 bucket



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

attribute :state

#tagsHash?

Returns tags dict to apply to bucket.

Returns:

  • (Hash, nil)

    tags dict to apply to bucket



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

attribute :tags

#versioningBoolean?

Returns Whether versioning is enabled or disabled (note that once versioning is enabled, it can only be suspended).

Returns:

  • (Boolean, nil)

    Whether versioning is enabled or disabled (note that once versioning is enabled, it can only be suspended)



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

attribute :versioning