A set of types and enums used to support permissions in SST.
PermissionType | Permission
An enum with the following option(s).
|ALL||Gives complete admin access to all resources.|
string | cdk.Construct | [cdk.Construct, string] | cdk.aws-iam.PolicyStatement
Allows you to define the permission in a few different ways to control the level of access.
The name of the AWS resource as referenced in an IAM policy.
A CDK or SST construct.
A CDK construct with their specific grant permission method. Many CDK constructs have a method of the format grantX that allows you to grant specific permissions. Pass in the consutrct and grant method as a tuple.
Or, pass in a policy statement.