Class: Ansible::Ruby::Modules::Aws_s3_cors
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Aws_s3_cors
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/amazon/aws_s3_cors.rb
Overview
Manage CORS for S3 buckets in AWS
Instance Method Summary collapse
-
#name ⇒ String
Name of the s3 bucket.
-
#rules ⇒ Array<Hash>, ...
Cors rules to put on the s3 bucket.
-
#state ⇒ :present, :absent
Create or remove cors on the s3 bucket.
Methods inherited from Base
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
#name ⇒ String
Returns Name of the s3 bucket.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_s3_cors.rb', line 12 attribute :name |
#rules ⇒ Array<Hash>, ...
Returns Cors rules to put on the s3 bucket.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_s3_cors.rb', line 16 attribute :rules |
#state ⇒ :present, :absent
Returns Create or remove cors on the s3 bucket.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/aws_s3_cors.rb', line 20 attribute :state |