@layertwo/cdk-constructs 0.0.11 → 0.0.12
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/.jsii +2 -2
- package/lib/acm.js +1 -1
- package/lib/dynamodb.js +1 -1
- package/lib/iam.js +1 -1
- package/lib/lambda.js +1 -1
- package/lib/s3.js +1 -1
- package/lib/uv-bundling.js +1 -1
- package/package.json +1 -1
package/.jsii
CHANGED
|
@@ -11080,6 +11080,6 @@
|
|
|
11080
11080
|
"symbolId": "src/lambda:UvCodeProps"
|
|
11081
11081
|
}
|
|
11082
11082
|
},
|
|
11083
|
-
"version": "0.0.
|
|
11084
|
-
"fingerprint": "
|
|
11083
|
+
"version": "0.0.12",
|
|
11084
|
+
"fingerprint": "38RhmwejdsRB+ChYa3oqhmMnMz0FlBXIGzuEfSFSXXc="
|
|
11085
11085
|
}
|
package/lib/acm.js
CHANGED
|
@@ -8,7 +8,7 @@ const aws_certificatemanager_1 = require("aws-cdk-lib/aws-certificatemanager");
|
|
|
8
8
|
* Pass a `hostedZone` instead of a `validation` prop.
|
|
9
9
|
*/
|
|
10
10
|
class DnsValidatedCertificate extends aws_certificatemanager_1.Certificate {
|
|
11
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.DnsValidatedCertificate", version: "0.0.
|
|
11
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.DnsValidatedCertificate", version: "0.0.12" };
|
|
12
12
|
constructor(scope, id, props) {
|
|
13
13
|
super(scope, id, {
|
|
14
14
|
...props,
|
package/lib/dynamodb.js
CHANGED
|
@@ -9,7 +9,7 @@ const aws_dynamodb_1 = require("aws-cdk-lib/aws-dynamodb");
|
|
|
9
9
|
* - Point-in-time recovery always enabled
|
|
10
10
|
*/
|
|
11
11
|
class SecureTable extends aws_dynamodb_1.Table {
|
|
12
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.SecureTable", version: "0.0.
|
|
12
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.SecureTable", version: "0.0.12" };
|
|
13
13
|
constructor(scope, id, props) {
|
|
14
14
|
super(scope, id, {
|
|
15
15
|
...props,
|
package/lib/iam.js
CHANGED
|
@@ -6,7 +6,7 @@ const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
|
6
6
|
const aws_iam_1 = require("aws-cdk-lib/aws-iam");
|
|
7
7
|
// Reference: https://docs.github.com/en/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-aws
|
|
8
8
|
class GitHubOidcRole extends aws_iam_1.Role {
|
|
9
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.GitHubOidcRole", version: "0.0.
|
|
9
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.GitHubOidcRole", version: "0.0.12" };
|
|
10
10
|
constructor(scope, id, props) {
|
|
11
11
|
const stack = aws_cdk_lib_1.Stack.of(scope);
|
|
12
12
|
// Build the subject claim for the trust policy
|
package/lib/lambda.js
CHANGED
|
@@ -17,7 +17,7 @@ function uvCode(props) {
|
|
|
17
17
|
}
|
|
18
18
|
/** A Lambda Function that packages a uv project built in Docker. */
|
|
19
19
|
class PythonFunction extends aws_lambda_1.Function {
|
|
20
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.PythonFunction", version: "0.0.
|
|
20
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.PythonFunction", version: "0.0.12" };
|
|
21
21
|
constructor(scope, id, props) {
|
|
22
22
|
const { rootDir, index = "index.py", handler = "handler", runtime = uv_bundling_1.DEFAULT_RUNTIME, hashExcludes, bundling, ...rest } = props;
|
|
23
23
|
if (runtime.family !== aws_lambda_1.RuntimeFamily.PYTHON) {
|
package/lib/s3.js
CHANGED
|
@@ -11,7 +11,7 @@ const aws_s3_1 = require("aws-cdk-lib/aws-s3");
|
|
|
11
11
|
* - Versioning enabled by default (opt out with `versioned: false`)
|
|
12
12
|
*/
|
|
13
13
|
class SecureBucket extends aws_s3_1.Bucket {
|
|
14
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.SecureBucket", version: "0.0.
|
|
14
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.SecureBucket", version: "0.0.12" };
|
|
15
15
|
constructor(scope, id, props) {
|
|
16
16
|
super(scope, id, {
|
|
17
17
|
versioned: true,
|
package/lib/uv-bundling.js
CHANGED
|
@@ -60,7 +60,7 @@ exports.DEFAULT_HASH_EXCLUDES = [
|
|
|
60
60
|
];
|
|
61
61
|
/** Bundling options that install a uv project into a Lambda asset. */
|
|
62
62
|
class UvBundling {
|
|
63
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.UvBundling", version: "0.0.
|
|
63
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@layertwo/cdk-constructs.UvBundling", version: "0.0.12" };
|
|
64
64
|
/** Python runtime used for the bundle. */
|
|
65
65
|
runtime;
|
|
66
66
|
/** Python version derived from the runtime. */
|