@terraform-cdk-constructs/aws-iam
v0.0.28
Published
Terraform CDK Constructs for AWS IAM
Downloads
14
Readme
@terraform-cdk-constructs/aws-iam
Installation
npm install @terraform-cdk-constructs/aws-iam
Examples
Create policy statements using enums for actions.
new iam.PolicyStatement({
actions: [
DynamoDB.GET_ITEM,
DynamoDB.PUT_ITEM,
DynamoDB.QUERY,
],
resources: [
`${table.tableArn}/index/*`,
table.tableArn
]
})