@gammarers/aws-ecs-fargate-task-termination-detection-event-rule
v2.0.4
Published
This an AWS ECS Fargate task termination detection Event Rule.
Downloads
239
Maintainers
Readme
AWS ECS Fargate task termination detection event rule
This an AWS ECS Fargate task termination detection Event Rule.
Install
TypeScript
install by npm
npm install @gammarers/aws-ecs-fargate-task-termination-detection-event-rule
install by yarn
yarn add @gammarers/aws-ecs-fargate-task-termination-detection-event-rule
install by pnpm
pnpm add @gammarers/aws-ecs-fargate-task-termination-detection-event-rule
install by bun
bun add @gammarers/aws-ecs-fargate-task-termination-detection-event-rule
Python
pip install gammarers.aws-ecs-fargate-task-termination-detection-event-rule
C# / .NET
dotnet add package Gammarers.CDK.AWS.EcsFargateTaskTerminationDetectionEventRule
Example
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,
});
License
This project is licensed under the Apache-2.0 License.