interface PermissionsOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.PermissionsOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2#PermissionsOptions |
Java | software.amazon.awscdk.PermissionsOptions |
Python | aws_cdk.PermissionsOptions |
TypeScript (source) | aws-cdk-lib » PermissionsOptions |
Options for configuring permissions in the <Resource>.actions() method.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const permissionsOptions: cdk.PermissionsOptions = {
resourceArns: ['resourceArns'],
};
Properties
| Name | Type | Description |
|---|---|---|
| resource | string[] | The ARNs of the resources to grant permissions on. |
resourceArns?
Type:
string[]
(optional, default: The ARN of the resource associated with the grant is used.)
The ARNs of the resources to grant permissions on.

.NET
Go
Java
Python
TypeScript (