When trying to create a stack using YML document there is an error message

Hello I get an error message when trying to create a stack. So how to solve it?

An error occurred (ValidationError) when calling the CreateStack operation: Invalid template property or properties [HighPriorityPolicy, LowPrioritySubscription, LowPriorityPolicy, HighPrioritySubscription, PriorityQueuesTopic, PriorityLambdaFunction, LambdaExecutionRole]

hI @Power313

The error indicates issues in the CloudFormation template, likely due to syntax errors such as unrecognized properties.

You can validate the template first with aws cloudformation validate-template <your-template.yaml,>