← 返回卡片

原书出处

Write Powerful Rust Macros

09 Writing an infrastructure DSL 从解析进入部署

核验版本的摘录快照 · 导入于 2026-11-25T09:20:41.656Z

them—hence the need for an asynchronous function.

When the clients are ready, we create the lambda, saving the result in output. Why? Because we will be creating a bucket next, and if it has an event, we need to know the Amazon Resource Name (ARN; a unique identifier) of the lambda so we know where to send the event. We also need to add so-called AWS Identity Access Management (IAM) permissions to tell the lambda that our bucket is allowed to send events.

Errors inside the function are changed into

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Write Powerful Rust Macros/_epub-src/OEBPS/Text/chapter-9.xhtml#p128

EPUB SHA-256:68c7ed23324b44144895c3bb55f55731454da237867b66ec66ca6404f5b93661