Skip to content

aereal/cdk-mackerel-container-agent

Repository files navigation

cdk-mackerel-container-agent

cdk-mackerel-container-agent provides helper function that adds mackerel-container-agent to your ECS/EKS task definition.

Synopsis

import { MackerelContainerAgentDefinition } from "@aereal/cdk-mackerel-container-agent";
import { Ec2TaskDefinition } from "@aws-cdk/aws-ecs";
import { Stack } from "@aws-cdk/cdk";

const stack = new Stack();
const taskDefinition = new Ec2TaskDefinition(stack, "TaskDefinition", {});

new MackerelContainerAgentDefinition(stack, 'mackerel-container-agent', {
  apiKey: 'keep-my-secret',
  taskDefinition,
})

// now `taskDef` configured well to run mackerel-container-agent

About

AWS-CDK library for mackerel-container-agent

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •