| 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)
(experimental) A list of principals to add as key administrators to the key policy.
|
Key.Builder |
Key.Builder.alias(String alias)
(experimental) 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)
(experimental) A description of the key.
|
Key.Builder |
Key.Builder.enabled(Boolean enabled)
(experimental) Indicates whether the key is available for use.
|
Key.Builder |
Key.Builder.enableKeyRotation(Boolean enableKeyRotation)
(experimental) Indicates whether AWS KMS rotates the key.
|
Key.Builder |
Key.Builder.keySpec(KeySpec keySpec)
(experimental) The cryptographic configuration of the key.
|
Key.Builder |
Key.Builder.keyUsage(KeyUsage keyUsage)
(experimental) The cryptographic operations for which the key can be used.
|
Key.Builder |
Key.Builder.pendingWindow(Duration pendingWindow)
(experimental) 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)
(experimental) Custom policy document to attach to the KMS key.
|
Key.Builder |
Key.Builder.removalPolicy(RemovalPolicy removalPolicy)
(experimental) Whether the encryption key should be retained when it is removed from the Stack.
|
Copyright © 2021. All rights reserved.