Interface GrantOnKeyResult
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GrantOnKeyResult.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:22.967Z")
@Stability(Stable)
public interface GrantOnKeyResult
extends software.amazon.jsii.JsiiSerializable
Result of a call to grantOnKey().
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iam.*;
Grant grant;
GrantOnKeyResult grantOnKeyResult = GrantOnKeyResult.builder()
.grant(grant)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forGrantOnKeyResultstatic final classAn implementation forGrantOnKeyResult -
Method Summary
Modifier and TypeMethodDescriptionstatic GrantOnKeyResult.Builderbuilder()default GrantgetGrant()The Grant object, if a grant was created.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGrant
The Grant object, if a grant was created.Default: No grant
-
builder
- Returns:
- a
GrantOnKeyResult.BuilderofGrantOnKeyResult
-