Skip to content

Validate resource before deserialize into resource model #273

@wbingli

Description

@wbingli

As for now, Java plugin will deserialize the raw resource property into resource model before validation.

If the resource property is an invalid structure, e.g. pass a String but schema requires a List, it will fail sadly. And CloudFormation will show Internal Failure for this resource.

If validate resource before deserialize it, it can validate such invalid resource properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions