Skip to content

Commit c02471d

Browse files
authored
docs(ssm): doc for grantRead in IParameter is missing GetParameters (#27867)
The doc for `grantRead` in `IParameter` is missing `GetParameters`. The `grantRead` actually grants 'ssm:GetParameters'. ```ts return iam.Grant.addToPrincipal({ grantee, actions: [ 'ssm:DescribeParameters', 'ssm:GetParameters', 'ssm:GetParameter', 'ssm:GetParameterHistory', ], ``` https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-ssm/lib/parameter.ts#L181-L186 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 610d9ac commit c02471d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-cdk-lib/aws-ssm/lib/parameter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface IParameter extends IResource {
3333
readonly parameterType: string;
3434

3535
/**
36-
* Grants read (DescribeParameter, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
36+
* Grants read (DescribeParameter, GetParameters, GetParameter, GetParameterHistory) permissions on the SSM Parameter.
3737
*
3838
* @param grantee the role to be granted read-only access to the parameter.
3939
*/

0 commit comments

Comments
 (0)