Construct ScheduledFargateTask lacks access to IGrantable #3371
Labels
@aws-cdk/aws-ecs-patterns
Related to ecs-patterns library
needs-triage
This issue or PR still needs to be triaged.
I'm submitting a ...
What is the current behavior?
You should be able to grant IAM principal (
ScheduledFargateTask
) to read/write/etc on a DynamoDB table. Suggested fix is to maketaskDefinition
apublic readonly
property on the construct: https://github.com/aws/aws-cdk/blob/v1.1.0/packages/@aws-cdk/aws-ecs-patterns/lib/fargate/scheduled-fargate-task.ts#L43What is the motivation / use case for changing the behavior or adding this feature?
Run containers on ECS Fargate which can interact with the AWS API using IAM policies.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: