![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.appconfig.kotlin.outputs.GetExtensionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appconfig.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property actions The actions defined in the extension.
* @property arn The system-generated Amazon Resource Name (ARN) for the extension.
* @property description Description of the extension.
* @property id The system-generated ID of the extension.
* @property parameters The parameters accepted by the extension. You specify parameter values when you associate the extension to an AWS AppConfig resource by using the `CreateExtensionAssociation` API action. For AWS Lambda extension actions, these parameters are included in the Lambda request object.
* @property versionNumber The extension version number.
*/
public data class GetExtensionResult(
public val actions: Map>? = null,
public val arn: String? = null,
public val description: String? = null,
public val id: String? = null,
public val parameters: Map? = null,
public val versionNumber: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.appconfig.outputs.GetExtensionResult): GetExtensionResult = GetExtensionResult(
actions = javaType.actions().map({ args0 ->
args0.key.to(
args0.value.map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.appconfig.kotlin.outputs.ExtensionAction.Companion.toKotlin(args0)
})
}),
)
}).toMap(),
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
parameters = javaType.parameters().map({ args0 ->
args0.key.to(
args0.value.let({ args0 ->
com.pulumi.awsnative.appconfig.kotlin.outputs.ExtensionParameter.Companion.toKotlin(args0)
}),
)
}).toMap(),
versionNumber = javaType.versionNumber().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy