Metadata-Version: 2.1
Name: aws-cdk.aws-ecs-patterns
Version: 0.31.0
Summary: CDK Constructs for AWS ECS
Home-page: https://github.com/awslabs/aws-cdk
Author: Amazon Web Services
License: UNKNOWN
Project-URL: Source, https://github.com/awslabs/aws-cdk.git
Description: # CDK Construct library for higher-level ECS Constructs
        
        This library provides higher-level ECS constructs which follow common architectural patterns. It contains:
        
        * Scheduled Tasks (cron jobs)
        
        ## Scheduled Tasks
        
        To define a task that runs periodically, instantiate an `ScheduledEc2Task`:
        
        
        ```ts
        // Instantiate an Amazon EC2 Task to run at a scheduled interval
        const ecsScheduledTask = new ScheduledEc2Task(this, 'ScheduledTask', {
          cluster,
          image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
          scheduleExpression: 'rate(1 minute)',
          environment: [{ name: 'TRIGGER', value: 'CloudWatch Events' }],
          memoryLimitMiB: 256
        });
        ```
        
        
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
