Skip to main content

TKMSPutKeyPolicyRequest

Class in AWS.KMS

PutKeyPolicy request class.

Ancestors

Properties

BypassPolicyLockoutSafetyCheck

property BypassPolicyLockoutSafetyCheck: TOptional<Boolean>

KeyId

property KeyId: string

Policy

property Policy: string

PolicyName

property PolicyName: string

Constructors

Create

constructor Create(const AKeyId, APolicy: string; const APolicyName: string = 'default');

Constructor for TKMSPutKeyPolicyRequest.

Parameters

NameDescription
AKeyIdSpecify the Amazon Resource Name (ARN) or ID of a KMS key.
APolicySpecify the key policy to attach to the KMS key.
APolicyNameSpecify a name for the key policy. The only valid value is.