Skip to content

Update Allow List

macie2_update_allow_list R Documentation

Updates the settings for an allow list

Description

Updates the settings for an allow list.

Usage

macie2_update_allow_list(criteria, description, id, name)

Arguments

criteria

[required] The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression that defines a text pattern to ignore (regex).

You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.

description

A custom description of the allow list. The description can contain as many as 512 characters.

id

[required] The unique identifier for the Amazon Macie resource that the request applies to.

name

[required] A custom name for the allow list. The name can contain as many as 128 characters.

Value

A list with the following syntax:

list(
  arn = "string",
  id = "string"
)

Request syntax

svc$update_allow_list(
  criteria = list(
    regex = "string",
    s3WordsList = list(
      bucketName = "string",
      objectKey = "string"
    )
  ),
  description = "string",
  id = "string",
  name = "string"
)