Interface ICfnLocationHDFSProps
Properties for defining a CfnLocationHDFS
.
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnLocationHDFSProps
Syntax (vb)
Public Interface 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
Properties
AgentArns | The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster. |
AuthenticationType | The authentication mode used to determine identity of user. |
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. |
Properties
AgentArns
The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.
string[] AgentArns { get; }
Property Value
System.String[]
Remarks
AuthenticationType
The authentication mode used to determine identity of user.
string AuthenticationType { get; }
Property Value
System.String
Remarks
BlockSize
The size of data blocks to write into the HDFS cluster.
virtual Nullable<double> BlockSize { get; }
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.
virtual string KerberosKeytab { get; }
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.
virtual string KerberosKrb5Conf { get; }
Property Value
System.String
Remarks
KerberosPrincipal
The Kerberos principal with access to the files and folders on the HDFS cluster.
virtual string KerberosPrincipal { get; }
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).
virtual string KmsKeyProviderUri { get; }
Property Value
System.String
Remarks
NameNodes
The NameNode that manages the HDFS namespace.
object NameNodes { get; }
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.
virtual object QopConfiguration { get; }
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.
virtual Nullable<double> ReplicationFactor { get; }
Property Value
System.Nullable<System.Double>
Remarks
By default, data is replicated to three DataNodes.
Default: - 3
SimpleUser
The user name used to identify the client on the host operating system.
virtual string SimpleUser { get; }
Property Value
System.String
Remarks
If SIMPLE
is specified for AuthenticationType
, this parameter is required.
Subdirectory
A subdirectory in the HDFS cluster.
virtual string Subdirectory { get; }
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.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
The value can be an empty string. We recommend using tags to name your resources.