AWS::DataSync::LocationHDFS
The AWS::DataSync::LocationHDFS resource specifies an endpoint for a Hadoop Distributed File System (HDFS).
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::DataSync::LocationHDFS", "Properties" : { "AgentArns" :[ String, ... ], "AuthenticationType" :String, "BlockSize" :Integer, "KerberosKeytab" :String, "KerberosKrb5Conf" :String, "KerberosPrincipal" :String, "KmsKeyProviderUri" :String, "NameNodes" :[ NameNode, ... ], "QopConfiguration" :QopConfiguration, "ReplicationFactor" :Integer, "SimpleUser" :String, "Subdirectory" :String, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::DataSync::LocationHDFS Properties: AgentArns:- StringAuthenticationType:StringBlockSize:IntegerKerberosKeytab:StringKerberosKrb5Conf:StringKerberosPrincipal:StringKmsKeyProviderUri:StringNameNodes:- NameNodeQopConfiguration:QopConfigurationReplicationFactor:IntegerSimpleUser:StringSubdirectory:StringTags:- Tag
Properties
AgentArns-
The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.
Required: Yes
Type: List of String
Maximum:
4Update requires: No interruption
AuthenticationTypeProperty description not available.
Required: Yes
Type: String
Update requires: No interruption
BlockSize-
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).
Required: No
Type: Integer
Minimum:
1048576Maximum:
1073741824Update requires: No interruption
KerberosKeytab-
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. Provide the base64-encoded file text. If
KERBEROSis specified forAuthType, this value is required.Required: No
Type: String
Update requires: No interruption
KerberosKrb5Conf-
The
krb5.conffile that contains the Kerberos configuration information. You can load thekrb5.confby providing a string of the file's contents or an Amazon S3 presigned URL of the file. IfKERBEROSis specified forAuthType, this value is required.Required: No
Type: String
Update requires: No interruption
KerberosPrincipal-
The Kerberos principal with access to the files and folders on the HDFS cluster.
Note
If
KERBEROSis specified forAuthenticationType, this parameter is required.Required: No
Type: String
Minimum:
1Maximum:
256Pattern:
^.+$Update requires: No interruption
KmsKeyProviderUri-
The URI of the HDFS cluster's Key Management Server (KMS).
Required: No
Type: String
Minimum:
1Maximum:
255Pattern:
^kms:\/\/http[s]?@(([a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9\-]*[A-Za-z0-9])(;(([a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9\-]*[A-Za-z0-9]))*:[0-9]{1,5}\/kms$Update requires: No interruption
NameNodes-
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.
Required: Yes
Type: List of NameNode
Update requires: No interruption
QopConfiguration-
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
QopConfigurationisn't specified,RpcProtectionandDataTransferProtectiondefault toPRIVACY. If you setRpcProtectionorDataTransferProtection, the other parameter assumes the same value.Required: No
Type: QopConfiguration
Update requires: No interruption
ReplicationFactor-
The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.
Required: No
Type: Integer
Minimum:
1Maximum:
512Update requires: No interruption
SimpleUser-
The user name used to identify the client on the host operating system.
Note
If
SIMPLEis specified forAuthenticationType, this parameter is required.Required: No
Type: String
Minimum:
1Maximum:
256Pattern:
^[_.A-Za-z0-9][-_.A-Za-z0-9]*$Update requires: No interruption
Subdirectory-
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
/.Required: No
Type: String
Maximum:
4096Pattern:
^[a-zA-Z0-9_\-\+\./\(\)\$\p{Zs}]+$Update requires: No interruption
Tags-
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.
Required: No
Type: List of Tag
Maximum:
50Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref returns the location resource ARN. For example:
arn:aws:datasync:us-east-2:111222333444:location/loc-07db7abfc326c50s3
For more information about using the Ref function, see Ref.
Fn::GetAtt
The Fn::GetAtt intrinsic function returns a value for a specified attribute
of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt intrinsic function, see
Fn::GetAtt.