com.pulumi.aws.sqs.kotlin.outputs.GetQueueResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.sqs.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getQueue.
* @property arn ARN of the queue.
* @property id The provider-assigned unique ID for this managed resource.
* @property name
* @property tags Map of tags for the resource.
* @property url URL of the queue.
*/
public data class GetQueueResult(
public val arn: String,
public val id: String,
public val name: String,
public val tags: Map,
public val url: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.sqs.outputs.GetQueueResult): GetQueueResult =
GetQueueResult(
arn = javaType.arn(),
id = javaType.id(),
name = javaType.name(),
tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
url = javaType.url(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy