Skip to content
v2.274.0

GrantOnKeyResult Struct ​

Result of a call to grantOnKey().

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iam as iam } from 'aws-cdk-lib';

declare const grant: iam.Grant;
const grantOnKeyResult: iam.GrantOnKeyResult = {
  grant: grant,
};

Properties ​

grantGrantgrantGrantgrantGrantGrantGrantGrantGrant#
The Grant object, if a grant was created.

Default: No grant