interface ValidationError
Language | Type name |
---|---|
![]() | Amazon.CDK.ValidationError |
![]() | software.amazon.awscdk.core.ValidationError |
![]() | aws_cdk.core.ValidationError |
![]() | @aws-cdk/core » ValidationError |
An error returned during the validation phase.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from '@aws-cdk/core';
declare const construct: cdk.Construct;
const validationError: cdk.ValidationError = {
message: 'message',
source: construct,
};
Properties
Name | Type | Description |
---|---|---|
message | string | The error message. |
source | Construct | The construct which emitted the error. |
message
Type:
string
The error message.
source
Type:
Construct
The construct which emitted the error.