class Aws::S3::Resource
def create_bucket(options = {})
-
(Bucket)
-
Options Hash:
(**options)
-
:object_lock_enabled_for_bucket
(Boolean
) -- -
:grant_write_acp
(String
) -- -
:grant_write
(String
) -- -
:grant_read_acp
(String
) -- -
:grant_read
(String
) -- -
:grant_full_control
(String
) -- -
:create_bucket_configuration
(Types::CreateBucketConfiguration
) -- -
:bucket
(required, String
) -- -
:acl
(String
) --
Parameters:
-
options
(Hash
) -- ({})
Other tags:
- Example: Request syntax with placeholder values -
def create_bucket(options = {}) resp = @client.create_bucket(options) Bucket.new( name: options[:bucket], client: @client ) end