Class CfnLocationHDFS
A CloudFormation AWS::DataSync::LocationHDFS
.
Inherited Members
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.AWS.DataSync.dll
Syntax (csharp)
public class CfnLocationHDFS : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnLocationHDFS
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The AWS::DataSync::LocationHDFS
resource specifies an endpoint for a Hadoop Distributed File System (HDFS).
CloudformationResource: AWS::DataSync::LocationHDFS
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 cfnLocationHDFS = new CfnLocationHDFS(this, "MyCfnLocationHDFS", 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
CfnLocationHDFS(Construct, String, ICfnLocationHDFSProps) | Create a new |
CfnLocationHDFS(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnLocationHDFS(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AgentArns | The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster. |
AttrLocationArn | The Amazon Resource Name (ARN) of the HDFS cluster location to describe. |
AttrLocationUri | The URI of the HDFS cluster location. |
AuthenticationType |
|
BlockSize | The size of data blocks to write into the HDFS cluster. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnLocationHDFS(Construct, String, ICfnLocationHDFSProps)
Create a new AWS::DataSync::LocationHDFS
.
public CfnLocationHDFS(Construct scope, string id, ICfnLocationHDFSProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnLocationHDFSProps
- resource properties.
CfnLocationHDFS(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnLocationHDFS(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnLocationHDFS(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnLocationHDFS(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AgentArns
The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.
public virtual string[] AgentArns { get; set; }
Property Value
System.String[]
Remarks
AttrLocationArn
The Amazon Resource Name (ARN) of the HDFS cluster location to describe.
public virtual string AttrLocationArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LocationArn
AttrLocationUri
The URI of the HDFS cluster location.
public virtual string AttrLocationUri { get; }
Property Value
System.String
Remarks
CloudformationAttribute: LocationUri
AuthenticationType
AWS::DataSync::LocationHDFS.AuthenticationType
.
public virtual string AuthenticationType { get; set; }
Property Value
System.String
Remarks
BlockSize
The size of data blocks to write into the HDFS cluster.
public virtual 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).
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
KerberosKeytab
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.
public virtual 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 virtual 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 virtual 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 virtual string KmsKeyProviderUri { get; set; }
Property Value
System.String
Remarks
NameNodes
The NameNode that manages the HDFS namespace.
public virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual TagManager Tags { get; }
Property Value
Remarks
The value can be an empty string. We recommend using tags to name your resources.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>