Getting started / CLI and API / IAM Policies IAM Policies Commands for IAM Policies. Import Create a custom IAM policy from a JSON file and attach it to the app’s task role