semvec/pypi-packages huggingface dataset:
aws-ec2-instance-running-scheduler 0.3.5
AWS EC2 Instance Running Scheduler
License: Apache-2.0
Requires Python: ~=3.7

# AWS EC2 Instance Running Scheduler

This is an AWS CDK Construct to make EC2 instance running schedule (only running while working hours(start/stop)).

## Fixed

* EC2 Instance

## Resources

This construct creating resource list.

* EventBridge Scheduler execution role
* EventBridge Scheduler

## Install

### TypeScript

```shell
npm install aws-ec2-instance-running-scheduler
```

or

```shell
yarn add aws-ec2-instance-running-scheduler
```

### Python

```shell
pip install aws-ec2-instance-running-scheduler
```

## Example

```shell
npm install aws-ec2-instance-running-scheduler
```

```python
import { Ec2InstanceRunningScheduler } from 'aws-ec2-instance-running-scheduler';

new Ec2InstanceRunningScheduler(stack, 'Ec2InstanceRunningScheduler', {
  targets: [
    {
      instances: ['i-0af01c0123456789a', 'i-0af01c0123456789b'],
      startSchedule: {
        timezone: 'Asia/Tokyo',
        minute: '55',
        hour: '8',
        week: 'MON-FRI',
      },
      stopSchedule: {
        timezone: 'Asia/Tokyo',
        minute: '5',
        hour: '19',
        week: 'MON-FRI',
      },
    },
  ],
});
```

## License

This project is licensed under the Apache-2.0 License.
aws-ec2-auto-scaling-instance-running-scheduler 0.2.5
AWS EC2 AutoScaling Instance Running Scheduler
License: Apache-2.0
Requires Python: ~=3.7

# AWS EC2 AutoScaling Instance Running Scheduler

This is an AWS CDK Construct to make EC2 AutoScaling instance running schedule (only running while working hours(start/stop)).
But only capacity min value is 0 for the AutoScalingGroup.

## Resources

This construct creating resource list.

* EventBridge Scheduler execution role
* EventBridge Scheduler

## Install

### TypeScript

```shell
npm install aws-ec2-auto-scaling-instance-running-scheduler
```

or

```shell
yarn add aws-ec2-auto-scaling-instance-running-scheduler
```

### Python

```shell
pip install aws-ec2-auto-scaling-instance-running-scheduler
```

## Example

```shell
npm install aws-ec2-auto-scaling-instance-running-scheduler
```

```python
import { Ec2AutoScalingInstanceRunningScheduler } from 'aws-ec2-auto-scaling-instance-running-scheduler';

new Ec2AutoScalingInstanceRunningScheduler(stack, 'Ec2AutoScalingInstanceRunningScheduler', {
  targets: [
    {
      groupName: 'example-scaling-group',
      runningDesiredCapacity: 2,
      startSchedule: {
        timezone: 'UTC',
      },
      stopSchedule: {
        timezone: 'UTC',
      },
    },
  ],
});
```

## License

This project is licensed under the Apache-2.0 License.
aws-rds-database-running-scheduler 0.3.5
AWS RDS Database Running Scheduler
License: Apache-2.0
Requires Python: ~=3.7

# AWS RDS Database Running Scheduler

This is an AWS CDK Construct to make RDS Database running schedule (only running while working hours(start/stop)).

## Fixed

* RDS Aurora Cluster
* RDS Instance

## Resources

This construct creating resource list.

* EventBridge Scheduler execution role
* EventBridge Scheduler

## Install

### TypeScript

```shell
npm install aws-rds-database-running-scheduler
```

or

```shell
yarn add aws-rds-database-running-scheduler
```

### Python

```shell
pip install aws-rds-database-running-scheduler
```

## Example

```shell
npm install aws-rds-database-running-scheduler
```

```python
import { RdsDatabaseRunningScheduler, Type } from 'aws-rds-database-running-scheduler';

new RdsDatabaseRunningScheduler(stack, 'RdsDatabaseRunningScheduler', {
  type: Type.CLUSTER, // TYPE.CLUSTER or TYPE.INSTANCE
  identifiers: {
    ['db-cluster-1a']: { // cluster identirier
      startSchedule: {
        timezone: 'Asia/Tokyo',
        minute: '55',
        hour: '8',
        week: 'MON-FRI',
      },
      stopSchedule: {
        timezone: 'Asia/Tokyo',
        minute: '5',
        hour: '19',
        week: 'MON-FRI',
      },
    },
  },
})
```

## License

This project is licensed under the Apache-2.0 License.