@aws-amplify/cli-internal
Version:
Amplify CLI
18 lines • 881 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AuthUserPoolGroupsRollbackRefactorer = void 0;
const rollback_category_refactorer_1 = require("../workflow/rollback-category-refactorer");
const auth_user_pool_groups_forward_1 = require("./auth-user-pool-groups-forward");
class AuthUserPoolGroupsRollbackRefactorer extends rollback_category_refactorer_1.RollbackCategoryRefactorer {
resourceTypes() {
return auth_user_pool_groups_forward_1.RESOURCE_TYPES;
}
async fetchSourceStackId() {
return this.findNestedStack(this.gen2Branch, 'auth');
}
async fetchDestStackId() {
return this.findNestedStack(this.gen1Env, `auth${this.resource.resourceName}`);
}
}
exports.AuthUserPoolGroupsRollbackRefactorer = AuthUserPoolGroupsRollbackRefactorer;
//# sourceMappingURL=auth-user-pool-groups-rollback.js.map