Skip to content

EC2  >  Structures  >  ValidationError

ValidationError

Structure Class

ValidationError dataclass

Bases: _SerdeShape

The error code and error message that is returned for a parameter or parameter combination that is not valid when a new launch template or new version of a launch template is created.

Attributes

code class-attribute instance-attribute
code: str | None = ...

The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.

message class-attribute instance-attribute
message: str | None = ...

The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.