| Package | Description |
|---|---|
| com.amazonaws.services.kms |
|
| com.amazonaws.services.kms.model |
Classes modeling the various types represented by AWSKMS
|
| Modifier and Type | Method and Description |
|---|---|
void |
AWSKMS.putKeyPolicy(PutKeyPolicyRequest putKeyPolicyRequest)
Attaches a key policy to the specified customer master key (CMK).
|
void |
AWSKMSClient.putKeyPolicy(PutKeyPolicyRequest putKeyPolicyRequest)
Attaches a key policy to the specified customer master key (CMK).
|
| Modifier and Type | Method and Description |
|---|---|
PutKeyPolicyRequest |
PutKeyPolicyRequest.withBypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck)
A flag to indicate whether to bypass the key policy lockout safety check.
|
PutKeyPolicyRequest |
PutKeyPolicyRequest.withKeyId(String keyId)
A unique identifier for the CMK.
|
PutKeyPolicyRequest |
PutKeyPolicyRequest.withPolicy(String policy)
The key policy to attach to the CMK.
|
PutKeyPolicyRequest |
PutKeyPolicyRequest.withPolicyName(String policyName)
The name of the key policy.
|
Copyright © 2018. All rights reserved.