/* 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. */ /** * Specifies lifecycle rules for an Amazon S3Outposts bucket. You must specify at least one of the following: AbortIncompleteMultipartUpload, ExpirationDate, ExpirationInDays. */ export type Rule = Rule1 & { Status?: "Enabled" | "Disabled"; /** * Unique identifier for the lifecycle rule. The value can't be longer than 255 characters. */ Id?: string; AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload; /** * Indicates when objects are deleted from Amazon S3Outposts. The date value must be in ISO 8601 format. The time is always midnight UTC. */ ExpirationDate?: string; /** * Indicates the number of days after creation when objects are deleted from Amazon S3Outposts. */ ExpirationInDays?: number; /** * The container for the filter of the lifecycle rule. */ Filter?: | { [k: string]: unknown; } | { [k: string]: unknown; } | { [k: string]: unknown; }; }; export type Rule1 = | { [k: string]: unknown; } | { [k: string]: unknown; } | { [k: string]: unknown; }; /** * Resource Type Definition for AWS::S3Outposts::Bucket */ export interface AwsS3OutpostsBucket { /** * The Amazon Resource Name (ARN) of the specified bucket. */ Arn?: string; /** * A name for the bucket. */ BucketName: string; /** * The id of the customer outpost on which the bucket resides. */ OutpostId: string; /** * An arbitrary set of tags (key-value pairs) for this S3Outposts bucket. */ Tags?: Tag[]; LifecycleConfiguration?: LifecycleConfiguration; } export interface Tag { Key: string; Value: string; } /** * Rules that define how Amazon S3Outposts manages objects during their lifetime. */ export interface LifecycleConfiguration { /** * A list of lifecycle rules for individual objects in an Amazon S3Outposts bucket. */ Rules: Rule[]; } /** * Specifies a lifecycle rule that stops incomplete multipart uploads to an Amazon S3Outposts bucket. */ export interface AbortIncompleteMultipartUpload { /** * Specifies the number of days after which Amazon S3Outposts aborts an incomplete multipart upload. */ DaysAfterInitiation: number; }