This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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 AWS 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 DataSync agents that can connect to your HDFS cluster.
Required: Yes
Type: Array of String
Minimum:
1Maximum:
128 | 4Update requires: No interruption
AuthenticationTypeProperty description not available.
Required: Yes
Type: String
Allowed values:
SIMPLE | KERBEROSUpdate 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
Maximum:
87384Update 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
Maximum:
174764Update 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
Pattern:
^.+$Minimum:
1Maximum:
256Update requires: No interruption
KmsKeyProviderUri-
The URI of the HDFS cluster's Key Management Server (KMS).
Required: No
Type: String
Pattern:
^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$Minimum:
1Maximum:
255Update 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: Array of NameNode
Minimum:
1Update 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
Pattern:
^[_.A-Za-z0-9][-_.A-Za-z0-9]*$Minimum:
1Maximum:
256Update 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
Pattern:
^[a-zA-Z0-9_\-\+\./\(\)\$\p{Zs}]+$Maximum:
4096Update requires: No interruption
-
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: Array 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.
LocationArn-
The Amazon Resource Name (ARN) of the HDFS cluster location to describe.
LocationUri-
The URI of the HDFS cluster location.