Skip to content

Commit 0c47d8c

Browse files
author
github-actions
committed
chore(release): v0.0.33
1 parent 28359fa commit 0c47d8c

File tree

6 files changed

+10
-3
lines changed

6 files changed

+10
-3
lines changed

cargolambdacdk/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,11 @@ Define a `RustExtension` that get's deployed as a layer to use it with any other
7373

7474
```go
7575
import { RustExtension, RustFunction } from 'cargo-lambda-cdk';
76+
import { Architecture } from 'aws-cdk-lib/aws-lambda';
7677

7778
const extensionLayer = new RustExtension(this, 'Rust extension', {
7879
manifestPath: 'path/to/package/directory/with/Cargo.toml',
80+
architecture: Architecture.ARM_64,
7981
});
8082

8183
new RustFunction(this, 'Rust function', {

cargolambdacdk/RustExtensionProps.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package cargolambdacdk
22

33
import (
44
"github.com/aws/aws-cdk-go/awscdk/v2"
5+
"github.com/aws/aws-cdk-go/awscdk/v2/awslambda"
56
)
67

78
// Properties for a RustExtension.
@@ -22,6 +23,10 @@ type RustExtensionProps struct {
2223
// Default: RemovalPolicy.DESTROY
2324
//
2425
RemovalPolicy awscdk.RemovalPolicy `field:"optional" json:"removalPolicy" yaml:"removalPolicy"`
26+
// The system architecture of the lambda extension.
27+
// Default: - Architecture.X86_64
28+
//
29+
Architecture awslambda.Architecture `field:"optional" json:"architecture" yaml:"architecture"`
2530
// The name of the binary to build, in case that's different than the package's name.
2631
BinaryName *string `field:"optional" json:"binaryName" yaml:"binaryName"`
2732
// Bundling options.
-1.79 MB
Binary file not shown.
1.79 MB
Binary file not shown.

cargolambdacdk/jsii/jsii.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
constructs "github.com/aws/constructs-go/constructs/v10/jsii"
1414
)
1515

16-
//go:embed cargo-lambda-cdk-0.0.32.tgz
16+
//go:embed cargo-lambda-cdk-0.0.33.tgz
1717
var tarball []byte
1818

1919
// Initialize loads the necessary packages in the @jsii/kernel to support the enclosing module.
@@ -24,5 +24,5 @@ func Initialize() {
2424
constructs.Initialize()
2525

2626
// Load this library into the kernel
27-
_jsii_.Load("cargo-lambda-cdk", "0.0.32", tarball)
27+
_jsii_.Load("cargo-lambda-cdk", "0.0.33", tarball)
2828
}

cargolambdacdk/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.32
1+
0.0.33

0 commit comments

Comments
 (0)