Skip to content
v2.273.0

PermissionsOptions Struct ​

Options for configuring permissions in the <Resource>.actions() method.

Example ​

ts
// 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 ​

resourceArnsstring[]resource_arnstyping.List[str]resourceArnsList<String>ResourceArnsstring[]ResourceArns*[]*string= The ARN of the resource associat…#
The ARNs of the resources to grant permissions on.
default

Default: The ARN of the resource associated with the grant is used.