ValidationResults

class aws_cdk.core.ValidationResults(results=None)

Bases: object

A collection of validation results.

__init__(results=None)
Parameters

results (Optional[List[ValidationResult]]) –

Return type

None

Methods

collect(result)
Parameters

result (ValidationResult) –

Return type

None

error_tree_list()
Return type

str

wrap(message)

Wrap up all validation results into a single tree node.

If there are failures in the collection, add a message, otherwise return a success.

Parameters

message (str) –

Return type

ValidationResult

Attributes

is_success
Return type

bool

results
Return type

List[ValidationResult]