AWS::DataSync::LocationHDFSThe `AWS::DataSync::LocationHDFS` resource specifies an endpoint for a Hadoop Distributed File System (HDFS).
import { CfnLocationHDFS } from 'aws-cdk-lib/aws-datasync';Or use the module namespace:
import * as datasync from 'aws-cdk-lib/aws-datasync';
// datasync.CfnLocationHDFSConfiguration passed to the constructor as CfnLocationHDFSProps.
agentArnsRequiredstring[]The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your HDFS cluster.
authenticationTypeRequiredstringThe authentication mode used to determine identity of user.
nameNodesRequiredIResolvable | IResolvable | NameNodeProperty[]The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.
blockSizeOptionalnumberThe size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
cmkSecretConfigOptionalIResolvable | CmkSecretConfigPropertySpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
customSecretConfigOptionalIResolvable | CustomSecretConfigPropertySpecifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.
kerberosKeytabOptionalstringThe Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. Provide the base64-encoded file text. If `KERBEROS` is specified for `AuthType` , this value is required.
kerberosKrb5ConfOptionalstringThe `krb5.conf` file that contains the Kerberos configuration information. You can load the `krb5.conf` by providing a string of the file's contents or an Amazon S3 presigned URL of the file. If `KERBEROS` is specified for `AuthType` , this value is required.
kerberosPrincipalOptionalstringThe Kerberos principal with access to the files and folders on the HDFS cluster. > If `KERBEROS` is specified for `AuthenticationType` , this parameter is required.
kmsKeyProviderUriOptionalstringThe URI of the HDFS cluster's Key Management Server (KMS).
qopConfigurationOptionalIResolvable | QopConfigurationPropertyThe Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If `QopConfiguration` isn't specified, `RpcProtection` and `DataTransferProtection` default to `PRIVACY` . If you set `RpcProtection` or `DataTransferProtection` , the other parameter assumes the same value.
replicationFactorOptionalnumberThe number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.
Default: - 3
simpleUserOptionalstringThe user name used to identify the client on the host operating system. > If `SIMPLE` is specified for `AuthenticationType` , this parameter is required.
subdirectoryOptionalstringA subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to `/` .
tagsOptionalCfnTag[]The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-datasyncAWS::DataSync::LocationHDFS