Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datasync.kotlin
import com.pulumi.awsnative.datasync.LocationHdfsArgs.builder
import com.pulumi.awsnative.datasync.kotlin.enums.LocationHdfsAuthenticationType
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationHdfsNameNodeArgs
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationHdfsNameNodeArgsBuilder
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationHdfsQopConfigurationArgs
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationHdfsQopConfigurationArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::DataSync::LocationHDFS.
* @property agentArns ARN(s) of the agent(s) to use for an HDFS location.
* @property authenticationType The authentication mode used to determine identity of user.
* @property blockSize Size of chunks (blocks) in bytes that the data is divided into when stored in the HDFS cluster.
* @property kerberosKeytab The Base64 string representation of the Keytab file.
* @property kerberosKrb5Conf The string representation of the Krb5Conf file, or the presigned URL to access the Krb5.conf file within an S3 bucket.
* @property kerberosPrincipal The unique identity, or principal, to which Kerberos can assign tickets.
* @property kmsKeyProviderUri The identifier for the Key Management Server where the encryption keys that encrypt data inside HDFS clusters are stored.
* @property nameNodes An array of Name Node(s) of the HDFS location.
* @property qopConfiguration 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.
* @property replicationFactor Number of copies of each block that exists inside the HDFS cluster.
* @property simpleUser The user name that has read and write permissions on the specified HDFS cluster.
* @property subdirectory The subdirectory in HDFS that is used to read data from the HDFS source location or write data to the HDFS destination.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class LocationHdfsArgs(
public val agentArns: Output>? = null,
public val authenticationType: Output? = null,
public val blockSize: Output? = null,
public val kerberosKeytab: Output? = null,
public val kerberosKrb5Conf: Output? = null,
public val kerberosPrincipal: Output? = null,
public val kmsKeyProviderUri: Output? = null,
public val nameNodes: Output>? = null,
public val qopConfiguration: Output? = null,
public val replicationFactor: Output? = null,
public val simpleUser: Output? = null,
public val subdirectory: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datasync.LocationHdfsArgs =
com.pulumi.awsnative.datasync.LocationHdfsArgs.builder()
.agentArns(agentArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.authenticationType(
authenticationType?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.blockSize(blockSize?.applyValue({ args0 -> args0 }))
.kerberosKeytab(kerberosKeytab?.applyValue({ args0 -> args0 }))
.kerberosKrb5Conf(kerberosKrb5Conf?.applyValue({ args0 -> args0 }))
.kerberosPrincipal(kerberosPrincipal?.applyValue({ args0 -> args0 }))
.kmsKeyProviderUri(kmsKeyProviderUri?.applyValue({ args0 -> args0 }))
.nameNodes(
nameNodes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.qopConfiguration(qopConfiguration?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.replicationFactor(replicationFactor?.applyValue({ args0 -> args0 }))
.simpleUser(simpleUser?.applyValue({ args0 -> args0 }))
.subdirectory(subdirectory?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [LocationHdfsArgs].
*/
@PulumiTagMarker
public class LocationHdfsArgsBuilder internal constructor() {
private var agentArns: Output>? = null
private var authenticationType: Output? = null
private var blockSize: Output? = null
private var kerberosKeytab: Output? = null
private var kerberosKrb5Conf: Output? = null
private var kerberosPrincipal: Output? = null
private var kmsKeyProviderUri: Output? = null
private var nameNodes: Output>? = null
private var qopConfiguration: Output? = null
private var replicationFactor: Output? = null
private var simpleUser: Output? = null
private var subdirectory: Output? = null
private var tags: Output>? = null
/**
* @param value ARN(s) of the agent(s) to use for an HDFS location.
*/
@JvmName("ookgthgvghsfwfri")
public suspend fun agentArns(`value`: Output>) {
this.agentArns = value
}
@JvmName("wupdbchthesiwhvo")
public suspend fun agentArns(vararg values: Output) {
this.agentArns = Output.all(values.asList())
}
/**
* @param values ARN(s) of the agent(s) to use for an HDFS location.
*/
@JvmName("ihlrmrovsxhyodvu")
public suspend fun agentArns(values: List