Skip to main content

CreateBucketBody

Type Alias CreateBucketBody 

Source
pub type CreateBucketBody = CreateBucketRequestInput;

Aliased Type§

pub struct CreateBucketBody {
    pub name: String,
    pub object_lock_enabled: Option<bool>,
}

Fields§

§name: String

Resource names must not start with the literal crn: prefix or be UUIDs (canonical, compact, braced, or urn:uuid: forms, in either case).

§object_lock_enabled: Option<bool>

When true, enables S3 Object Lock on the bucket at creation time and turns versioning on. Object Lock cannot be enabled later.