![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.datasync.kotlin.LocationFSxOntapArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datasync.kotlin
import com.pulumi.awsnative.datasync.LocationFSxOntapArgs.builder
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationFSxOntapProtocolArgs
import com.pulumi.awsnative.datasync.kotlin.inputs.LocationFSxOntapProtocolArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::DataSync::LocationFSxONTAP.
* @property protocol Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
* @property securityGroupArns The ARNs of the security groups that are to use to configure the FSx ONTAP file system.
* @property storageVirtualMachineArn The Amazon Resource Name (ARN) for the FSx ONTAP SVM.
* @property subdirectory A subdirectory in the location's path.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class LocationFSxOntapArgs(
public val protocol: Output? = null,
public val securityGroupArns: Output>? = null,
public val storageVirtualMachineArn: Output? = null,
public val subdirectory: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datasync.LocationFSxOntapArgs =
com.pulumi.awsnative.datasync.LocationFSxOntapArgs.builder()
.protocol(protocol?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.securityGroupArns(securityGroupArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.storageVirtualMachineArn(storageVirtualMachineArn?.applyValue({ args0 -> args0 }))
.subdirectory(subdirectory?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [LocationFSxOntapArgs].
*/
@PulumiTagMarker
public class LocationFSxOntapArgsBuilder internal constructor() {
private var protocol: Output? = null
private var securityGroupArns: Output>? = null
private var storageVirtualMachineArn: Output? = null
private var subdirectory: Output? = null
private var tags: Output>? = null
/**
* @param value Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
*/
@JvmName("mpgohtruymddfefs")
public suspend fun protocol(`value`: Output) {
this.protocol = value
}
/**
* @param value The ARNs of the security groups that are to use to configure the FSx ONTAP file system.
*/
@JvmName("gihiyfvnyntillig")
public suspend fun securityGroupArns(`value`: Output>) {
this.securityGroupArns = value
}
@JvmName("dimsgonhyddhynna")
public suspend fun securityGroupArns(vararg values: Output) {
this.securityGroupArns = Output.all(values.asList())
}
/**
* @param values The ARNs of the security groups that are to use to configure the FSx ONTAP file system.
*/
@JvmName("ycmsofattnfcmima")
public suspend fun securityGroupArns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy