我觉得我在这里遗漏了一些非常简单的东西--或者说这是完全不可能的。=> {}
如何才能使newValue必须是一个对象,该对象的键名必须存在于ITest中,谁的值必须是ITestkey中定义的类型。类似于:{ [key in keyof IEditorStore ]: any },但唯一接受的</em
我遇到了CFN模板的问题。我在参数中定义了一个CIDR块,并想将其用作安全组资源中的CidrIp。然而,当我运行我的堆栈时,我得到了Value of property CidrIp must be of type String错误,堆栈正在回滚。
这是我的最小失败模板。有趣的是,AWSs示例tamplate LAMP_Multi_AZ做的是完全相同的事情。
Failure Reason: [Instance creation failed with reason: Value of property SecurityGroupIds must be of type List我使用的代码是: "Fn::ImportValue": {}, {
"Ref": "SecurityGroups"