![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.dms.kotlin.InstanceProfileArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.dms.kotlin
import com.pulumi.awsnative.dms.InstanceProfileArgs.builder
import com.pulumi.awsnative.dms.kotlin.enums.InstanceProfileNetworkType
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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::DMS::InstanceProfile.
* @property availabilityZone The property describes an availability zone of the instance profile.
* @property description The optional description of the instance profile.
* @property instanceProfileIdentifier The property describes an identifier for the instance profile. It is used for describing/deleting/modifying. Can be name/arn
* @property instanceProfileName The property describes a name for the instance profile.
* @property kmsKeyArn The property describes kms key arn for the instance profile.
* @property networkType The property describes a network type for the instance profile.
* @property publiclyAccessible The property describes the publicly accessible of the instance profile
* @property subnetGroupIdentifier The property describes a subnet group identifier for the instance profile.
* @property tags An array of key-value pairs to apply to this resource.
* @property vpcSecurityGroups The property describes vps security groups for the instance profile.
*/
public data class InstanceProfileArgs(
public val availabilityZone: Output? = null,
public val description: Output? = null,
public val instanceProfileIdentifier: Output? = null,
public val instanceProfileName: Output? = null,
public val kmsKeyArn: Output? = null,
public val networkType: Output? = null,
public val publiclyAccessible: Output? = null,
public val subnetGroupIdentifier: Output? = null,
public val tags: Output>? = null,
public val vpcSecurityGroups: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.dms.InstanceProfileArgs =
com.pulumi.awsnative.dms.InstanceProfileArgs.builder()
.availabilityZone(availabilityZone?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.instanceProfileIdentifier(instanceProfileIdentifier?.applyValue({ args0 -> args0 }))
.instanceProfileName(instanceProfileName?.applyValue({ args0 -> args0 }))
.kmsKeyArn(kmsKeyArn?.applyValue({ args0 -> args0 }))
.networkType(networkType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.publiclyAccessible(publiclyAccessible?.applyValue({ args0 -> args0 }))
.subnetGroupIdentifier(subnetGroupIdentifier?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.vpcSecurityGroups(vpcSecurityGroups?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [InstanceProfileArgs].
*/
@PulumiTagMarker
public class InstanceProfileArgsBuilder internal constructor() {
private var availabilityZone: Output? = null
private var description: Output? = null
private var instanceProfileIdentifier: Output? = null
private var instanceProfileName: Output? = null
private var kmsKeyArn: Output? = null
private var networkType: Output? = null
private var publiclyAccessible: Output? = null
private var subnetGroupIdentifier: Output? = null
private var tags: Output>? = null
private var vpcSecurityGroups: Output>? = null
/**
* @param value The property describes an availability zone of the instance profile.
*/
@JvmName("ymqogioyqgfqkhpj")
public suspend fun availabilityZone(`value`: Output) {
this.availabilityZone = value
}
/**
* @param value The optional description of the instance profile.
*/
@JvmName("atsmsphuheectisv")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The property describes an identifier for the instance profile. It is used for describing/deleting/modifying. Can be name/arn
*/
@JvmName("wdtgxigprphjeivb")
public suspend fun instanceProfileIdentifier(`value`: Output) {
this.instanceProfileIdentifier = value
}
/**
* @param value The property describes a name for the instance profile.
*/
@JvmName("budtecdunogolxpv")
public suspend fun instanceProfileName(`value`: Output) {
this.instanceProfileName = value
}
/**
* @param value The property describes kms key arn for the instance profile.
*/
@JvmName("rfsvrwmeibjyuwfn")
public suspend fun kmsKeyArn(`value`: Output) {
this.kmsKeyArn = value
}
/**
* @param value The property describes a network type for the instance profile.
*/
@JvmName("ghrvhatpedrcmsrb")
public suspend fun networkType(`value`: Output) {
this.networkType = value
}
/**
* @param value The property describes the publicly accessible of the instance profile
*/
@JvmName("lofpqwhfrtlyvnby")
public suspend fun publiclyAccessible(`value`: Output) {
this.publiclyAccessible = value
}
/**
* @param value The property describes a subnet group identifier for the instance profile.
*/
@JvmName("wbsodfsfawctujec")
public suspend fun subnetGroupIdentifier(`value`: Output) {
this.subnetGroupIdentifier = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("swnawdujnxaosoha")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("pbrxijcadqgseihq")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("qrylnvdgwsjqmead")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy