@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.872Z") @Stability(value=Stable) public class CfnLocationHDFS extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnLocationHDFS.Builder
A fluent builder for
CfnLocationHDFS. |
static interface |
CfnLocationHDFS.NameNodeProperty
The NameNode of the Hadoop Distributed File System (HDFS).
|
static interface |
CfnLocationHDFS.QopConfigurationProperty
The 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.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnLocationHDFS(software.constructs.Construct scope,
String id,
CfnLocationHDFSProps props)
Create a new `AWS::DataSync::LocationHDFS`.
|
protected |
CfnLocationHDFS(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnLocationHDFS(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAgentArns()
The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.
|
String |
getAttrLocationArn()
The Amazon Resource Name (ARN) of the HDFS cluster location to describe.
|
String |
getAttrLocationUri()
The URI of the HDFS cluster location.
|
String |
getAuthenticationType()
`AWS::DataSync::LocationHDFS.AuthenticationType`.
|
Number |
getBlockSize()
The size of data blocks to write into the HDFS cluster.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getKerberosKeytab()
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.
|
String |
getKerberosKrb5Conf()
The `krb5.conf` file that contains the Kerberos configuration information.
|
String |
getKerberosPrincipal()
The Kerberos principal with access to the files and folders on the HDFS cluster.
|
String |
getKmsKeyProviderUri()
The URI of the HDFS cluster's Key Management Server (KMS).
|
Object |
getNameNodes()
The NameNode that manages the HDFS namespace.
|
Object |
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.
|
Number |
getReplicationFactor()
The number of DataNodes to replicate the data to when writing to the HDFS cluster.
|
String |
getSimpleUser()
The user name used to identify the client on the host operating system.
|
String |
getSubdirectory()
A subdirectory in the HDFS cluster.
|
TagManager |
getTags()
The key-value pair that represents the tag that you want to add to the location.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAgentArns(List<String> value)
The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.
|
void |
setAuthenticationType(String value)
`AWS::DataSync::LocationHDFS.AuthenticationType`.
|
void |
setBlockSize(Number value)
The size of data blocks to write into the HDFS cluster.
|
void |
setKerberosKeytab(String value)
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.
|
void |
setKerberosKrb5Conf(String value)
The `krb5.conf` file that contains the Kerberos configuration information.
|
void |
setKerberosPrincipal(String value)
The Kerberos principal with access to the files and folders on the HDFS cluster.
|
void |
setKmsKeyProviderUri(String value)
The URI of the HDFS cluster's Key Management Server (KMS).
|
void |
setNameNodes(IResolvable value)
The NameNode that manages the HDFS namespace.
|
void |
setNameNodes(List<Object> value)
The NameNode that manages the HDFS namespace.
|
void |
setQopConfiguration(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.
|
void |
setQopConfiguration(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.
|
void |
setReplicationFactor(Number value)
The number of DataNodes to replicate the data to when writing to the HDFS cluster.
|
void |
setSimpleUser(String value)
The user name used to identify the client on the host operating system.
|
void |
setSubdirectory(String value)
A subdirectory in the HDFS cluster.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnLocationHDFS(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnLocationHDFS(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnLocationHDFS(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnLocationHDFSProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrLocationArn()
@Stability(value=Stable) @NotNull public String getAttrLocationUri()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
The value can be an empty string. We recommend using tags to name your resources.
@Stability(value=Stable) @NotNull public List<String> getAgentArns()
@Stability(value=Stable)
public void setAgentArns(@NotNull
List<String> value)
@Stability(value=Stable) @NotNull public String getAuthenticationType()
@Stability(value=Stable)
public void setAuthenticationType(@NotNull
String value)
@Stability(value=Stable) @NotNull public Object getNameNodes()
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.
@Stability(value=Stable)
public void setNameNodes(@NotNull
IResolvable value)
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.
@Stability(value=Stable)
public void setNameNodes(@NotNull
List<Object> value)
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.
@Stability(value=Stable) @Nullable public Number getBlockSize()
The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
@Stability(value=Stable)
public void setBlockSize(@Nullable
Number value)
The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
@Stability(value=Stable) @Nullable public String getKerberosKeytab()
Provide the base64-encoded file text. If KERBEROS is specified for AuthType , this value is required.
@Stability(value=Stable)
public void setKerberosKeytab(@Nullable
String value)
Provide the base64-encoded file text. If KERBEROS is specified for AuthType , this value is required.
@Stability(value=Stable) @Nullable public String getKerberosKrb5Conf()
@Stability(value=Stable)
public void setKerberosKrb5Conf(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getKerberosPrincipal()
If
KERBEROSis specified forAuthenticationType, this parameter is required.
@Stability(value=Stable)
public void setKerberosPrincipal(@Nullable
String value)
If
KERBEROSis specified forAuthenticationType, this parameter is required.
@Stability(value=Stable) @Nullable public String getKmsKeyProviderUri()
@Stability(value=Stable)
public void setKmsKeyProviderUri(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getQopConfiguration()
If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY . If you set RpcProtection or DataTransferProtection , the other parameter assumes the same value.
@Stability(value=Stable)
public void setQopConfiguration(@Nullable
CfnLocationHDFS.QopConfigurationProperty value)
If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY . If you set RpcProtection or DataTransferProtection , the other parameter assumes the same value.
@Stability(value=Stable)
public void setQopConfiguration(@Nullable
IResolvable value)
If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY . If you set RpcProtection or DataTransferProtection , the other parameter assumes the same value.
@Stability(value=Stable) @Nullable public Number getReplicationFactor()
By default, data is replicated to three DataNodes.
@Stability(value=Stable)
public void setReplicationFactor(@Nullable
Number value)
By default, data is replicated to three DataNodes.
@Stability(value=Stable) @Nullable public String getSimpleUser()
If
SIMPLEis specified forAuthenticationType, this parameter is required.
@Stability(value=Stable)
public void setSimpleUser(@Nullable
String value)
If
SIMPLEis specified forAuthenticationType, this parameter is required.
@Stability(value=Stable) @Nullable public String getSubdirectory()
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 / .
@Stability(value=Stable)
public void setSubdirectory(@Nullable
String value)
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 / .
Copyright © 2022. All rights reserved.