![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.apigateway.kotlin.outputs.GetApiKeyResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.apigateway.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property apiKeyId The ID for the API key. For example: `abc123` .
* @property customerId An MKT customer identifier, when integrating with the AWS SaaS Marketplace.
* @property description The description of the ApiKey.
* @property enabled Specifies whether the ApiKey can be used by callers.
* @property stageKeys DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
* @property tags The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with ``aws:``. The tag value can be up to 256 characters.
*/
public data class GetApiKeyResult(
public val apiKeyId: String? = null,
public val customerId: String? = null,
public val description: String? = null,
public val enabled: Boolean? = null,
public val stageKeys: List? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.apigateway.outputs.GetApiKeyResult): GetApiKeyResult = GetApiKeyResult(
apiKeyId = javaType.apiKeyId().map({ args0 -> args0 }).orElse(null),
customerId = javaType.customerId().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
stageKeys = javaType.stageKeys().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.apigateway.kotlin.outputs.ApiKeyStageKey.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy