CmdID / aws / aws datasync
aws datasync create-location-smb
Creates a transfer location for a Server Message Block (SMB) file server. AWS CLI reference
15 options Its page in the AWS CLI reference
Options
--agent-arnsSpecifies the DataSync agent (or agents) that can connect to your SMB file server.--authentication-typeSpecifies the authentication protocol that DataSync uses to connect to your SMB file server.--cmk-secret-configSpecifies configuration information for a DataSync-managed secret, either a Password or KerberosKeytab (for NTLM (default) and KERBEROS authentication types, respectively) that DataSync uses to access a specific SMB storage location, with a customer-managed KMS key.--custom-secret-configSpecifies configuration information for a customer-managed Secrets Manager secret where the SMB storage location credentials is stored in Secrets Manager as plain text (for Password) or binary (for KerberosKeytab).--dns-ip-addressesSpecifies the IPv4 or IPv6 addresses for the DNS servers that your SMB file server belongs to.--domainSpecifies the Windows domain name that your SMB file server belongs to.--kerberos-keytabSpecifies your Kerberos key table (keytab) file, which includes mappings between your Kerberos principal and encryption keys.--kerberos-krb5-confSpecifies a Kerberos configuration file (krb5.conf) that defines your Kerberos realm configuration.--kerberos-principalSpecifies a Kerberos principal, which is an identity in your Kerberos realm that has permission to access the files, folders, and file metadata in your SMB file server.--mount-optionsSpecifies the version of the SMB protocol that DataSync uses to access your SMB file server.--passwordSpecifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.--server-hostnameSpecifies the domain name or IP address (IPv4 or IPv6) of the SMB file server that your DataSync agent connects to.--subdirectorySpecifies the name of the share exported by your SMB file server where DataSync will read or write data.--tagsSpecifies labels that help you categorize, filter, and search for your Amazon Web Services resources.--userSpecifies the user that can mount and access the files, folders, and file metadata in your SMB file server.