Package | Description |
---|---|
software.amazon.awssdk.services.kms |
|
software.amazon.awssdk.services.kms.model |
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<PutKeyPolicyResponse> |
KmsAsyncClient.putKeyPolicy(Consumer<PutKeyPolicyRequest.Builder> putKeyPolicyRequest)
Attaches a key policy to the specified KMS key.
|
default PutKeyPolicyResponse |
KmsClient.putKeyPolicy(Consumer<PutKeyPolicyRequest.Builder> putKeyPolicyRequest)
Attaches a key policy to the specified KMS key.
|
Modifier and Type | Method and Description |
---|---|
static PutKeyPolicyRequest.Builder |
PutKeyPolicyRequest.builder() |
PutKeyPolicyRequest.Builder |
PutKeyPolicyRequest.Builder.bypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck)
A flag to indicate whether to bypass the key policy lockout safety check.
|
PutKeyPolicyRequest.Builder |
PutKeyPolicyRequest.Builder.keyId(String keyId)
Sets the key policy on the specified KMS key.
|
PutKeyPolicyRequest.Builder |
PutKeyPolicyRequest.Builder.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutKeyPolicyRequest.Builder |
PutKeyPolicyRequest.Builder.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutKeyPolicyRequest.Builder |
PutKeyPolicyRequest.Builder.policy(String policy)
The key policy to attach to the KMS key.
|
PutKeyPolicyRequest.Builder |
PutKeyPolicyRequest.Builder.policyName(String policyName)
The name of the key policy.
|
PutKeyPolicyRequest.Builder |
PutKeyPolicyRequest.toBuilder() |
Modifier and Type | Method and Description |
---|---|
static Class<? extends PutKeyPolicyRequest.Builder> |
PutKeyPolicyRequest.serializableBuilderClass() |
Copyright © 2022. All rights reserved.