Show / Hide Table of Contents

Class CfnLocationHDFSProps

Properties for defining a CfnLocationHDFS.

Inheritance
object
CfnLocationHDFSProps
Implements
ICfnLocationHDFSProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLocationHDFSProps : ICfnLocationHDFSProps
Syntax (vb)
Public Class CfnLocationHDFSProps Implements ICfnLocationHDFSProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html

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 CfnLocationHDFS.

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 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.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-agentarns

AuthenticationType

The authentication mode used to determine identity of user.

public string AuthenticationType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-authenticationtype

BlockSize

The size of data blocks to write into the HDFS cluster.

public double? BlockSize { get; set; }
Property Value

double?

Remarks

The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-blocksize

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

string

Remarks

Provide the base64-encoded file text. If KERBEROS is specified for AuthType , this value is required.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-kerberoskeytab

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-kerberoskrb5conf

KerberosPrincipal

The Kerberos principal with access to the files and folders on the HDFS cluster.

public string? KerberosPrincipal { get; set; }
Property Value

string

Remarks
If <code>KERBEROS</code> is specified for <code>AuthenticationType</code> , this parameter is required.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-kerberosprincipal

KmsKeyProviderUri

The URI of the HDFS cluster's Key Management Server (KMS).

public string? KmsKeyProviderUri { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-kmskeyprovideruri

NameNodes

The NameNode that manages the HDFS namespace.

public object NameNodes { get; set; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-namenodes

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

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-qopconfiguration

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

double?

Remarks

By default, data is replicated to three DataNodes.

Default: - 3

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-replicationfactor

SimpleUser

The user name used to identify the client on the host operating system.

public string? SimpleUser { get; set; }
Property Value

string

Remarks
If <code>SIMPLE</code> is specified for <code>AuthenticationType</code> , this parameter is required.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-simpleuser

Subdirectory

A subdirectory in the HDFS cluster.

public string? Subdirectory { get; set; }
Property Value

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 / .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-subdirectory

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-locationhdfs.html#cfn-datasync-locationhdfs-tags

Implements

ICfnLocationHDFSProps
Back to top Generated by DocFX