Skip to content

Create Access Grants Instance

s3control_create_access_grants_instance R Documentation

Creates an S3 Access Grants instance, which serves as a logical grouping for access grants

Description

Creates an S3 Access Grants instance, which serves as a logical grouping for access grants. You can create one S3 Access Grants instance per Region per account.

Permissions

You must have the s3:CreateAccessGrantsInstance permission to use this operation.

Additional Permissions

To associate an IAM Identity Center instance with your S3 Access Grants instance, you must also have the sso:DescribeInstance, sso:CreateApplication, sso:PutApplicationGrant, and sso:PutApplicationAuthenticationMethod permissions.

Usage

s3control_create_access_grants_instance(AccountId, IdentityCenterArn,
  Tags)

Arguments

AccountId

[required] The ID of the Amazon Web Services account that is making this request.

IdentityCenterArn

If you would like to associate your S3 Access Grants instance with an Amazon Web Services IAM Identity Center instance, use this field to pass the Amazon Resource Name (ARN) of the Amazon Web Services IAM Identity Center instance that you are associating with your S3 Access Grants instance. An IAM Identity Center instance is your corporate identity directory that you added to the IAM Identity Center. You can use the ListInstances API operation to retrieve a list of your Identity Center instances and their ARNs.

Tags

The Amazon Web Services resource tags that you are adding to the S3 Access Grants instance. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.

Value

A list with the following syntax:

list(
  CreatedAt = as.POSIXct(
    "2015-01-01"
  ),
  AccessGrantsInstanceId = "string",
  AccessGrantsInstanceArn = "string",
  IdentityCenterArn = "string"
)

Request syntax

svc$create_access_grants_instance(
  AccountId = "string",
  IdentityCenterArn = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)