This an AWS ECS Fargate task termination detection Event Rule.
npm install @gammarers/aws-ecs-fargate-task-termination-detection-event-rule
yarn add @gammarers/aws-ecs-fargate-task-termination-detection-event-rule
pnpm add @gammarers/aws-ecs-fargate-task-termination-detection-event-rule
bun add @gammarers/aws-ecs-fargate-task-termination-detection-event-rule
pip install gammarers.aws-ecs-fargate-task-termination-detection-event-rule
dotnet add package Gammarers.CDK.AWS.EcsFargateTaskTerminationDetectionEventRule
import { EcsFargateTaskTerminationDetectionEventRule } from '@gammarers/aws-ecs-fargate-task-termination-detection-event-rule';
const clusterArn = 'arn:aws:ecs:us-east-1:123456789012:cluster/example-app-cluster';
const rule = new EcsFargateTaskTerminationDetectionEventRule(stack, 'EcsFargateTaskTerminationDetectionEventRule', {
ruleName: 'example-event-rule',
description: 'example event rule.',
clusterArn,
});
This project is licensed under the Apache-2.0 License.