interface EncryptedPermissionsOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.EncryptedPermissionsOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2#EncryptedPermissionsOptions |
Java | software.amazon.awscdk.EncryptedPermissionsOptions |
Python | aws_cdk.EncryptedPermissionsOptions |
TypeScript (source) | aws-cdk-lib » EncryptedPermissionsOptions |
Implements
Permissions
Options for configuring permissions on encrypted resources.
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 encryptedPermissionsOptions: cdk.EncryptedPermissionsOptions = {
keyActions: ['keyActions'],
resourceArns: ['resourceArns'],
};
Properties
| Name | Type | Description |
|---|---|---|
| key | string[] | The KMS key actions to grant permissions for. |
| resource | string[] | The ARNs of the resources to grant permissions on. |
keyActions?
Type:
string[]
(optional, default: No permission is added to the KMS key, even if it exists)
The KMS key actions to grant permissions for.
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 (