Open unext-wendong opened 1 week ago
Couple of options for you to try. If everything under Services is write only "/properties/Services/*"
or if its just the id "/properties/Services/*/Id"
With *
, I got error:
E ValueError: invalid literal for int() with base 10: '*'
Seems to be an invalid syntax.
I'm using the cloudformation-cli-python-plugin==2.1.9
.
@ammokhov I have that right don't I? Is this an issue with the python plugin?
Kindly let me know if this is the wrong place to ask this question.
Given the following sample schema, property
Services
is an array of non-fixed length.How could I express in the schema that the
Id
property in theService
data is write-only? I mean what json pointers should I put inwriteOnlyProperties
.If the
Services
array is of fixed length, I could list all/properties/Services/0/Id
,/properties/Services/1/Id
, ..., there, but it's of non-fixed length.If it's not possible, is there any other way to express this?
Thanks,