All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.secretsmanager.kotlin.outputs.GetSecretsResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@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