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

com.pulumi.awsnative.appconfig.kotlin.outputs.ConfigurationProfileValidators.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.appconfig.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A list of methods for validating the configuration.
 * @property content Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
 * @property type AWS AppConfig supports validators of type JSON_SCHEMA and LAMBDA.
 */
public data class ConfigurationProfileValidators(
    public val content: String? = null,
    public val type: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.appconfig.outputs.ConfigurationProfileValidators): ConfigurationProfileValidators = ConfigurationProfileValidators(
            content = javaType.content().map({ args0 -> args0 }).orElse(null),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy