@jaypie/constructs 1.2.56 → 1.2.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/cjs/index.cjs +9 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +9 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -986,7 +986,12 @@ class JaypieEnvSecret extends Construct {
|
|
|
986
986
|
this._envKey = envKey;
|
|
987
987
|
let exportName;
|
|
988
988
|
if (!exportParam) {
|
|
989
|
-
|
|
989
|
+
// When shorthand detection is active, use the full construct id (which
|
|
990
|
+
// includes the "EnvSecret_" prefix) so the export name matches what was
|
|
991
|
+
// produced by earlier versions of this construct. Using the raw envKey
|
|
992
|
+
// here produces a shorter name that breaks existing cross-stack imports.
|
|
993
|
+
const exportSource = treatAsEnvKey ? id : envKey || id;
|
|
994
|
+
exportName = exportEnvName$1(exportSource, process.env, consumer);
|
|
990
995
|
}
|
|
991
996
|
else {
|
|
992
997
|
exportName = cleanName$1(exportParam);
|
|
@@ -4163,6 +4168,9 @@ class JaypieSsoPermissions extends Construct {
|
|
|
4163
4168
|
{
|
|
4164
4169
|
Effect: "Allow",
|
|
4165
4170
|
Action: [
|
|
4171
|
+
"bedrock-agent:*",
|
|
4172
|
+
"bedrock-agentcore:*",
|
|
4173
|
+
"bedrock:*",
|
|
4166
4174
|
"budgets:*",
|
|
4167
4175
|
"ce:*",
|
|
4168
4176
|
"cloudformation:*",
|