class Aws::AppConfig::Types::Validator

A validator provides a syntactic or semantic check to ensure the configuration you want to deploy functions as intended. To validate your application configuration data, you provide a schema or a Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.

@note When making an API call, you may pass Validator

data as a hash:

    {
      type: "JSON_SCHEMA", # required, accepts JSON_SCHEMA, LAMBDA
      content: "StringWithLengthBetween0And32768", # required
    }

@!attribute [rw] type

AppConfig supports validators of type `JSON_SCHEMA` and `LAMBDA`
@return [String]

@!attribute [rw] content

Either the JSON Schema content or the Amazon Resource Name (ARN) of
an AWS Lambda function.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/Validator AWS API Documentation

Constants

SENSITIVE