You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to python api reference for aws_ecs.ServiceConnectService, parameters:
idle_timeout and per_request_timeout require data type of aws_cdk.Duration, but when I pass the Duration cdk execution fail on error:
TypeError: type of argument amount must be one of (int, float); got aws_cdk.Duration instead
Please see through this what is actually the requested data type vs. what is inside of the documentation (I checked Python only)
Describe the issue
According to python api reference for aws_ecs.ServiceConnectService, parameters:
idle_timeout and per_request_timeout require data type of aws_cdk.Duration, but when I pass the Duration cdk execution fail on error:
TypeError: type of argument amount must be one of (int, float); got aws_cdk.Duration instead
Please see through this what is actually the requested data type vs. what is inside of the documentation (I checked Python only)
Links
https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_ecs/ServiceConnectService.html
The text was updated successfully, but these errors were encountered: