Validator class
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.
Constructors
- Validator({required String content, required ValidatorType type})
-
Validator.fromJson(Map<
String, dynamic> json) -
factory
Properties
- content → String
-
Either the JSON Schema content or the Amazon Resource Name (ARN) of an AWS
Lambda function.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → ValidatorType
-
AppConfig supports validators of type
JSON_SCHEMA
andLAMBDA
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited