AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::DataSync::LocationHDFS

CfnLocationHDFS

The `AWS::DataSync::LocationHDFS` resource specifies an endpoint for a Hadoop Distributed File System (HDFS).

Import

import { CfnLocationHDFS } from 'aws-cdk-lib/aws-datasync';

Or use the module namespace:

import * as datasync from 'aws-cdk-lib/aws-datasync';
// datasync.CfnLocationHDFS

Properties

Configuration passed to the constructor as CfnLocationHDFSProps.

agentArnsRequired
string[]

The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your HDFS cluster.

authenticationTypeRequired
string

The authentication mode used to determine identity of user.

nameNodesRequired
IResolvable | 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.

blockSizeOptional
number

The 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).

cmkSecretConfigOptional
IResolvable | CmkSecretConfigProperty

Specifies 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.

customSecretConfigOptional
IResolvable | CustomSecretConfigProperty

Specifies 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.

kerberosKeytabOptional
string

The 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.

kerberosKrb5ConfOptional
string

The `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.

kerberosPrincipalOptional
string

The Kerberos principal with access to the files and folders on the HDFS cluster. > If `KERBEROS` is specified for `AuthenticationType` , this parameter is required.

kmsKeyProviderUriOptional
string

The URI of the HDFS cluster's Key Management Server (KMS).

qopConfigurationOptional
IResolvable | QopConfigurationProperty

The 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.

replicationFactorOptional
number

The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.

Default: - 3

simpleUserOptional
string

The user name used to identify the client on the host operating system. > If `SIMPLE` is specified for `AuthenticationType` , this parameter is required.

subdirectoryOptional
string

A 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 `/` .

tagsOptional
CfnTag[]

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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter