File tree 1 file changed +6
-4
lines changed
packages/@aws-cdk/aws-cognito/lib
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -703,6 +703,12 @@ export interface IUserPool extends IResource {
703
703
* Register an identity provider with this user pool.
704
704
*/
705
705
registerIdentityProvider ( provider : IUserPoolIdentityProvider ) : void ;
706
+
707
+ /**
708
+ * Adds an IAM policy statement associated with this user pool to an
709
+ * IAM principal's policy.
710
+ */
711
+ grant ( grantee : IGrantable , ...actions : string [ ] ) : Grant ;
706
712
}
707
713
708
714
abstract class UserPoolBase extends Resource implements IUserPool {
@@ -735,10 +741,6 @@ abstract class UserPoolBase extends Resource implements IUserPool {
735
741
this . identityProviders . push ( provider ) ;
736
742
}
737
743
738
- /**
739
- * Adds an IAM policy statement associated with this user pool to an
740
- * IAM principal's policy.
741
- */
742
744
public grant ( grantee : IGrantable , ...actions : string [ ] ) : Grant {
743
745
return Grant . addToPrincipal ( {
744
746
grantee,
You can’t perform that action at this time.
0 commit comments