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. For more information, see About validators in the AppConfig User Guide.

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)


2795
2796
2797
2798
2799
2800
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 2795

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

#typeString

AppConfig supports validators of type JSON_SCHEMA and LAMBDA

Returns:

  • (String)


2795
2796
2797
2798
2799
2800
# File 'gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/types.rb', line 2795

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