Class CfnConfigurationProfile.ValidatorsProperty
A validator provides a syntactic or semantic check to ensure the configuration that you want to deploy functions as intended.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ValidatorsProperty : Object, CfnConfigurationProfile.IValidatorsProperty
Syntax (vb)
Public Class ValidatorsProperty
Inherits Object
Implements CfnConfigurationProfile.IValidatorsProperty
Remarks
To validate your application configuration data, you provide a schema or an AWS 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 AWS AppConfig User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppConfig;
var validatorsProperty = new ValidatorsProperty {
Content = "content",
Type = "type"
};
Synopsis
Constructors
ValidatorsProperty() |
Properties
Content | Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function. |
Type | AWS AppConfig supports validators of type |
Constructors
ValidatorsProperty()
public ValidatorsProperty()
Properties
Content
Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
public string Content { get; set; }
Property Value
System.String
Remarks
Type
AWS AppConfig supports validators of type JSON_SCHEMA
and LAMBDA
.
public string Type { get; set; }
Property Value
System.String