Class: Ansible::Ruby::Modules::S3_bucket
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::S3_bucket
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_bucket.rb
Overview
Manage s3 buckets in AWS
Instance Method Summary collapse
-
#force ⇒ Boolean?
When trying to delete a bucket, delete all keys in the bucket first (an s3 bucket must be empty for a successful deletion).
-
#name ⇒ String
Name of the s3 bucket.
-
#policy ⇒ String?
The JSON policy as a string.
-
#requester_pays ⇒ Boolean?
With Requester Pays buckets, the requester instead of the bucket owner pays the cost of the request and the data download from the bucket.
-
#s3_url ⇒ Object?
S3 URL endpoint for usage with Eucalypus, fakes3, etc.
-
#state ⇒ :present, ...
Create or remove the s3 bucket.
-
#tags ⇒ Hash?
Tags dict to apply to bucket.
-
#versioning ⇒ Boolean?
Whether versioning is enabled or disabled (note that once versioning is enabled, it can only be suspended).
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#force ⇒ Boolean?
Returns When trying to delete a bucket, delete all keys in the bucket first (an s3 bucket must be empty for a successful deletion).
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_bucket.rb', line 11 attribute :force |
#name ⇒ String
Returns Name of the s3 bucket.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_bucket.rb', line 15 attribute :name |
#policy ⇒ String?
Returns The JSON policy as a string.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_bucket.rb', line 19 attribute :policy |
#requester_pays ⇒ Boolean?
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.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_bucket.rb', line 26 attribute :requester_pays |
#s3_url ⇒ Object?
Returns S3 URL endpoint for usage with Eucalypus, fakes3, etc. Otherwise assumes AWS.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_bucket.rb', line 23 attribute :s3_url |
#state ⇒ :present, ...
Returns Create or remove the s3 bucket.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_bucket.rb', line 30 attribute :state |
#tags ⇒ Hash?
Returns tags dict to apply to bucket.
34 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_bucket.rb', line 34 attribute :tags |
#versioning ⇒ Boolean?
Returns Whether versioning is enabled or disabled (note that once versioning is enabled, it can only be suspended).
38 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/s3_bucket.rb', line 38 attribute :versioning |