I am trying to use this and I am getting error with the could formation stack deployment I am getting the following error
aws cloudformation create-stack --stack-name StaticSiteStack --template-body file://my-static-website.yaml
An error occurred (ValidationError) when calling the CreateStack operation: Invalid template resource property 'PublicAccessBlockConfiguration'