CfnLocationHDFSPropsMixin
- class aws_cdk.cfn_property_mixins.aws_datasync.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.cfn_property_mixins import aws_datasync as datasync import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_location_hDFSProps_mixin = datasync.CfnLocationHDFSPropsMixin(datasync.CfnLocationHDFSMixinProps( agent_arns=["agentArns"], authentication_type="authenticationType", block_size=123, cmk_secret_config=datasync.CfnLocationHDFSPropsMixin.CmkSecretConfigProperty( kms_key_arn="kmsKeyArn", secret_arn="secretArn" ), custom_secret_config=datasync.CfnLocationHDFSPropsMixin.CustomSecretConfigProperty( secret_access_role_arn="secretAccessRoleArn", secret_arn="secretArn" ), kerberos_keytab="kerberosKeytab", kerberos_krb5_conf="kerberosKrb5Conf", kerberos_principal="kerberosPrincipal", kms_key_provider_uri="kmsKeyProviderUri", name_nodes=[datasync.CfnLocationHDFSPropsMixin.NameNodeProperty( hostname="hostname", port=123 )], qop_configuration=datasync.CfnLocationHDFSPropsMixin.QopConfigurationProperty( data_transfer_protection="dataTransferProtection", rpc_protection="rpcProtection" ), replication_factor=123, simple_user="simpleUser", subdirectory="subdirectory", tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::DataSync::LocationHDFS.- Parameters:
props (
Union[CfnLocationHDFSMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['agentArns', 'authenticationType', 'blockSize', 'cmkSecretConfig', 'customSecretConfig', 'kerberosKeytab', 'kerberosKrb5Conf', 'kerberosPrincipal', 'kmsKeyProviderUri', 'nameNodes', 'qopConfiguration', 'replicationFactor', 'simpleUser', 'subdirectory', 'tags']
Static Methods
- classmethod is_mixin(x)
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.
CmkSecretConfigProperty
- class CfnLocationHDFSPropsMixin.CmkSecretConfigProperty(*, kms_key_arn=None, secret_arn=None)
Bases:
objectSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed AWS KMS key.
- Parameters:
kms_key_arn (
Optional[str]) – Specifies the ARN for the customer-managed AWS KMS key used to encrypt the secret specified for SecretArn. DataSync provides this key to AWS Secrets Manager.secret_arn (
Optional[str]) – Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
- 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.cfn_property_mixins import aws_datasync as datasync cmk_secret_config_property = datasync.CfnLocationHDFSPropsMixin.CmkSecretConfigProperty( kms_key_arn="kmsKeyArn", secret_arn="secretArn" )
Attributes
- kms_key_arn
Specifies the ARN for the customer-managed AWS KMS key used to encrypt the secret specified for SecretArn.
DataSync provides this key to AWS Secrets Manager.
- secret_arn
Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
CustomSecretConfigProperty
- class CfnLocationHDFSPropsMixin.CustomSecretConfigProperty(*, secret_access_role_arn=None, secret_arn=None)
Bases:
objectSpecifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and an IAM role that DataSync can assume and access the customer-managed secret.
- Parameters:
secret_access_role_arn (
Optional[str]) – Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.secret_arn (
Optional[str]) – Specifies the ARN for a customer created AWS Secrets Manager secret.
- 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.cfn_property_mixins import aws_datasync as datasync custom_secret_config_property = datasync.CfnLocationHDFSPropsMixin.CustomSecretConfigProperty( secret_access_role_arn="secretAccessRoleArn", secret_arn="secretArn" )
Attributes
- secret_access_role_arn
Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- secret_arn
Specifies the ARN for a customer created AWS Secrets Manager secret.
ManagedSecretConfigProperty
- class CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty(*, secret_arn=None)
Bases:
objectSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location.
DataSync uses the default AWS-managed KMS key to encrypt this secret in AWS Secrets Manager.
- Parameters:
secret_arn (
Optional[str]) – Specifies the ARN for an AWS Secrets Manager secret.- 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.cfn_property_mixins import aws_datasync as datasync managed_secret_config_property = datasync.CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty( secret_arn="secretArn" )
Attributes
- secret_arn
Specifies the ARN for an AWS Secrets Manager secret.
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.cfn_property_mixins import aws_datasync as datasync name_node_property = datasync.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.cfn_property_mixins import aws_datasync as datasync qop_configuration_property = datasync.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.