
com.pulumi.awsnative.datasync.kotlin.StorageSystemArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datasync.kotlin
import com.pulumi.awsnative.datasync.StorageSystemArgs.builder
import com.pulumi.awsnative.datasync.kotlin.enums.StorageSystemSystemType
import com.pulumi.awsnative.datasync.kotlin.inputs.StorageSystemServerConfigurationArgs
import com.pulumi.awsnative.datasync.kotlin.inputs.StorageSystemServerConfigurationArgsBuilder
import com.pulumi.awsnative.datasync.kotlin.inputs.StorageSystemServerCredentialsArgs
import com.pulumi.awsnative.datasync.kotlin.inputs.StorageSystemServerCredentialsArgsBuilder
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::StorageSystem.
* @property agentArns The ARN of the DataSync agent that connects to and reads from the on-premises storage system's management interface.
* @property cloudWatchLogGroupArn The ARN of the Amazon CloudWatch log group used to monitor and log discovery job events.
* @property name A familiar name for the on-premises storage system.
* @property serverConfiguration Specifies the server name and network port required to connect with the management interface of your on-premises storage system.
* @property serverCredentials Specifies the user name and password for accessing your on-premises storage system's management interface.
* @property systemType The type of on-premises storage system that DataSync Discovery will analyze.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class StorageSystemArgs(
public val agentArns: Output>? = null,
public val cloudWatchLogGroupArn: Output? = null,
public val name: Output? = null,
public val serverConfiguration: Output? = null,
public val serverCredentials: Output? = null,
public val systemType: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datasync.StorageSystemArgs =
com.pulumi.awsnative.datasync.StorageSystemArgs.builder()
.agentArns(agentArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.cloudWatchLogGroupArn(cloudWatchLogGroupArn?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.serverConfiguration(
serverConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.serverCredentials(serverCredentials?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.systemType(systemType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [StorageSystemArgs].
*/
@PulumiTagMarker
public class StorageSystemArgsBuilder internal constructor() {
private var agentArns: Output>? = null
private var cloudWatchLogGroupArn: Output? = null
private var name: Output? = null
private var serverConfiguration: Output? = null
private var serverCredentials: Output? = null
private var systemType: Output? = null
private var tags: Output>? = null
/**
* @param value The ARN of the DataSync agent that connects to and reads from the on-premises storage system's management interface.
*/
@JvmName("keinnlndmbmcnfgo")
public suspend fun agentArns(`value`: Output>) {
this.agentArns = value
}
@JvmName("soinvxjkctwxpnxo")
public suspend fun agentArns(vararg values: Output) {
this.agentArns = Output.all(values.asList())
}
/**
* @param values The ARN of the DataSync agent that connects to and reads from the on-premises storage system's management interface.
*/
@JvmName("uumyqjgfjffonnah")
public suspend fun agentArns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy