diff --git a/packages/@aws-cdk/cfnspec/spec-source/specification/000_cfn/906_TimeStream_JsonTypes_patch.json b/packages/@aws-cdk/cfnspec/spec-source/specification/000_cfn/906_TimeStream_JsonTypes_patch.json new file mode 100644 index 0000000000000..01c5d038c050c --- /dev/null +++ b/packages/@aws-cdk/cfnspec/spec-source/specification/000_cfn/906_TimeStream_JsonTypes_patch.json @@ -0,0 +1,29 @@ +{ + "ResourceTypes": { + "AWS::Timestream::Table": { + "patch": { + "description": "These types were once typed as Json, and adding types now is a breaking change. Keep them as Json forever.", + "operations": [ + { + "op": "remove", + "path": "/Properties/MagneticStoreWriteProperties/Type" + }, + { + "op": "add", + "path": "/Properties/MagneticStoreWriteProperties/PrimitiveType", + "value": "Json" + }, + { + "op": "remove", + "path": "/Properties/RetentionProperties/Type" + }, + { + "op": "add", + "path": "/Properties/RetentionProperties/PrimitiveType", + "value": "Json" + } + ] + } + } + } +}