
com.pulumi.awsnative.quicksight.kotlin.outputs.GetVpcConnectionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.quicksight.kotlin.enums.VpcConnectionVpcConnectionAvailabilityStatus
import com.pulumi.awsnative.quicksight.kotlin.enums.VpcConnectionVpcConnectionResourceStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) of the VPC connection.
* @property availabilityStatus The availability status of the VPC connection.
* @property createdTime The time that the VPC connection was created.
* @property dnsResolvers A list of IP addresses of DNS resolver endpoints for the VPC connection.
* @property lastUpdatedTime The time that the VPC connection was last updated.
* @property name The display name for the VPC connection.
* @property networkInterfaces A list of network interfaces.
* @property roleArn The ARN of the IAM role associated with the VPC connection.
* @property securityGroupIds The Amazon EC2 security group IDs associated with the VPC connection.
* @property status The HTTP status of the request.
* @property tags A map of the key-value pairs for the resource tag or tags assigned to the VPC connection.
* @property vpcId The Amazon EC2 VPC ID associated with the VPC connection.
*/
public data class GetVpcConnectionResult(
public val arn: String? = null,
public val availabilityStatus: VpcConnectionVpcConnectionAvailabilityStatus? = null,
public val createdTime: String? = null,
public val dnsResolvers: List? = null,
public val lastUpdatedTime: String? = null,
public val name: String? = null,
public val networkInterfaces: List? = null,
public val roleArn: String? = null,
public val securityGroupIds: List? = null,
public val status: VpcConnectionVpcConnectionResourceStatus? = null,
public val tags: List? = null,
public val vpcId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.GetVpcConnectionResult): GetVpcConnectionResult = GetVpcConnectionResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
availabilityStatus = javaType.availabilityStatus().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.VpcConnectionVpcConnectionAvailabilityStatus.Companion.toKotlin(args0)
})
}).orElse(null),
createdTime = javaType.createdTime().map({ args0 -> args0 }).orElse(null),
dnsResolvers = javaType.dnsResolvers().map({ args0 -> args0 }),
lastUpdatedTime = javaType.lastUpdatedTime().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
networkInterfaces = javaType.networkInterfaces().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.VpcConnectionNetworkInterface.Companion.toKotlin(args0)
})
}),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
securityGroupIds = javaType.securityGroupIds().map({ args0 -> args0 }),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.VpcConnectionVpcConnectionResourceStatus.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
vpcId = javaType.vpcId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy