interface ValidatorsProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppConfig.CfnConfigurationProfile.ValidatorsProperty |
![]() | software.amazon.awscdk.services.appconfig.CfnConfigurationProfile.ValidatorsProperty |
![]() | aws_cdk.aws_appconfig.CfnConfigurationProfile.ValidatorsProperty |
![]() | @aws-cdk/aws-appconfig » CfnConfigurationProfile » ValidatorsProperty |
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 AWS Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appconfig from '@aws-cdk/aws-appconfig';
const validatorsProperty: appconfig.CfnConfigurationProfile.ValidatorsProperty = {
content: 'content',
type: 'type',
};
Properties
Name | Type | Description |
---|---|---|
content? | string | Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function. |
type? | string | AWS AppConfig supports validators of type JSON_SCHEMA and LAMBDA . |
content?
Type:
string
(optional)
Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
type?
Type:
string
(optional)
AWS AppConfig supports validators of type JSON_SCHEMA
and LAMBDA
.