Skip to content

Get Bucket Abac

s3_get_bucket_abac R Documentation

Returns the attribute-based access control (ABAC) property of the general purpose bucket

Description

Returns the attribute-based access control (ABAC) property of the general purpose bucket. If ABAC is enabled on your bucket, you can use tags on the bucket for access control. For more information, see Enabling ABAC in general purpose buckets.

Usage

s3_get_bucket_abac(Bucket, ExpectedBucketOwner)

Arguments

Bucket

[required] The name of the general purpose bucket.

ExpectedBucketOwner

The Amazon Web Services account ID of the general purpose bucket's owner.

Value

A list with the following syntax:

list(
  AbacStatus = list(
    Status = "Enabled"|"Disabled"
  )
)

Request syntax

svc$get_bucket_abac(
  Bucket = "string",
  ExpectedBucketOwner = "string"
)