@jaypie/constructs 1.1.52 → 1.1.53
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/dist/cjs/index.cjs +1 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -3
package/dist/esm/index.js
CHANGED
|
@@ -20,7 +20,6 @@ import { Role, FederatedPrincipal, PolicyStatement, Effect, ServicePrincipal, Ma
|
|
|
20
20
|
import { LogGroup, RetentionDays, FilterPattern } from 'aws-cdk-lib/aws-logs';
|
|
21
21
|
import { CfnPermissionSet, CfnAssignment } from 'aws-cdk-lib/aws-sso';
|
|
22
22
|
import { CfnApplication } from 'aws-cdk-lib/aws-sam';
|
|
23
|
-
import { ConfigurationError as ConfigurationError$1 } from '@jaypie/errors';
|
|
24
23
|
import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
|
|
25
24
|
import * as origins from 'aws-cdk-lib/aws-cloudfront-origins';
|
|
26
25
|
|
|
@@ -1879,7 +1878,7 @@ class JaypieSsoSyncApplication extends Construct {
|
|
|
1879
1878
|
missingParams.push(`scimEndpointUrl or ${scimEndpointUrlEnvKey} environment variable`);
|
|
1880
1879
|
}
|
|
1881
1880
|
if (missingParams.length > 0) {
|
|
1882
|
-
throw new ConfigurationError
|
|
1881
|
+
throw new ConfigurationError(`JaypieSsoSyncApplication missing required configuration: ${missingParams.join(", ")}`);
|
|
1883
1882
|
}
|
|
1884
1883
|
// Create the SSO Sync Application
|
|
1885
1884
|
// Type assertion is safe because we validated all required values above
|