我有一个python变量,我想将其传递给json。
EndpointCache = EndpointAddress + ':' + str(EndpointPort)
SsmCommand = ssm_client.send_command(DocumentName='AWS-RunShellScript', InstanceIds=['i-xxxxxx'], Parameters={'commands':['mkdir /tmp/"EndpointCache"', 'mkdir /tmp/ali']})