typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
58 lines (57 loc) • 2.47 kB
TypeScript
import { CfnResource, Resolvable } from '../../base';
export declare type LocationS3_Type = 'AWS::DataSync::LocationS3';
export declare const LocationS3_Type = "AWS::DataSync::LocationS3";
/**
* Resource schema for AWS::DataSync::LocationS3 {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html}
*/
export default function LocationS3(props: LocationS3_Properties): CfnResource<LocationS3_Properties>;
/**
* Resource schema for AWS::DataSync::LocationS3 {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html}
*/
export declare type LocationS3_Properties = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html#cfn-datasync-locations3-s3config}
*/
S3Config: S3Config;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html#cfn-datasync-locations3-s3bucketarn}
*/
S3BucketArn: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html#cfn-datasync-locations3-subdirectory}
*/
Subdirectory?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html#cfn-datasync-locations3-s3storageclass}
*/
S3StorageClass?: Resolvable<'STANDARD' | 'STANDARD_IA' | 'ONEZONE_IA' | 'INTELLIGENT_TIERING' | 'GLACIER' | 'DEEP_ARCHIVE'>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locations3.html#cfn-datasync-locations3-tags}
*/
Tags?: Tag[];
LocationArn?: Resolvable<string>;
LocationUri?: Resolvable<string>;
};
/**
* The Amazon Resource Name (ARN) of the AWS IAM role that is used to
* access an Amazon S3 bucket. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locations3-s3config.html}
*/
export declare type S3Config = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locations3-s3config.html#cfn-datasync-locations3-s3config-bucketaccessrolearn}
*/
BucketAccessRoleArn: Resolvable<string>;
};
export declare type Tag = {
Key: Resolvable<string>;
Value: Resolvable<string>;
};