dcloud s3 bucket-access get

Block Public Access flags, the policy, whether the bucket is public, the website

IAM s3:GetBucketPolicyRead

Also needs s3:GetBucketPublicAccessBlock and s3:GetBucketWebsite; get-block, get-policy and get-website each need only their own read. `public` is true when a policy grants the public and Block Public Access does not stop it.

Synopsis

dcloud s3 bucket-access get name

Arguments

  • <name>Required

    string

    Also accepted as --name. Constraints: 3-63 chars, /^[a-z0-9][a-z0-9-]*[a-z0-9]$/

Example

dcloud s3 bucket-access get name

Generated from the API description, the same one the API checks requests against and the CLI is built from.