Module Values.CreateLocationSmbRequestSource

CreateLocationSmbRequest

Sourcetype nonrec t = {
  1. subdirectory : SmbSubdirectory.t;
    (*

    Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example, /path/to/subdirectory). Make sure that other SMB clients in your network can also mount this path. To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see Providing DataSync access to SMB file servers.

    *)
  2. serverHostname : ServerHostname.t;
    (*

    Specifies the domain name or IP address (IPv4 or IPv6) of the SMB file server that your DataSync agent connects to. If you're using Kerberos authentication, you must specify a domain name.

    *)
  3. user : SmbUser.t option;
    (*

    Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server. This parameter applies only if AuthenticationType is set to NTLM. For information about choosing a user with the right level of access for your transfer, see Providing DataSync access to SMB file servers.

    *)
  4. domain : SmbDomain.t option;
    (*

    Specifies the Windows domain name that your SMB file server belongs to. This parameter applies only if AuthenticationType is set to NTLM. If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.

    *)
  5. password : SmbPassword.t option;
    (*

    Specifies 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. This parameter applies only if AuthenticationType is set to NTLM.

    *)
  6. cmkSecretConfig : CmkSecretConfig.t option;
    (*

    Specifies 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. When you include this parameter as part of a CreateLocationSmbRequest request, you provide only the KMS key ARN. DataSync uses this KMS key together with either the Password or KerberosKeytab you specify to create a DataSync-managed secret to store the location access credentials. Make sure that DataSync has permission to access the KMS key that you specify. For more information, see Using a service-managed secret encrypted with a custom KMS key. You can use either CmkSecretConfig (with either Password or KerberosKeytab) or CustomSecretConfig (without any Password and KerberosKeytab) to provide credentials for a CreateLocationSmbRequest request. Do not provide both CmkSecretConfig and CustomSecretConfig parameters for the same request.

    *)
  7. customSecretConfig : CustomSecretConfig.t option;
    (*

    Specifies 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). This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret. For more information, see Using a secret that you manage. You can use either CmkSecretConfig (with SasConfiguration) or CustomSecretConfig (without SasConfiguration) to provide credentials for a CreateLocationSmbRequest request. Do not provide both parameters for the same request.

    *)
  8. agentArns : AgentArnList.t;
    (*

    Specifies the DataSync agent (or agents) that can connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).

    *)
  9. mountOptions : SmbMountOptions.t option;
    (*

    Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.

    *)
  10. tags : InputTagList.t option;
    (*

    Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.

    *)
  11. authenticationType : SmbAuthenticationType.t option;
    (*

    Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supports NTLM (default) and KERBEROS authentication. For more information, see Providing DataSync access to SMB file servers.

    *)
  12. dnsIpAddresses : DnsIpList.t option;
    (*

    Specifies the IPv4 or IPv6 addresses for the DNS servers that your SMB file server belongs to. This parameter applies only if AuthenticationType is set to KERBEROS. If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right SMB file server.

    *)
  13. kerberosPrincipal : KerberosPrincipal.t option;
    (*

    Specifies 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. A Kerberos principal might look like HOST/kerberosuser@MYDOMAIN.ORG. Principal names are case sensitive. Your DataSync task execution will fail if the principal that you specify for this parameter doesn’t exactly match the principal that you use to create the keytab file.

    *)
  14. kerberosKeytab : KerberosKeytabFile.t option;
    (*

    Specifies your Kerberos key table (keytab) file, which includes mappings between your Kerberos principal and encryption keys. To avoid task execution errors, make sure that the Kerberos principal that you use to create the keytab file matches exactly what you specify for KerberosPrincipal.

    *)
  15. kerberosKrb5Conf : KerberosKrb5ConfFile.t option;
    (*

    Specifies a Kerberos configuration file (krb5.conf) that defines your Kerberos realm configuration. The file must be base64 encoded. If you're using the CLI, the encoding is done for you.

    *)
}
Sourceval context_ : string
Sourceval make : ?user:??? -> ?domain:??? -> ?password:??? -> ?cmkSecretConfig:??? -> ?customSecretConfig:??? -> ?mountOptions:??? -> ?tags:??? -> ?authenticationType:??? -> ?dnsIpAddresses:??? -> ?kerberosPrincipal:??? -> ?kerberosKeytab:??? -> ?kerberosKrb5Conf:??? -> subdirectory:SmbSubdirectory.t -> serverHostname:ServerHostname.t -> agentArns:AgentArnList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of KerberosKeytabFile.t | `Enum of string | `List of [> `String of AgentArn.t | `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of SmbSubdirectory.t | `Structure of (string * [> `Enum of string | `String of SecretArn.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t