Class CfnLocationHDFS
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::DataSync::LocationHDFS.
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();
-
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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnLocationHDFS(Construct scope, String id, CfnLocationHDFSProps props) Create a newAWS::DataSync::LocationHDFS.protectedCfnLocationHDFS(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnLocationHDFS(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.The Amazon Resource Name (ARN) of the HDFS cluster location to describe.The URI of the HDFS cluster location.AWS::DataSync::LocationHDFS.AuthenticationType.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).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()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 agents that are used to connect to the HDFS cluster.voidsetAuthenticationType(String value) AWS::DataSync::LocationHDFS.AuthenticationType.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.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods 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.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 Construct scope, @NotNull String id, @NotNull CfnLocationHDFSProps props) Create a newAWS::DataSync::LocationHDFS.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
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
-
getTags
The key-value pair that represents the tag that you want to add to the location.The value can be an empty string. We recommend using tags to name your resources.
-
getAgentArns
The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster. -
setAgentArns
The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster. -
getAuthenticationType
AWS::DataSync::LocationHDFS.AuthenticationType. -
setAuthenticationType
AWS::DataSync::LocationHDFS.AuthenticationType. -
getNameNodes
The NameNode that manages the HDFS namespace.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.
-
setNameNodes
The NameNode that manages the HDFS namespace.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.
-
setNameNodes
The NameNode that manages the HDFS namespace.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.
-
getBlockSize
The size of data blocks to write into the HDFS cluster.The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
-
setBlockSize
The size of data blocks to write into the HDFS cluster.The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
-
getKerberosKeytab
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.Provide the base64-encoded file text. If
KERBEROSis specified forAuthType, this value is required. -
setKerberosKeytab
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.Provide the base64-encoded file text. If
KERBEROSis specified forAuthType, this value is required. -
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.If
KERBEROSis specified forAuthenticationType, this parameter is required. -
setKerberosPrincipal
The Kerberos principal with access to the files and folders on the HDFS cluster.If
KERBEROSis specified forAuthenticationType, this parameter is required. -
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.If
QopConfigurationisn't specified,RpcProtectionandDataTransferProtectiondefault toPRIVACY. If you setRpcProtectionorDataTransferProtection, the other parameter assumes the same value. -
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.If
QopConfigurationisn't specified,RpcProtectionandDataTransferProtectiondefault toPRIVACY. If you setRpcProtectionorDataTransferProtection, the other parameter assumes the same value. -
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.If
QopConfigurationisn't specified,RpcProtectionandDataTransferProtectiondefault toPRIVACY. If you setRpcProtectionorDataTransferProtection, the other parameter assumes the same value. -
getReplicationFactor
The number of DataNodes to replicate the data to when writing to the HDFS cluster.By default, data is replicated to three DataNodes.
-
setReplicationFactor
The number of DataNodes to replicate the data to when writing to the HDFS cluster.By default, data is replicated to three DataNodes.
-
getSimpleUser
The user name used to identify the client on the host operating system.If
SIMPLEis specified forAuthenticationType, this parameter is required. -
setSimpleUser
The user name used to identify the client on the host operating system.If
SIMPLEis specified forAuthenticationType, this parameter is required. -
getSubdirectory
A subdirectory in the HDFS cluster.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
/. -
setSubdirectory
A subdirectory in the HDFS cluster.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
/.
-