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

Inherits:
Struct
  • Object
show all
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 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.

Constant Summary collapse

SENSITIVE =
[:content]

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)


2053
2054
2055
2056
2057
2058
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 2053

class Validator < Struct.new(
  :type,
  :content)
  SENSITIVE = [:content]
  include Aws::Structure
end

#typeString

AppConfig supports validators of type JSON_SCHEMA and LAMBDA

Returns:

  • (String)


2053
2054
2055
2056
2057
2058
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 2053

class Validator < Struct.new(
  :type,
  :content)
  SENSITIVE = [:content]
  include Aws::Structure
end