@aws-amplify/plugin-types
Advanced tools
Comparing version 0.0.0-test-20241023205154 to 0.0.0-test-20241023235026
@@ -46,2 +46,6 @@ import { IRole } from 'aws-cdk-lib/aws-iam'; | ||
/** | ||
* Identity pool Id | ||
*/ | ||
identityPoolId: string; | ||
/** | ||
* L1 Cfn Resources, for when dipping down a level of abstraction is desirable. | ||
@@ -66,3 +70,39 @@ */ | ||
}; | ||
/** | ||
* Reference auth resources | ||
*/ | ||
export type ReferenceAuthResources = { | ||
/** | ||
* The referenced UserPool L2 Resource. | ||
*/ | ||
userPool: IUserPool; | ||
/** | ||
* The referenced UserPoolClient L2 Resource. | ||
*/ | ||
userPoolClient: IUserPoolClient; | ||
/** | ||
* The referenced auth role. | ||
*/ | ||
authenticatedUserIamRole: IRole; | ||
/** | ||
* The referenced unauth role. | ||
*/ | ||
unauthenticatedUserIamRole: IRole; | ||
/** | ||
* Identity pool Id | ||
*/ | ||
identityPoolId: string; | ||
/** | ||
* A map of existing group names and their associated group role. | ||
*/ | ||
groups: { | ||
[groupName: string]: { | ||
/** | ||
* The generated Role for this group | ||
*/ | ||
role: IRole; | ||
}; | ||
}; | ||
}; | ||
export type AuthRoleName = keyof Pick<AuthResources, 'authenticatedUserIamRole' | 'unauthenticatedUserIamRole'>; | ||
//# sourceMappingURL=auth_resources.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aF9yZXNvdXJjZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYXV0aF9yZXNvdXJjZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElSb2xlIH0gZnJvbSAnYXdzLWNkay1saWIvYXdzLWlhbSc7XG5pbXBvcnQge1xuICBDZm5JZGVudGl0eVBvb2wsXG4gIENmbklkZW50aXR5UG9v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qL1xuICB1bmF1dGhlbnRpY2F0ZWRVc2VySWFtUm9sZTogSVJvbGU7XG4gIC8qKlxuICAgKiBJZGVudGl0eSBwb29sIElkXG4gICAqL1xuICBpZGVudGl0eVBvb2xJZDogc3RyaW5nO1xuICAvKipcbiAgICogQSBtYXAgb2YgZXhpc3RpbmcgZ3JvdXAgbmFtZXMgYW5kIHRoZWlyIGFzc29jaWF0ZWQgZ3JvdXAgcm9sZS5cbiAgICovXG4gIGdyb3Vwczoge1xuICAgIFtncm91cE5hbWU6IHN0cmluZ106IHtcbiAgICAgIC8qKlxuICAgICAgICogVGhlIGdlbmVyYXRlZCBSb2xlIGZvciB0aGlzIGdyb3VwXG4gICAgICAgKi9cbiAgICAgIHJvbGU6IElSb2xlO1xuICAgIH07XG4gIH07XG59O1xuXG5leHBvcnQgdHlwZSBBdXRoUm9sZU5hbWUgPSBrZXlvZiBQaWNrPFxuICBBdXRoUmVzb3VyY2VzLFxuICAnYXV0aGVudGljYXRlZFVzZXJJYW1Sb2xlJyB8ICd1bmF1dGhlbnRpY2F0ZWRVc2VySWFtUm9sZSdcbj47XG4iXX0= |
{ | ||
"name": "@aws-amplify/plugin-types", | ||
"version": "0.0.0-test-20241023205154", | ||
"version": "0.0.0-test-20241023235026", | ||
"types": "lib/index.d.ts", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49528
503