CfnLocationHDFSPropsMixin
- class aws_cdk.mixins_preview.aws_datasync.mixins.CfnLocationHDFSPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::DataSync::LocationHDFSresource specifies an endpoint for a Hadoop Distributed File System (HDFS).- See:
- CloudformationResource:
AWS::DataSync::LocationHDFS
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_datasync import mixins as datasync_mixins cfn_location_hDFSProps_mixin = datasync_mixins.CfnLocationHDFSPropsMixin(datasync_mixins.CfnLocationHDFSMixinProps( agent_arns=["agentArns"], authentication_type="authenticationType", block_size=123, kerberos_keytab="kerberosKeytab", kerberos_krb5_conf="kerberosKrb5Conf", kerberos_principal="kerberosPrincipal", kms_key_provider_uri="kmsKeyProviderUri", name_nodes=[datasync_mixins.CfnLocationHDFSPropsMixin.NameNodeProperty( hostname="hostname", port=123 )], qop_configuration=datasync_mixins.CfnLocationHDFSPropsMixin.QopConfigurationProperty( data_transfer_protection="dataTransferProtection", rpc_protection="rpcProtection" ), replication_factor=123, simple_user="simpleUser", subdirectory="subdirectory", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::DataSync::LocationHDFS.- Parameters:
props (
Union[CfnLocationHDFSMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['agentArns', 'authenticationType', 'blockSize', 'kerberosKeytab', 'kerberosKrb5Conf', 'kerberosPrincipal', 'kmsKeyProviderUri', 'nameNodes', 'qopConfiguration', 'replicationFactor', 'simpleUser', 'subdirectory', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
NameNodeProperty
- class CfnLocationHDFSPropsMixin.NameNodeProperty(*, hostname=None, port=None)
Bases:
objectThe NameNode of the Hadoop Distributed File System (HDFS).
The NameNode manages the file system’s namespace and performs operations such as opening, closing, and renaming files and directories. The NameNode also contains the information to map blocks of data to the DataNodes.
- Parameters:
hostname (
Optional[str]) – The hostname of the NameNode in the HDFS cluster. This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that’s installed on-premises uses this hostname to communicate with the NameNode in the network.port (
Union[int,float,None]) – The port that the NameNode uses to listen to client requests.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_datasync import mixins as datasync_mixins name_node_property = datasync_mixins.CfnLocationHDFSPropsMixin.NameNodeProperty( hostname="hostname", port=123 )
Attributes
- hostname
The hostname of the NameNode in the HDFS cluster.
This value is the IP address or Domain Name Service (DNS) name of the NameNode. An agent that’s installed on-premises uses this hostname to communicate with the NameNode in the network.
- port
The port that the NameNode uses to listen to client requests.
QopConfigurationProperty
- class CfnLocationHDFSPropsMixin.QopConfigurationProperty(*, data_transfer_protection=None, rpc_protection=None)
Bases:
objectThe 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.
- Parameters:
data_transfer_protection (
Optional[str]) – The data transfer protection setting configured on the HDFS cluster. This setting corresponds to yourdfs.data.transfer.protectionsetting in thehdfs-site.xmlfile on your Hadoop cluster. Default: - “PRIVACY”rpc_protection (
Optional[str]) – The Remote Procedure Call (RPC) protection setting configured on the HDFS cluster. This setting corresponds to yourhadoop.rpc.protectionsetting in yourcore-site.xmlfile on your Hadoop cluster. Default: - “PRIVACY”
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_datasync import mixins as datasync_mixins qop_configuration_property = datasync_mixins.CfnLocationHDFSPropsMixin.QopConfigurationProperty( data_transfer_protection="dataTransferProtection", rpc_protection="rpcProtection" )
Attributes
- data_transfer_protection
The data transfer protection setting configured on the HDFS cluster.
This setting corresponds to your
dfs.data.transfer.protectionsetting in thehdfs-site.xmlfile on your Hadoop cluster.
- rpc_protection
The Remote Procedure Call (RPC) protection setting configured on the HDFS cluster.
This setting corresponds to your
hadoop.rpc.protectionsetting in yourcore-site.xmlfile on your Hadoop cluster.