Skip to content

feat(stepfunctions-tasks): add architecture support to EvaluateExpression#35408

Closed
claypack wants to merge 7 commits intoaws:mainfrom
claypack:fix-34974
Closed

feat(stepfunctions-tasks): add architecture support to EvaluateExpression#35408
claypack wants to merge 7 commits intoaws:mainfrom
claypack:fix-34974

Conversation

@claypack
Copy link
Copy Markdown
Contributor

@claypack claypack commented Sep 3, 2025

Issue # (if applicable)

Closes #34974

Reason for this change

Adding an optional architecture parameter to EvaluateExpressionProps which allows users to specify their desired architecture when using the EvaluateExpression construct. This enables support for ARM64 Lambda functions.

Description of changes

  • Add optional architecture parameter to EvaluateExpressionProps
  • Support ARM_64 and X86_64 Lambda architectures
  • Add comprehensive unit and integration tests
  • Update documentation with usage examples
  • Pass architecture parameter through to EvalNodejsSingletonFunction

Describe any new or updated permissions being added

No new or updated IAM permissions are required. The existing Lambda invoke permissions remain unchanged as the architecture parameter only affects the Lambda function configuration, not the required permissions.

Description of how you validated changes

  • Added unit tests covering both ARM_64 and X86_64 architectures
  • Created integration tests for ARM64, X86_64, and default (no value specified) architecture scenarios
  • Verified CloudFormation templates generate correct architecture specifications
  • Tested that existing functionality remains unchanged when architecture is not specified (defaults to X86_64)

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

…sion

- Add optional architecture parameter to EvaluateExpressionProps
- Support ARM_64 and X86_64 Lambda architectures
- Add comprehensive unit and integration tests
- Update documentation with usage examples

Closes aws#34974
@aws-cdk-automation aws-cdk-automation requested a review from a team September 3, 2025 21:45
@github-actions github-actions bot added beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2 labels Sep 3, 2025
- Updated snapshots for evaluate-expression tests (arm64, x86, default)
- Added Architectures property to Lambda functions
- Updated runtime mapping and CDK metadata
- Removes CDKMetadata resource and CDKMetadataAvailable condition
- Prevents destructive changes error in integration tests
- Preserves architecture feature functionality
@claypack claypack closed this Sep 10, 2025
@github-actions
Copy link
Copy Markdown
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(aws-stepfunctions-tasks/evaluate-expression): Support configuring the lambda architecture

1 participant