com.pulumi.aws.secretsmanager.kotlin.outputs.GetSecretsResult.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.secretsmanager.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getSecrets.
* @property arns Set of ARNs of the matched Secrets Manager secrets.
* @property filters
* @property id The provider-assigned unique ID for this managed resource.
* @property names Set of names of the matched Secrets Manager secrets.
*/
public data class GetSecretsResult(
public val arns: List,
public val filters: List? = null,
public val id: String,
public val names: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.secretsmanager.outputs.GetSecretsResult): GetSecretsResult = GetSecretsResult(
arns = javaType.arns().map({ args0 -> args0 }),
filters = javaType.filters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.secretsmanager.kotlin.outputs.GetSecretsFilter.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
names = javaType.names().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy