AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

Policy

An IAM policy defining permissions

Import

import { Policy } from 'aws-cdk-lib/aws-iam';

Or use the module namespace:

import * as iam from 'aws-cdk-lib/aws-iam';
// iam.Policy

Underlying CloudFormation Resources

This L2 construct creates and manages the following CloudFormation resources.

Get the AWS IAM Cheat Sheet

Everything you need to know about AWS IAM on one page. HD quality, print-friendly.

Download Free Infographic