Class: Ansible::Ruby::Modules::Aws_s3_cors

Inherits:
Base show all
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

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/aws_s3_cors.rb', line 12

attribute :name

#rulesArray<Hash>, ...

Returns Cors rules to put on the s3 bucket.

Returns:

  • (Array<Hash>, Hash, nil)

    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.

Returns:

  • (:present, :absent)

    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