/* 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. */ /** * Resource schema for AWS::DataSync::LocationSMB. */ export interface AwsDatasyncLocationsmb { /** * The Amazon Resource Names (ARNs) of agents to use for a Simple Message Block (SMB) location. * * @minItems 1 * @maxItems 4 */ AgentArns: [string] | [string, string] | [string, string, string] | [string, string, string, string]; /** * The name of the Windows domain that the SMB server belongs to. */ Domain?: string; MountOptions?: MountOptions; /** * The password of the user who can mount the share and has the permissions to access files and folders in the SMB share. */ Password?: string; /** * The name of the SMB server. This value is the IP address or Domain Name Service (DNS) name of the SMB server. */ ServerHostname?: string; /** * The subdirectory in the SMB file system that is used to read data from the SMB source location or write data to the SMB destination */ Subdirectory?: string; /** * The user who can mount the share, has the permissions to access files and folders in the SMB share. */ User: string; /** * An array of key-value pairs to apply to this resource. * * @maxItems 50 */ Tags?: Tag[]; /** * The Amazon Resource Name (ARN) of the SMB location that is created. */ LocationArn?: string; /** * The URL of the SMB location that was described. */ LocationUri?: string; } /** * The mount options used by DataSync to access the SMB server. */ export interface MountOptions { /** * The specific SMB version that you want DataSync to use to mount your SMB share. */ Version?: "AUTOMATIC" | "SMB1" | "SMB2_0" | "SMB2" | "SMB3"; } /** * A key-value pair to associate with a resource. */ export interface Tag { /** * The key for an AWS resource tag. */ Key: string; /** * The value for an AWS resource tag. */ Value: string; }