typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
70 lines (69 loc) • 2.93 kB
TypeScript
import { CfnResource, Resolvable } from '../../base';
export declare type LocationNFS_Type = 'AWS::DataSync::LocationNFS';
export declare const LocationNFS_Type = "AWS::DataSync::LocationNFS";
/**
* Resource schema for AWS::DataSync::LocationNFS {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html}
*/
export default function LocationNFS(props: LocationNFS_Properties): CfnResource<LocationNFS_Properties>;
/**
* Resource schema for AWS::DataSync::LocationNFS {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html}
*/
export declare type LocationNFS_Properties = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-mountoptions}
*/
MountOptions?: MountOptions;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-onpremconfig}
*/
OnPremConfig: OnPremConfig;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-serverhostname}
*/
ServerHostname: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-subdirectory}
*/
Subdirectory: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationnfs.html#cfn-datasync-locationnfs-tags}
*/
Tags?: Tag[];
LocationArn?: Resolvable<string>;
LocationUri?: Resolvable<string>;
};
/**
* The NFS mount options that DataSync can use to mount your NFS share.
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationnfs-mountoptions.html}
*/
export declare type MountOptions = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationnfs-mountoptions.html#cfn-datasync-locationnfs-mountoptions-version}
*/
Version?: Resolvable<'AUTOMATIC' | 'NFS3' | 'NFS4_0' | 'NFS4_1'>;
};
/**
* Contains a list of Amazon Resource Names (ARNs) of agents that are
* used to connect an NFS server. {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationnfs-onpremconfig.html}
*/
export declare type OnPremConfig = {
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-locationnfs-onpremconfig.html#cfn-datasync-locationnfs-onpremconfig-agentarns}
*/
AgentArns: Resolvable<string>[];
};
export declare type Tag = {
Key: Resolvable<string>;
Value: Resolvable<string>;
};