Skip to content

Commit

Permalink
fix(timestream): magneticStoreWriteProperties and retentionProperties…
Browse files Browse the repository at this point in the history
… not working as Json (#23425)

Fixes #23404 


----

### All Submissions:

* [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md)

### Adding new Construct Runtime Dependencies:

* [ ] This PR adds new construct runtime dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-construct-runtime-dependencies)

### New Features

* [ ] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)?
	* [ ] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)?

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
madeline-k authored Dec 21, 2022
1 parent 8d359ae commit b705224
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
}
}
}

0 comments on commit b705224

Please sign in to comment.