Resource Type definition for AWS::DataSync::LocationHDFS.
Create LocationHdfs Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def LocationHdfs(resource_name: str,
args: LocationHdfsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LocationHdfs(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_arns: Optional[Sequence[str]] = None,
authentication_type: Optional[LocationHdfsAuthenticationType] = None,
name_nodes: Optional[Sequence[LocationHdfsNameNodeArgs]] = None,
cmk_secret_config: Optional[LocationHdfsCmkSecretConfigArgs] = None,
custom_secret_config: Optional[LocationHdfsCustomSecretConfigArgs] = None,
kerberos_keytab: Optional[str] = None,
kerberos_krb5_conf: Optional[str] = None,
kerberos_principal: Optional[str] = None,
kms_key_provider_uri: Optional[str] = None,
block_size: Optional[int] = None,
qop_configuration: Optional[LocationHdfsQopConfigurationArgs] = None,
replication_factor: Optional[int] = None,
simple_user: Optional[str] = None,
subdirectory: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
type: aws-native:datasync:LocationHdfs
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_datasync_location_hdfs" "name" {
# resource properties
}
Parameters
- resource_name
str
- The unique name of the resource.
- args
LocationHdfsArgs
- The arguments to resource properties.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
LocationHdfsArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
LocationHdfsArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
LocationHdfs Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LocationHdfs resource accepts the following input properties:
- agent_arns
list(string)
- ARN(s) of the agent(s) to use for an HDFS location.
- authentication_type
"SIMPLE" | "KERBEROS"
- The authentication mode used to determine identity of user.
- name_nodes
list(object)
- An array of Name Node(s) of the HDFS location.
- block_size
number
- Size of chunks (blocks) in bytes that the data is divided into when stored in the HDFS cluster.
- cmk_secret_config
object
- custom_secret_config
object
- kerberos_keytab
string
- The Base64 string representation of the Keytab file.
- kerberos_krb5_conf
string
- The string representation of the Krb5Conf file, or the presigned URL to access the Krb5.conf file within an S3 bucket.
- kerberos_principal
string
- The unique identity, or principal, to which Kerberos can assign tickets.
- kms_key_provider_uri
string
- The identifier for the Key Management Server where the encryption keys that encrypt data inside HDFS clusters are stored.
- qop_configuration
object
- 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
QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY . If you set RpcProtection or DataTransferProtection , the other parameter assumes the same value. - replication_factor
number
- Number of copies of each block that exists inside the HDFS cluster.
- simple_user
string
- The user name that has read and write permissions on the specified HDFS cluster.
- subdirectory
string
- The subdirectory in HDFS that is used to read data from the HDFS source location or write data to the HDFS destination.
- tags
list(object)
- An array of key-value pairs to apply to this resource.
- agentArns
string[]
- ARN(s) of the agent(s) to use for an HDFS location.
- authenticationType
LocationHdfsAuthenticationType
- The authentication mode used to determine identity of user.
- nameNodes
LocationHdfsNameNode[]
- An array of Name Node(s) of the HDFS location.
- blockSize
number
- Size of chunks (blocks) in bytes that the data is divided into when stored in the HDFS cluster.
- cmkSecretConfig
LocationHdfsCmkSecretConfig
- customSecretConfig
LocationHdfsCustomSecretConfig
- kerberosKeytab
string
- The Base64 string representation of the Keytab file.
- kerberosKrb5Conf
string
- The string representation of the Krb5Conf file, or the presigned URL to access the Krb5.conf file within an S3 bucket.
- kerberosPrincipal
string
- The unique identity, or principal, to which Kerberos can assign tickets.
- kmsKeyProviderUri
string
- The identifier for the Key Management Server where the encryption keys that encrypt data inside HDFS clusters are stored.
- qopConfiguration
LocationHdfsQopConfiguration
- 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
QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY . If you set RpcProtection or DataTransferProtection , the other parameter assumes the same value. - replicationFactor
number
- Number of copies of each block that exists inside the HDFS cluster.
- simpleUser
string
- The user name that has read and write permissions on the specified HDFS cluster.
- subdirectory
string
- The subdirectory in HDFS that is used to read data from the HDFS source location or write data to the HDFS destination.
- tags
Tag[]
- An array of key-value pairs to apply to this resource.
- agentArns
List<String>
- ARN(s) of the agent(s) to use for an HDFS location.
- authenticationType
"SIMPLE" | "KERBEROS"
- The authentication mode used to determine identity of user.
- nameNodes
List<Property Map>
- An array of Name Node(s) of the HDFS location.
- blockSize
Number
- Size of chunks (blocks) in bytes that the data is divided into when stored in the HDFS cluster.
- cmkSecretConfig
Property Map
- customSecretConfig
Property Map
- kerberosKeytab
String
- The Base64 string representation of the Keytab file.
- kerberosKrb5Conf
String
- The string representation of the Krb5Conf file, or the presigned URL to access the Krb5.conf file within an S3 bucket.
- kerberosPrincipal
String
- The unique identity, or principal, to which Kerberos can assign tickets.
- kmsKeyProviderUri
String
- The identifier for the Key Management Server where the encryption keys that encrypt data inside HDFS clusters are stored.
- qopConfiguration
Property Map
- 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
QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY . If you set RpcProtection or DataTransferProtection , the other parameter assumes the same value. - replicationFactor
Number
- Number of copies of each block that exists inside the HDFS cluster.
- simpleUser
String
- The user name that has read and write permissions on the specified HDFS cluster.
- subdirectory
String
- The subdirectory in HDFS that is used to read data from the HDFS source location or write data to the HDFS destination.
- tags
List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the LocationHdfs resource produces the following output properties:
Supporting Types
LocationHdfsAuthenticationType, LocationHdfsAuthenticationTypeArgs
| Name | Value |
|---|
| Simple | SIMPLE |
| Kerberos | KERBEROS |
| Name | Value |
|---|
| LocationHdfsAuthenticationTypeSimple | SIMPLE |
| LocationHdfsAuthenticationTypeKerberos | KERBEROS |
| Name | Value |
|---|
| Simple | SIMPLE |
| Kerberos | KERBEROS |
| Name | Value |
|---|
| Simple | SIMPLE |
| Kerberos | KERBEROS |
| Name | Value |
|---|
| SIMPLE | SIMPLE |
| KERBEROS | KERBEROS |
LocationHdfsCmkSecretConfig, LocationHdfsCmkSecretConfigArgs
Specifies 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.- KmsKeyArn
string
- 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.
- SecretArn
string
- Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
- KmsKeyArn
string
- 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.
- SecretArn
string
- Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
- kms_key_arn
string
- 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
string
- Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
- kmsKeyArn
String
- 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.
- secretArn
String
- Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
- kmsKeyArn
string
- 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.
- secretArn
string
- Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
- kms_key_arn
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
str
- Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
- kmsKeyArn
String
- 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.
- secretArn
String
- Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.
LocationHdfsCustomSecretConfig, LocationHdfsCustomSecretConfigArgs
Specifies 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.- SecretAccessRoleArn
string
- Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- SecretArn
string
- Specifies the ARN for a customer created AWS Secrets Manager secret.
- SecretAccessRoleArn
string
- Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- SecretArn
string
- Specifies the ARN for a customer created AWS Secrets Manager secret.
- secret_access_role_arn
string
- Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- secret_arn
string
- Specifies the ARN for a customer created AWS Secrets Manager secret.
- secretAccessRoleArn
String
- Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- secretArn
String
- Specifies the ARN for a customer created AWS Secrets Manager secret.
- secretAccessRoleArn
string
- Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- secretArn
string
- Specifies the ARN for a customer created AWS Secrets Manager secret.
- secret_access_role_arn
str
- Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- secret_arn
str
- Specifies the ARN for a customer created AWS Secrets Manager secret.
- secretAccessRoleArn
String
- Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified for SecretArn.
- secretArn
String
- Specifies the ARN for a customer created AWS Secrets Manager secret.
LocationHdfsManagedSecretConfig, LocationHdfsManagedSecretConfigArgs
Specifies 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.- SecretArn
string
- Specifies the ARN for an AWS Secrets Manager secret.
- SecretArn
string
- Specifies the ARN for an AWS Secrets Manager secret.
- secret_arn
string
- Specifies the ARN for an AWS Secrets Manager secret.
- secretArn
String
- Specifies the ARN for an AWS Secrets Manager secret.
- secretArn
string
- Specifies the ARN for an AWS Secrets Manager secret.
- secret_arn
str
- Specifies the ARN for an AWS Secrets Manager secret.
- secretArn
String
- Specifies the ARN for an AWS Secrets Manager secret.
LocationHdfsNameNode, LocationHdfsNameNodeArgs
HDFS Name Node IP and port information.- Hostname
string
- The DNS name or IP address of the Name Node in the customer's on premises HDFS cluster.
- Port
int
- The port on which the Name Node is listening on for client requests.
- Hostname
string
- The DNS name or IP address of the Name Node in the customer's on premises HDFS cluster.
- Port
int
- The port on which the Name Node is listening on for client requests.
- hostname
string
- The DNS name or IP address of the Name Node in the customer's on premises HDFS cluster.
- port
number
- The port on which the Name Node is listening on for client requests.
- hostname
String
- The DNS name or IP address of the Name Node in the customer's on premises HDFS cluster.
- port
Integer
- The port on which the Name Node is listening on for client requests.
- hostname
string
- The DNS name or IP address of the Name Node in the customer's on premises HDFS cluster.
- port
number
- The port on which the Name Node is listening on for client requests.
- hostname
str
- The DNS name or IP address of the Name Node in the customer's on premises HDFS cluster.
- port
int
- The port on which the Name Node is listening on for client requests.
- hostname
String
- The DNS name or IP address of the Name Node in the customer's on premises HDFS cluster.
- port
Number
- The port on which the Name Node is listening on for client requests.
LocationHdfsQopConfiguration, LocationHdfsQopConfigurationArgs
Configuration information for RPC Protection and Data Transfer Protection. These parameters can be set to AUTHENTICATION, INTEGRITY, or PRIVACY. The default value is PRIVACY.LocationHdfsQopConfigurationDataTransferProtection, LocationHdfsQopConfigurationDataTransferProtectionArgs
| Name | Value |
|---|
| Authentication | AUTHENTICATION |
| Integrity | INTEGRITY |
| Privacy | PRIVACY |
| Disabled | DISABLED |
| Name | Value |
|---|
| LocationHdfsQopConfigurationDataTransferProtectionAuthentication | AUTHENTICATION |
| LocationHdfsQopConfigurationDataTransferProtectionIntegrity | INTEGRITY |
| LocationHdfsQopConfigurationDataTransferProtectionPrivacy | PRIVACY |
| LocationHdfsQopConfigurationDataTransferProtectionDisabled | DISABLED |
| Value |
|---|
AUTHENTICATION |
INTEGRITY |
PRIVACY |
DISABLED |
| Name | Value |
|---|
| Authentication | AUTHENTICATION |
| Integrity | INTEGRITY |
| Privacy | PRIVACY |
| Disabled | DISABLED |
| Name | Value |
|---|
| Authentication | AUTHENTICATION |
| Integrity | INTEGRITY |
| Privacy | PRIVACY |
| Disabled | DISABLED |
| Name | Value |
|---|
| AUTHENTICATION | AUTHENTICATION |
| INTEGRITY | INTEGRITY |
| PRIVACY | PRIVACY |
| DISABLED | DISABLED |
| Value |
|---|
AUTHENTICATION |
INTEGRITY |
PRIVACY |
DISABLED |
LocationHdfsQopConfigurationRpcProtection, LocationHdfsQopConfigurationRpcProtectionArgs
| Name | Value |
|---|
| Authentication | AUTHENTICATION |
| Integrity | INTEGRITY |
| Privacy | PRIVACY |
| Disabled | DISABLED |
| Name | Value |
|---|
| LocationHdfsQopConfigurationRpcProtectionAuthentication | AUTHENTICATION |
| LocationHdfsQopConfigurationRpcProtectionIntegrity | INTEGRITY |
| LocationHdfsQopConfigurationRpcProtectionPrivacy | PRIVACY |
| LocationHdfsQopConfigurationRpcProtectionDisabled | DISABLED |
| Value |
|---|
AUTHENTICATION |
INTEGRITY |
PRIVACY |
DISABLED |
| Name | Value |
|---|
| Authentication | AUTHENTICATION |
| Integrity | INTEGRITY |
| Privacy | PRIVACY |
| Disabled | DISABLED |
| Name | Value |
|---|
| Authentication | AUTHENTICATION |
| Integrity | INTEGRITY |
| Privacy | PRIVACY |
| Disabled | DISABLED |
| Name | Value |
|---|
| AUTHENTICATION | AUTHENTICATION |
| INTEGRITY | INTEGRITY |
| PRIVACY | PRIVACY |
| DISABLED | DISABLED |
| Value |
|---|
AUTHENTICATION |
INTEGRITY |
PRIVACY |
DISABLED |
Tag, TagArgs
A set of tags to apply to the resource.- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0