
com.pulumi.awsnative.dms.kotlin.outputs.GetInstanceProfileResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.dms.kotlin.outputs
import com.pulumi.awsnative.dms.kotlin.enums.InstanceProfileNetworkType
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property availabilityZone The property describes an availability zone of the instance profile.
* @property description The optional description of the instance profile.
* @property instanceProfileArn The property describes an ARN of the instance profile.
* @property instanceProfileCreationTime The property describes a creating time of the instance profile.
* @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 GetInstanceProfileResult(
public val availabilityZone: String? = null,
public val description: String? = null,
public val instanceProfileArn: String? = null,
public val instanceProfileCreationTime: String? = null,
public val instanceProfileName: String? = null,
public val kmsKeyArn: String? = null,
public val networkType: InstanceProfileNetworkType? = null,
public val publiclyAccessible: Boolean? = null,
public val subnetGroupIdentifier: String? = null,
public val tags: List? = null,
public val vpcSecurityGroups: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.dms.outputs.GetInstanceProfileResult): GetInstanceProfileResult = GetInstanceProfileResult(
availabilityZone = javaType.availabilityZone().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
instanceProfileArn = javaType.instanceProfileArn().map({ args0 -> args0 }).orElse(null),
instanceProfileCreationTime = javaType.instanceProfileCreationTime().map({ args0 ->
args0
}).orElse(null),
instanceProfileName = javaType.instanceProfileName().map({ args0 -> args0 }).orElse(null),
kmsKeyArn = javaType.kmsKeyArn().map({ args0 -> args0 }).orElse(null),
networkType = javaType.networkType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.dms.kotlin.enums.InstanceProfileNetworkType.Companion.toKotlin(args0)
})
}).orElse(null),
publiclyAccessible = javaType.publiclyAccessible().map({ args0 -> args0 }).orElse(null),
subnetGroupIdentifier = javaType.subnetGroupIdentifier().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
vpcSecurityGroups = javaType.vpcSecurityGroups().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy