GrantOnKeyResult

class aws_cdk.aws_iam.GrantOnKeyResult(*, grant=None)

Bases: object

Result of a call to grantOnKey().

Parameters:

grant (Optional[Grant]) – The Grant object, if a grant was created. Default: No grant

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iam as iam

# grant: iam.Grant

grant_on_key_result = iam.GrantOnKeyResult(
    grant=grant
)

Attributes

grant

The Grant object, if a grant was created.

Default:

No grant