Class CfnLocationHDFS
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.datasync.CfnLocationHDFS
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggable,ILocationHDFSRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:01.870Z")
@Stability(Stable)
public class CfnLocationHDFS
extends CfnResource
implements IInspectable, ILocationHDFSRef, ITaggable
The
AWS::DataSync::LocationHDFS resource specifies an endpoint for a Hadoop Distributed File System (HDFS).
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.datasync.*;
CfnLocationHDFS cfnLocationHDFS = CfnLocationHDFS.Builder.create(this, "MyCfnLocationHDFS")
.agentArns(List.of("agentArns"))
.authenticationType("authenticationType")
.nameNodes(List.of(NameNodeProperty.builder()
.hostname("hostname")
.port(123)
.build()))
// the properties below are optional
.blockSize(123)
.kerberosKeytab("kerberosKeytab")
.kerberosKrb5Conf("kerberosKrb5Conf")
.kerberosPrincipal("kerberosPrincipal")
.kmsKeyProviderUri("kmsKeyProviderUri")
.qopConfiguration(QopConfigurationProperty.builder()
.dataTransferProtection("dataTransferProtection")
.rpcProtection("rpcProtection")
.build())
.replicationFactor(123)
.simpleUser("simpleUser")
.subdirectory("subdirectory")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnLocationHDFS.static interfaceThe NameNode of the Hadoop Distributed File System (HDFS).static interfaceThe Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.datasync.ILocationHDFSRef
ILocationHDFSRef.Jsii$Default, ILocationHDFSRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnLocationHDFS(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLocationHDFS(software.amazon.jsii.JsiiObjectRef objRef) CfnLocationHDFS(software.constructs.Construct scope, String id, CfnLocationHDFSProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Names (ARNs) of the DataSync agents that can connect to your HDFS cluster.The Amazon Resource Name (ARN) of the HDFS cluster location to describe.The URI of the HDFS cluster location.The authentication mode used to determine identity of user.The size of data blocks to write into the HDFS cluster.The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.Thekrb5.conffile that contains the Kerberos configuration information.The Kerberos principal with access to the files and folders on the HDFS cluster.The URI of the HDFS cluster's Key Management Server (KMS).A reference to a LocationHDFS resource.The NameNode that manages the HDFS namespace.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.The number of DataNodes to replicate the data to when writing to the HDFS cluster.The user name used to identify the client on the host operating system.A subdirectory in the HDFS cluster.getTags()Tag Manager which manages the tags for this resource.The key-value pair that represents the tag that you want to add to the location.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAgentArns(List<String> value) The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your HDFS cluster.voidsetAuthenticationType(String value) The authentication mode used to determine identity of user.voidsetBlockSize(Number value) The size of data blocks to write into the HDFS cluster.voidsetKerberosKeytab(String value) The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.voidsetKerberosKrb5Conf(String value) Thekrb5.conffile that contains the Kerberos configuration information.voidsetKerberosPrincipal(String value) The Kerberos principal with access to the files and folders on the HDFS cluster.voidsetKmsKeyProviderUri(String value) The URI of the HDFS cluster's Key Management Server (KMS).voidsetNameNodes(List<Object> value) The NameNode that manages the HDFS namespace.voidsetNameNodes(IResolvable value) The NameNode that manages the HDFS namespace.voidsetQopConfiguration(IResolvable value) 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.voidThe 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.voidsetReplicationFactor(Number value) The number of DataNodes to replicate the data to when writing to the HDFS cluster.voidsetSimpleUser(String value) The user name used to identify the client on the host operating system.voidsetSubdirectory(String value) A subdirectory in the HDFS cluster.voidsetTagsRaw(List<CfnTag> value) The key-value pair that represents the tag that you want to add to the location.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnLocationHDFS
protected CfnLocationHDFS(software.amazon.jsii.JsiiObjectRef objRef) -
CfnLocationHDFS
protected CfnLocationHDFS(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnLocationHDFS
@Stability(Stable) public CfnLocationHDFS(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLocationHDFSProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrLocationArn
The Amazon Resource Name (ARN) of the HDFS cluster location to describe. -
getAttrLocationUri
The URI of the HDFS cluster location. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getLocationHdfsRef
A reference to a LocationHDFS resource.- Specified by:
getLocationHdfsRefin interfaceILocationHDFSRef
-
getTags
Tag Manager which manages the tags for this resource. -
getAgentArns
The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your HDFS cluster. -
setAgentArns
The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your HDFS cluster. -
getAuthenticationType
The authentication mode used to determine identity of user. -
setAuthenticationType
The authentication mode used to determine identity of user. -
getNameNodes
The NameNode that manages the HDFS namespace.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLocationHDFS.NameNodeProperty> -
setNameNodes
The NameNode that manages the HDFS namespace. -
setNameNodes
The NameNode that manages the HDFS namespace. -
getBlockSize
The size of data blocks to write into the HDFS cluster. -
setBlockSize
The size of data blocks to write into the HDFS cluster. -
getKerberosKeytab
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. -
setKerberosKeytab
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. -
getKerberosKrb5Conf
Thekrb5.conffile that contains the Kerberos configuration information. You can load thekrb5.confby providing a string of the file's contents or an Amazon S3 presigned URL of the file. IfKERBEROSis specified forAuthType, this value is required. -
setKerberosKrb5Conf
Thekrb5.conffile that contains the Kerberos configuration information. You can load thekrb5.confby providing a string of the file's contents or an Amazon S3 presigned URL of the file. IfKERBEROSis specified forAuthType, this value is required. -
getKerberosPrincipal
The Kerberos principal with access to the files and folders on the HDFS cluster. -
setKerberosPrincipal
The Kerberos principal with access to the files and folders on the HDFS cluster. -
getKmsKeyProviderUri
The URI of the HDFS cluster's Key Management Server (KMS). -
setKmsKeyProviderUri
The URI of the HDFS cluster's Key Management Server (KMS). -
getQopConfiguration
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.Returns union: either
IResolvableorCfnLocationHDFS.QopConfigurationProperty -
setQopConfiguration
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. -
setQopConfiguration
@Stability(Stable) public void setQopConfiguration(@Nullable CfnLocationHDFS.QopConfigurationProperty value) 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. -
getReplicationFactor
The number of DataNodes to replicate the data to when writing to the HDFS cluster. -
setReplicationFactor
The number of DataNodes to replicate the data to when writing to the HDFS cluster. -
getSimpleUser
The user name used to identify the client on the host operating system. -
setSimpleUser
The user name used to identify the client on the host operating system. -
getSubdirectory
A subdirectory in the HDFS cluster. -
setSubdirectory
A subdirectory in the HDFS cluster. -
getTagsRaw
The key-value pair that represents the tag that you want to add to the location. -
setTagsRaw
The key-value pair that represents the tag that you want to add to the location.
-