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
- Struct
- Aws::AppConfig::Types::Validator
- Defined in:
- (unknown)
Overview
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
-
#content ⇒ String
Either the JSON Schema content or the Amazon Resource Name (ARN) of an AWS Lambda function.
-
#type ⇒ String
AppConfig supports validators of type
JSON_SCHEMA
andLAMBDA
Possible values:
- JSON_SCHEMA
- LAMBDA
Instance Attribute Details
#content ⇒ String
Either the JSON Schema content or the Amazon Resource Name (ARN) of an AWS Lambda function.
#type ⇒ String
AppConfig supports validators of type JSON_SCHEMA
and LAMBDA
Possible values:
- JSON_SCHEMA
- LAMBDA