/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * AllowList criteria. */ export type Criteria = | { /** * The S3 object key for the AllowList. */ Regex: string; } | { S3WordsList: S3WordsList; }; /** * Macie AllowList resource schema */ export interface AwsMacieAllowlist { /** * Name of AllowList. */ Name: string; /** * Description of AllowList. */ Description?: string; Criteria: Criteria; /** * AllowList ID. */ Id?: string; /** * AllowList ARN. */ Arn?: string; /** * AllowList status. */ Status?: | "OK" | "S3_OBJECT_NOT_FOUND" | "S3_USER_ACCESS_DENIED" | "S3_OBJECT_ACCESS_DENIED" | "S3_THROTTLED" | "S3_OBJECT_OVERSIZE" | "S3_OBJECT_EMPTY" | "UNKNOWN_ERROR"; /** * A collection of tags associated with a resource */ Tags?: Tag[]; } /** * The S3 location for the AllowList. */ export interface S3WordsList { BucketName: string; ObjectKey: string; } /** * A key-value pair to associate with a resource. */ export interface Tag { /** * The tag's key. */ Key: string; /** * The tag's value. */ Value: string; }