Skip to content
v2.274.0

EncryptedPermissionsOptions Struct ​

Options for configuring permissions on encrypted resources.

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 encryptedPermissionsOptions: cdk.EncryptedPermissionsOptions = {
  keyActions: ['keyActions'],
  resourceArns: ['resourceArns'],
};

Properties ​

keyActionsstring[]key_actionstyping.List[str]keyActionsList<String>KeyActionsstring[]KeyActions*[]*string= No permission is added to the KM…#
The KMS key actions to grant permissions for.
default

Default: No permission is added to the KMS key, even if it exists

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.