Set up "weighted_routing_policy" parameter

Hi.
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 “main.py”, line 87, in
image_service_state=“blue”)
File “/home/xxxxx/lib/python3.7/site-packages/jsii/_runtime.py”, line 69, in call
inst = super().call(*args, **kwargs)
File “main.py”, line 63, in init
weighted_routing_policy=[100]
File “/home/xxxxx/lib/python3.7/site-packages/jsii/_runtime.py”, 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:
weighted_routing_policy=[Route53RecordWeightedRoutingPolicy(weight=100)]

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

Thanks a lot for your support!)