Set up "weighted_routing_policy" parameter

Could you explain how to set up parameter “weighted_routing_policy” for Route53Record.
I use Python for developing scripts.

I`ve tried to set up it like this -> weighted_routing_policy=[100], but got issue after running command cdktf synth.

Traceback (most recent call last):
File “”, line 87, in
File “/home/xxxxx/lib/python3.7/site-packages/jsii/”, line 69, in call
inst = super().call(*args, **kwargs)
File “”, line 63, in init
File “/home/xxxxx/lib/python3.7/site-packages/jsii/”, line 69, in call

I could not find any examples how to make it.

weighted_routing_policy=[weight=100] may work, otherwise you could try being more specific about the data type:

it works for me -> weighted_routing_policy=[Route53RecordWeightedRoutingPolicy(weight=100)]

Thanks a lot for your support!)