ParameterDefinitionsValueArgs

data class ParameterDefinitionsValueArgs(val allowedValues: Output<List<Any>>? = null, val defaultValue: Output<Any>? = null, val metadata: Output<ParameterDefinitionsValueMetadataArgs>? = null, val schema: Output<Any>? = null, val type: Output<Either<String, ParameterType>>? = null) : ConvertibleToJava<ParameterDefinitionsValueArgs>

The definition of a parameter that can be provided to the policy.

Constructors

Link copied to clipboard
constructor(allowedValues: Output<List<Any>>? = null, defaultValue: Output<Any>? = null, metadata: Output<ParameterDefinitionsValueMetadataArgs>? = null, schema: Output<Any>? = null, type: Output<Either<String, ParameterType>>? = null)

Properties

Link copied to clipboard
val allowedValues: Output<List<Any>>? = null

The allowed values for the parameter.

Link copied to clipboard
val defaultValue: Output<Any>? = null

The default value for the parameter if no value is provided.

Link copied to clipboard

General metadata for the parameter.

Link copied to clipboard
val schema: Output<Any>? = null

Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/.

Link copied to clipboard
val type: Output<Either<String, ParameterType>>? = null

The data type of the parameter.

Functions

Link copied to clipboard
open override fun toJava(): ParameterDefinitionsValueArgs