Class CfnLocationHDFSProps
Properties for defining a CfnLocationHDFS
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.AWS.DataSync.dll
Syntax (csharp)
public class CfnLocationHDFSProps : Object, ICfnLocationHDFSProps
Syntax (vb)
Public Class CfnLocationHDFSProps
Inherits Object
Implements ICfnLocationHDFSProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataSync;
var cfnLocationHDFSProps = new CfnLocationHDFSProps {
AgentArns = new [] { "agentArns" },
AuthenticationType = "authenticationType",
NameNodes = new [] { new NameNodeProperty {
Hostname = "hostname",
Port = 123
} },
// the properties below are optional
BlockSize = 123,
KerberosKeytab = "kerberosKeytab",
KerberosKrb5Conf = "kerberosKrb5Conf",
KerberosPrincipal = "kerberosPrincipal",
KmsKeyProviderUri = "kmsKeyProviderUri",
QopConfiguration = new QopConfigurationProperty {
DataTransferProtection = "dataTransferProtection",
RpcProtection = "rpcProtection"
},
ReplicationFactor = 123,
SimpleUser = "simpleUser",
Subdirectory = "subdirectory",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnLocationHDFSProps() |
Properties
AgentArns | The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster. |
AuthenticationType |
|
BlockSize | The size of data blocks to write into the HDFS cluster. |
KerberosKeytab | The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. |
KerberosKrb5Conf | The |
KerberosPrincipal | The Kerberos principal with access to the files and folders on the HDFS cluster. |
KmsKeyProviderUri | The URI of the HDFS cluster's Key Management Server (KMS). |
NameNodes | The NameNode that manages the HDFS namespace. |
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. |
ReplicationFactor | The number of DataNodes to replicate the data to when writing to the HDFS cluster. |
SimpleUser | The user name used to identify the client on the host operating system. |
Subdirectory | A subdirectory in the HDFS cluster. |
Tags | The key-value pair that represents the tag that you want to add to the location. |
Constructors
CfnLocationHDFSProps()
public CfnLocationHDFSProps()
Properties
AgentArns
The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.
public string[] AgentArns { get; set; }
Property Value
System.String[]
Remarks
AuthenticationType
AWS::DataSync::LocationHDFS.AuthenticationType
.
public string AuthenticationType { get; set; }
Property Value
System.String
Remarks
BlockSize
The size of data blocks to write into the HDFS cluster.
public Nullable<double> BlockSize { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
KerberosKeytab
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.
public string KerberosKeytab { get; set; }
Property Value
System.String
Remarks
Provide the base64-encoded file text. If KERBEROS
is specified for AuthType
, this value is required.
KerberosKrb5Conf
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.
public string KerberosKrb5Conf { get; set; }
Property Value
System.String
Remarks
KerberosPrincipal
The Kerberos principal with access to the files and folders on the HDFS cluster.
public string KerberosPrincipal { get; set; }
Property Value
System.String
Remarks
If KERBEROS
is specified for AuthenticationType
, this parameter is required.
KmsKeyProviderUri
The URI of the HDFS cluster's Key Management Server (KMS).
public string KmsKeyProviderUri { get; set; }
Property Value
System.String
Remarks
NameNodes
The NameNode that manages the HDFS namespace.
public object NameNodes { get; set; }
Property Value
System.Object
Remarks
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.
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.
public object QopConfiguration { get; set; }
Property Value
System.Object
Remarks
If QopConfiguration
isn't specified, RpcProtection
and DataTransferProtection
default to PRIVACY
. If you set RpcProtection
or DataTransferProtection
, the other parameter assumes the same value.
ReplicationFactor
The number of DataNodes to replicate the data to when writing to the HDFS cluster.
public Nullable<double> ReplicationFactor { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
By default, data is replicated to three DataNodes.
SimpleUser
The user name used to identify the client on the host operating system.
public string SimpleUser { get; set; }
Property Value
System.String
Remarks
If SIMPLE
is specified for AuthenticationType
, this parameter is required.
Subdirectory
A subdirectory in the HDFS cluster.
public string Subdirectory { get; set; }
Property Value
System.String
Remarks
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 /
.
Tags
The key-value pair that represents the tag that you want to add to the location.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
The value can be an empty string. We recommend using tags to name your resources.