我可以定义根据其他映射结果构建的映射吗?例如。
template.add_mapping(
"MyMapping",
{
"key1":FindInMap("AnotherMapInTemplate", "someKey"),
"key2":FindInMap("AnotherAnotherMapInTemplate", "anotherKey")
}
)
我需要这样做,因为我从其他模板导入了一些映射,然后需要组合这些映射以在根模板中使用。这可能吗?