
com.pulumi.awsnative.qbusiness.kotlin.outputs.PluginCustomPluginConfiguration.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.qbusiness.kotlin.outputs
import com.pulumi.awsnative.qbusiness.kotlin.enums.PluginApiSchemaType
import com.pulumi.core.Either
import kotlin.String
import kotlin.Suppress
/**
*
* @property apiSchema Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema.
* @property apiSchemaType The type of OpenAPI schema to use.
* @property description A description for your custom plugin configuration.
*/
public data class PluginCustomPluginConfiguration(
public val apiSchema: Either,
public val apiSchemaType: PluginApiSchemaType,
public val description: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.qbusiness.outputs.PluginCustomPluginConfiguration): PluginCustomPluginConfiguration = PluginCustomPluginConfiguration(
apiSchema = javaType.apiSchema().transform(
{ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.qbusiness.kotlin.outputs.PluginApiSchema0Properties.Companion.toKotlin(args0)
})
},
{ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.qbusiness.kotlin.outputs.PluginApiSchema1Properties.Companion.toKotlin(args0)
})
},
),
apiSchemaType = javaType.apiSchemaType().let({ args0 ->
com.pulumi.awsnative.qbusiness.kotlin.enums.PluginApiSchemaType.Companion.toKotlin(args0)
}),
description = javaType.description(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy