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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb

Overview

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)


2630
2631
2632
2633
2634
2635
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 2630

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

#typeString

AppConfig supports validators of type JSON_SCHEMA and LAMBDA

Returns:

  • (String)


2630
2631
2632
2633
2634
2635
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 2630

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