Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_ecs: ServiceConnectService TypeError #33610

Closed
ICZAD769 opened this issue Feb 27, 2025 · 2 comments
Closed

aws_ecs: ServiceConnectService TypeError #33610

ICZAD769 opened this issue Feb 27, 2025 · 2 comments
Labels
@aws-cdk/aws-ecs Related to Amazon Elastic Container documentation This is a problem with documentation.

Comments

@ICZAD769
Copy link

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

@ICZAD769 ICZAD769 added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Feb 27, 2025
@github-actions github-actions bot added the @aws-cdk/aws-ecs Related to Amazon Elastic Container label Feb 27, 2025
@ICZAD769
Copy link
Author

My mistake

Copy link

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 27, 2025
@pahud pahud removed the needs-triage This issue or PR still needs to be triaged. label Mar 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
@aws-cdk/aws-ecs Related to Amazon Elastic Container documentation This is a problem with documentation.
Projects
None yet
Development

No branches or pull requests

2 participants