aws-cdk-lib.aws_appconfig.CfnConfigurationProfile.ValidatorsProperty

interface ValidatorsProperty

LanguageType name
.NETAmazon.CDK.AWS.AppConfig.CfnConfigurationProfile.ValidatorsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappconfig#CfnConfigurationProfile_ValidatorsProperty
Javasoftware.amazon.awscdk.services.appconfig.CfnConfigurationProfile.ValidatorsProperty
Pythonaws_cdk.aws_appconfig.CfnConfigurationProfile.ValidatorsProperty
TypeScript aws-cdk-lib » 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 { aws_appconfig as appconfig } from 'aws-cdk-lib';
const validatorsProperty: appconfig.CfnConfigurationProfile.ValidatorsProperty = {
  content: 'content',
  type: 'type',
};

Properties

NameTypeDescription
content?stringEither the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
type?stringAWS 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.