UNPKG

@aws-amplify/amplify-category-predictions

Version:

amplify-cli predictions plugin

24 lines 711 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const uuid = require('uuid'); function getAllDefaults(project) { const region = project.amplifyMeta.providers.awscloudformation.Region; const [shortId] = uuid.v4().split('-'); const authRoleName = { Ref: 'AuthRoleName', }; const unauthRoleName = { Ref: 'UnauthRoleName', }; const defaults = { resourceName: `${shortId}`, region, interpretPolicyName: `interpretPolicy${shortId}`, service: 'Comprehend', authRoleName, unauthRoleName, }; return defaults; } exports.default = getAllDefaults; //# sourceMappingURL=interpret-defaults.js.map