Class CfnLocationHDFSProps
Properties for defining a CfnLocationHDFS.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLocationHDFSProps : ICfnLocationHDFSProps
Syntax (vb)
Public Class CfnLocationHDFSProps 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 for defining a |
Properties
| AgentArns | The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your 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. |
Constructors
CfnLocationHDFSProps()
Properties for defining a CfnLocationHDFS.
public CfnLocationHDFSProps()
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"
} }
};
Properties
AgentArns
The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your HDFS cluster.
public string[] AgentArns { get; set; }
Property Value
string[]
Remarks
AuthenticationType
The authentication mode used to determine identity of user.
public string AuthenticationType { get; set; }
Property Value
Remarks
BlockSize
The size of data blocks to write into the HDFS cluster.
public double? BlockSize { get; set; }
Property Value
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
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
Remarks
KerberosPrincipal
The Kerberos principal with access to the files and folders on the HDFS cluster.
public string? KerberosPrincipal { get; set; }
Property Value
Remarks
If <code>KERBEROS</code> is specified for <code>AuthenticationType</code> , this parameter is required.
KmsKeyProviderUri
The URI of the HDFS cluster's Key Management Server (KMS).
public string? KmsKeyProviderUri { get; set; }
Property Value
Remarks
NameNodes
The NameNode that manages the HDFS namespace.
public object NameNodes { get; set; }
Property Value
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.
Type union: either IResolvable or (either IResolvable or CfnLocationHDFS.INameNodeProperty)[]
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
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.
Type union: either IResolvable or CfnLocationHDFS.IQopConfigurationProperty
ReplicationFactor
The number of DataNodes to replicate the data to when writing to the HDFS cluster.
public double? ReplicationFactor { get; set; }
Property Value
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.
public string? SimpleUser { get; set; }
Property Value
Remarks
If <code>SIMPLE</code> is specified for <code>AuthenticationType</code> , this parameter is required.
Subdirectory
A subdirectory in the HDFS cluster.
public string? Subdirectory { get; set; }
Property Value
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.