AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AppConfig::Types::Validator

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Validator as input to an Aws::Client method, you can use a vanilla Hash:

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

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.

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

Either the JSON Schema content or the Amazon Resource Name (ARN) of an AWS Lambda function.

Returns:

  • (String)

    Either the JSON Schema content or the Amazon Resource Name (ARN) of an AWS Lambda function.

#typeString

AppConfig supports validators of type JSON_SCHEMA and LAMBDA

Possible values:

  • JSON_SCHEMA
  • LAMBDA

Returns:

  • (String)

    AppConfig supports validators of type JSON_SCHEMA and LAMBDA.