-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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_patterns: ScheduledFargateTask (and others) #27517
Comments
There were warnings added to call this out - are you seeing these warnings? #26737 |
No. I'm using ScheduledFargateTaskImageOptions with some parameters and the task_definition parameter. There is no warning, neither for cdk synth nor for cdk deploy. |
Well, the warning will pop up if you use the high level If the difference between the first two is clear, then that's as good as we can do here in terms of documentation |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Difference between the first two is clear. Just a request to update the documentation. |
Describe the issue
In aws_ecs_pattern.ScheduledFargateTask there are
Difference between the first is clear, but how is the task_definition parameter is related to them?
What is the meaning of "[disable-awslint:ref-via-interface] Default: - none"?
In aws_ecs_patterns.ScheduledFargateTaskDefinitionOptions:
"Image or taskDefinition must be specified, but not both. [disable-awslint:ref-via-interface]" is stated, what makes no sense here.
In aws_ecs_patterns.ScheduledFargateTaskImageOptions:
The parameter
"task_definition (Optional[FargateTaskDefinition]) – The task definition to use for tasks in the service. TaskDefinition or TaskImageOptions must be specified, but not both. [disable-awslint:ref-via-interface] Default: - none"
is not clear to me and how it make sense here.
Links
https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_ecs_patterns/ScheduledFargateTask.html
https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_ecs_patterns/ScheduledFargateTaskImageOptions.html
https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_ecs_patterns/ScheduledFargateTaskDefinitionOptions.html
The text was updated successfully, but these errors were encountered: