How best to create IAM Permissions for Docker AWS?

Hello There,

I am trying to setup my AWS to use Docker AWS CloudFormation template to generate Docker swarms. I am at this step, where I ensure I have the proper permissions to run CloudFormation:

I tried creating a brand-new Policy in AWS, but the permissions in the Docker page are too big and AWS won’t except it:

AWS Create Policy error message is:

An error occurred: Cannot exceed quota for PolicySize: 5120

So, I am at a loss for how I’m supposed to create a Policy that has these exact IAM permissions.