Skip to content

CreateBucketRequest

Source code in docs_src/capo_s3_control/types/create_bucket_request.py
class CreateBucketRequest(TypedDict, closed=True):
    acl: NotRequired["capo_s3_control.types.bucket_canned_acl.BucketCannedACL"]
    """<p>The canned ACL to apply to the bucket.</p> <note> <p>This is not supported by Amazon S3 on Outposts buckets.</p> </note>"""
    bucket: "capo_s3_control.types.bucket_name.BucketName"
    """<p>The name of the bucket.</p>"""
    create_bucket_configuration: NotRequired[
        "capo_s3_control.types.create_bucket_configuration.CreateBucketConfiguration"
    ]
    """<p>The configuration information for the bucket.</p> <note> <p>This is not supported by Amazon S3 on Outposts buckets.</p> </note>"""
    grant_full_control: NotRequired[
        "capo_s3_control.types.grant_full_control.GrantFullControl"
    ]
    """<p>Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.</p> <note> <p>This is not supported by Amazon S3 on Outposts buckets.</p> </note>"""
    grant_read: NotRequired["capo_s3_control.types.grant_read.GrantRead"]
    """<p>Allows grantee to list the objects in the bucket.</p> <note> <p>This is not supported by Amazon S3 on Outposts buckets.</p> </note>"""
    grant_read_acp: NotRequired["capo_s3_control.types.grant_read_acp.GrantReadACP"]
    """<p>Allows grantee to read the bucket ACL.</p> <note> <p>This is not supported by Amazon S3 on Outposts buckets.</p> </note>"""
    grant_write: NotRequired["capo_s3_control.types.grant_write.GrantWrite"]
    """<p>Allows grantee to create, overwrite, and delete any object in the bucket.</p> <note> <p>This is not supported by Amazon S3 on Outposts buckets.</p> </note>"""
    grant_write_acp: NotRequired["capo_s3_control.types.grant_write_acp.GrantWriteACP"]
    """<p>Allows grantee to write the ACL for the applicable bucket.</p> <note> <p>This is not supported by Amazon S3 on Outposts buckets.</p> </note>"""
    object_lock_enabled_for_bucket: "capo_s3_control.types.object_lock_enabled_for_bucket.ObjectLockEnabledForBucket"
    """<p>Specifies whether you want S3 Object Lock to be enabled for the new bucket.</p> <note> <p>This is not supported by Amazon S3 on Outposts buckets.</p> </note>"""
    outpost_id: NotRequired[
        "capo_s3_control.types.non_empty_max_length64_string.NonEmptyMaxLength64String"
    ]
    """<p>The ID of the Outposts where the bucket is being created.</p> <note> <p>This ID is required by Amazon S3 on Outposts buckets.</p> </note>"""

acl instance-attribute

acl: NotRequired[BucketCannedACL]

The canned ACL to apply to the bucket.

This is not supported by Amazon S3 on Outposts buckets.

bucket instance-attribute

bucket: BucketName

The name of the bucket.

create_bucket_configuration instance-attribute

create_bucket_configuration: NotRequired[CreateBucketConfiguration]

The configuration information for the bucket.

This is not supported by Amazon S3 on Outposts buckets.

grant_full_control instance-attribute

grant_full_control: NotRequired[GrantFullControl]

Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.

This is not supported by Amazon S3 on Outposts buckets.

grant_read instance-attribute

grant_read: NotRequired[GrantRead]

Allows grantee to list the objects in the bucket.

This is not supported by Amazon S3 on Outposts buckets.

grant_read_acp instance-attribute

grant_read_acp: NotRequired[GrantReadACP]

Allows grantee to read the bucket ACL.

This is not supported by Amazon S3 on Outposts buckets.

grant_write instance-attribute

grant_write: NotRequired[GrantWrite]

Allows grantee to create, overwrite, and delete any object in the bucket.

This is not supported by Amazon S3 on Outposts buckets.

grant_write_acp instance-attribute

grant_write_acp: NotRequired[GrantWriteACP]

Allows grantee to write the ACL for the applicable bucket.

This is not supported by Amazon S3 on Outposts buckets.

object_lock_enabled_for_bucket instance-attribute

object_lock_enabled_for_bucket: ObjectLockEnabledForBucket

Specifies whether you want S3 Object Lock to be enabled for the new bucket.

This is not supported by Amazon S3 on Outposts buckets.

outpost_id instance-attribute

outpost_id: NotRequired[NonEmptyMaxLength64String]

The ID of the Outposts where the bucket is being created.

This ID is required by Amazon S3 on Outposts buckets.