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 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

Instance Attribute Details

#contentString

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

Returns:

  • (String)


2969
2970
2971
2972
2973
2974
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 2969

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

#typeString

AppConfig supports validators of type JSON_SCHEMA and LAMBDA

Returns:

  • (String)


2969
2970
2971
2972
2973
2974
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 2969

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