| Package | Description |
|---|---|
| software.amazon.awscdk.services.kms |
AWS Key Management Service Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
Key.Builder |
Key.Builder.admins(List<? extends IPrincipal> admins)
A list of principals to add as key administrators to the key policy.
|
Key.Builder |
Key.Builder.alias(String alias)
Initial alias to add to the key.
|
static Key.Builder |
Key.Builder.create(software.constructs.Construct scope,
String id) |
Key.Builder |
Key.Builder.description(String description)
A description of the key.
|
Key.Builder |
Key.Builder.enabled(Boolean enabled)
Indicates whether the key is available for use.
|
Key.Builder |
Key.Builder.enableKeyRotation(Boolean enableKeyRotation)
Indicates whether AWS KMS rotates the key.
|
Key.Builder |
Key.Builder.keySpec(KeySpec keySpec)
The cryptographic configuration of the key.
|
Key.Builder |
Key.Builder.keyUsage(KeyUsage keyUsage)
The cryptographic operations for which the key can be used.
|
Key.Builder |
Key.Builder.pendingWindow(Duration pendingWindow)
Specifies the number of days in the waiting period before AWS KMS deletes a CMK that has been removed from a CloudFormation stack.
|
Key.Builder |
Key.Builder.policy(PolicyDocument policy)
Custom policy document to attach to the KMS key.
|
Key.Builder |
Key.Builder.removalPolicy(RemovalPolicy removalPolicy)
Whether the encryption key should be retained when it is removed from the Stack.
|
Copyright © 2022. All rights reserved.