Class: Aws::AppConfig::Types::Validator
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppConfig::Types::Validator
- Defined in:
- gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb
Overview
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
}
A validator provides a syntactic or semantic check to ensure the configuration that you want to deploy functions as intended. To validate your application configuration data, you provide a schema or an Amazon Web Services Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.
Constant Summary collapse
- SENSITIVE =
[:content]
Instance Attribute Summary collapse
-
#content ⇒ String
Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
-
#type ⇒ String
AppConfig supports validators of type
JSON_SCHEMA
andLAMBDA
.
Instance Attribute Details
#content ⇒ String
Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
2188 2189 2190 2191 2192 2193 |
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 2188 class Validator < Struct.new( :type, :content) SENSITIVE = [:content] include Aws::Structure end |