typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
204 lines (203 loc) • 7.99 kB
TypeScript
import { CfnResource, Resolvable } from '../../base';
export declare type Bucket_Type = 'AWS::S3Outposts::Bucket';
export declare const Bucket_Type = "AWS::S3Outposts::Bucket";
/**
* Resource Type Definition for AWS::S3Outposts::Bucket {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucket.html}
*/
export default function Bucket(props: Bucket_Properties): CfnResource<Bucket_Properties>;
/**
* Resource Type Definition for AWS::S3Outposts::Bucket {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucket.html}
*/
export declare type Bucket_Properties = {
Arn?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucket.html#cfn-s3outposts-bucket-bucketname}
*/
BucketName: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucket.html#cfn-s3outposts-bucket-outpostid}
*/
OutpostId: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucket.html#cfn-s3outposts-bucket-tags}
*/
Tags?: Tag[];
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucket.html#cfn-s3outposts-bucket-lifecycleconfiguration}
*/
LifecycleConfiguration?: LifecycleConfiguration;
};
export declare type Tag = {
Key: Resolvable<string>;
Value: Resolvable<string>;
};
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-lifecycleconfiguration.html}
*/
export declare type LifecycleConfiguration = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-lifecycleconfiguration.html#cfn-s3outposts-bucket-lifecycleconfiguration-rules}
*/
Rules: Rule[];
};
export declare type Rule = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-status}
*/
Status: Resolvable<'Enabled' | 'Disabled'>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-id}
*/
Id?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-abortincompletemultipartupload}
*/
AbortIncompleteMultipartUpload: AbortIncompleteMultipartUpload;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-expirationdate}
*/
ExpirationDate?: iso8601UTC;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-expirationindays}
*/
ExpirationInDays?: Resolvable<number>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-filter}
*/
Filter?: {
Prefix: FilterPrefix;
Tag?: FilterTag;
AndOperator?: FilterAndOperator;
} | {
Prefix?: FilterPrefix;
Tag: FilterTag;
AndOperator?: FilterAndOperator;
} | {
Prefix?: FilterPrefix;
Tag?: FilterTag;
AndOperator: FilterAndOperator;
};
} | {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-status}
*/
Status: Resolvable<'Enabled' | 'Disabled'>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-id}
*/
Id?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-abortincompletemultipartupload}
*/
AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-expirationdate}
*/
ExpirationDate: iso8601UTC;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-expirationindays}
*/
ExpirationInDays?: Resolvable<number>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-filter}
*/
Filter?: {
Prefix: FilterPrefix;
Tag?: FilterTag;
AndOperator?: FilterAndOperator;
} | {
Prefix?: FilterPrefix;
Tag: FilterTag;
AndOperator?: FilterAndOperator;
} | {
Prefix?: FilterPrefix;
Tag?: FilterTag;
AndOperator: FilterAndOperator;
};
} | {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-status}
*/
Status: Resolvable<'Enabled' | 'Disabled'>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-id}
*/
Id?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-abortincompletemultipartupload}
*/
AbortIncompleteMultipartUpload?: AbortIncompleteMultipartUpload;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-expirationdate}
*/
ExpirationDate?: iso8601UTC;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-expirationindays}
*/
ExpirationInDays: Resolvable<number>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-rule.html#cfn-s3outposts-bucket-rule-filter}
*/
Filter?: {
Prefix: FilterPrefix;
Tag?: FilterTag;
AndOperator?: FilterAndOperator;
} | {
Prefix?: FilterPrefix;
Tag: FilterTag;
AndOperator?: FilterAndOperator;
} | {
Prefix?: FilterPrefix;
Tag?: FilterTag;
AndOperator: FilterAndOperator;
};
};
export declare type iso8601UTC = Resolvable<string>;
/**
* Specifies the days since the initiation of an incomplete multipart
* upload that Amazon S3Outposts will wait before permanently removing
* all parts of the upload. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-abortincompletemultipartupload.html}
*/
export declare type AbortIncompleteMultipartUpload = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3outposts-bucket-abortincompletemultipartupload.html#cfn-s3outposts-bucket-abortincompletemultipartupload-daysafterinitiation}
*/
DaysAfterInitiation: Resolvable<number>;
};
export declare type FilterPrefix = Resolvable<string>;
export declare type FilterTag = {
Key: Resolvable<string>;
Value: Resolvable<string>;
};
export declare type FilterAndOperator = {
Prefix?: FilterPrefix;
Tags: FilterTag[];
};