diff --git a/API.md b/API.md index a21a06a..f4a28ca 100644 --- a/API.md +++ b/API.md @@ -897,7 +897,7 @@ a string representing an absolute path to the directory containing your policies ##### `grant` ```typescript -public grant(grantee: IGrantable, actions: string): Grant +public grant(grantee: IGrantable, actions: ...string[]): Grant ``` Adds an IAM policy statement associated with this policy store to an IAM principal's policy. @@ -910,7 +910,7 @@ Adds an IAM policy statement associated with this policy store to an IAM princip ###### `actions`Required -- *Type:* string +- *Type:* ...string[] --- @@ -2982,7 +2982,7 @@ This is one of the following values: Static or TemplateLinked. ##### `grant` ```typescript -public grant(grantee: IGrantable, actions: string): Grant +public grant(grantee: IGrantable, actions: ...string[]): Grant ``` Adds an IAM policy statement associated with this policy store to an IAM principal's policy. @@ -2997,7 +2997,7 @@ The principal (no-op if undefined). ###### `actions`Required -- *Type:* string +- *Type:* ...string[] The set of actions to allow (i.e. "verifiedpermissions:IsAuthorized", "verifiedpermissions:ListPolicies", ...).