{"_id":"@aereal/cirrocumulus","_rev":"1-d9ffb905ebeb56330ed70ebe3746cb8e","name":"@aereal/cirrocumulus","dist-tags":{"latest":"1.1.24"},"versions":{"1.1.24":{"name":"@aereal/cirrocumulus","version":"1.1.24","main":"src/index.js","types":"src/index.d.ts","repository":{"type":"git","url":"git://github.com/cohalz/cirrocumulus.git"},"license":"Apache-2.0","author":{"name":"cohalz","email":"cohalzweb@gmail.com"},"keywords":["aws","cdk","ecs"],"scripts":{"build":"tsc -p .","lint":"tslint -p .","test":"jest","clean":"rm -rf ./src/**/*.js ./src/**/*.d.ts","prepack":"run-s clean build","prepublish":"run-s clean build"},"devDependencies":{"@aws-cdk/assert":"1.24.0","@aws-cdk/core":"1.24.0","aws-cdk":"1.24.0","@types/jest":"25.1.2","@types/node":"12.12.21","jest":"25.1.0","npm-run-all":"4.1.5","prettier":"1.19.1","ts-jest":"25.2.0","tslint":"5.20.1","tslint-config-prettier":"1.18.0","tslint-plugin-prettier":"2.1.0","typescript":"3.7.5"},"dependencies":{"@aws-cdk/aws-cloudtrail":"1.24.0","@aws-cdk/aws-ecs":"1.24.0","@aws-cdk/aws-s3-deployment":"1.24.0","@aws-cdk/aws-ssm":"1.24.0"},"peerDependencies":{"@aws-cdk/aws-ec2":"^1.0.0","@aws-cdk/core":"^1.0.0"},"gitHead":"f73cd97a4527af40ba247ccf4937b85f900aedaa","description":"![Build Status](https://travis-ci.org/cohalz/cirrocumulus.png?branch=master)","bugs":{"url":"https://github.com/cohalz/cirrocumulus/issues"},"homepage":"https://github.com/cohalz/cirrocumulus#readme","_id":"@aereal/cirrocumulus@1.1.24","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-Q3AACtgQLjC6aZ2kk4Ps1Ig0qLOlnRR9OlriLbmBqEiJaxSFlfjCOv1zDPCMfCVyoBnc3abfDdHSyFL6ze5XUg==","shasum":"ae54ca02db633500e52eb20ce2406fee7111f7f2","tarball":"https://registry.npmjs.org/@aereal/cirrocumulus/-/cirrocumulus-1.1.24.tgz","fileCount":54,"unpackedSize":603696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeS9WpCRA9TVsSAnZWagAAY/AQAInxF+E0N4dcZZZSsTDs\n5iZX9SJ/e71+sD/gOVpFOK8SUN3nXIqNe5dTFOoVLGYZNVfV2ktV7rnFuhPO\nRrbf2zfyjP1O1KtCElGUZC2QgaVvjpfviWPWcyKFt5P3giFuPPFRGxbV5BLn\n0xkZub+xCj8OSF5VLuqJw8n7bGK/cRwi3VwOeLbU3JDSdehAgj+kunqIdTDT\nQQD0yfjHqvs9IzALbCyCkCzI/elkaOEHzB3GvlMfkjrp3xb2NVWR3SLtSzBJ\nr/TickODnHlThJWra2Ys/GmOeorxDn5/Z7rc5o7XjSb+vPw7VsGXpfBtzMX+\netvsdJEhQE4URrVzJoB189WSiPrxxfoJ1E5xU6d8Kw6aBF3HT2firJxgV6RD\ndnb6QdsjdIbvcbmyZvEQcZ6rknGmtGy9KAdPLTCSLxfiNKL4+tIPWuCJ4APE\nrnC/Hl6CBccGL2q6qcw8RJRhwya+Sb/3Xp7ftee9seiDJrgc9jkImmOmFw2T\nxupTZrZHq5xiUP55qkJ14hHrB3YUkzUqtn0A89s54QC2r56y/R37oFNI3+Va\nmAUtMCq2/2mTOI1s9Pbh81N9LYg6g2F2E7Vy00X6dZe/4lwOwSwFJAwdz2Y0\nbC7fPdo/CvjO1cbpnCljqZWUyzIBpCtffFDBUxwzYTS6XsulKBspqwH/rKBM\ncEv3\r\n=/Etp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGax7ZCvG6APDJQ/T+DeI4PHC/UMwSwrp1DUKeY7ePrSAiEA3ITL4i6x+lS9OEI6w/xEtVsLZmDmCwydV2+nSV0mxHc="}]},"maintainers":[{"name":"aereal","email":"aereal@aereal.org"}],"_npmUser":{"name":"aereal","email":"aereal@aereal.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cirrocumulus_1.1.24_1582028200999_0.024937137126913367"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-18T12:16:40.954Z","1.1.24":"2020-02-18T12:16:41.130Z","modified":"2022-04-04T11:48:16.372Z"},"maintainers":[{"name":"aereal","email":"aereal@aereal.org"}],"description":"![Build Status](https://travis-ci.org/cohalz/cirrocumulus.png?branch=master)","homepage":"https://github.com/cohalz/cirrocumulus#readme","keywords":["aws","cdk","ecs"],"repository":{"type":"git","url":"git://github.com/cohalz/cirrocumulus.git"},"author":{"name":"cohalz","email":"cohalzweb@gmail.com"},"bugs":{"url":"https://github.com/cohalz/cirrocumulus/issues"},"license":"Apache-2.0","readme":"# Cirrocumulus\n\n![Build Status](https://travis-ci.org/cohalz/cirrocumulus.png?branch=master)\n\n## Install\n`npm i -D @cohalz/cirrocumulus`\n\n## Libraries\n### Ec2Cluster\n- A ECS cluster configuration such as userdata\n### DeployFiles\n- Deploy local files to all instances of the ECS cluster\n\n## Synopsis\n\n```typescript\nimport { SynthUtils } from \"@aws-cdk/assert\"\nimport { InstanceClass, InstanceSize, Vpc } from \"@aws-cdk/aws-ec2\"\nimport { Role } from \"@aws-cdk/aws-iam\"\nimport { Stack } from \"@aws-cdk/core\"\nimport { Ec2Cluster, DeployFiles, ScalingPlan } from '@cohalz/cirrocumulus'\nimport * as path from \"path\"\n\nconst stack = new Stack()\nconst vpc = new Vpc(stack, \"VPC\")\n\nconst ec2Cluster = new Ec2Cluster(stack, \"Ec2Cluster\", {\n  instanceTypes: [new InstanceType(\"t3.medium\")],\n  vpc,\n})\n\nconst deployFiles = new DeployFiles(stack, \"DeployFiles\", {\n  source: path.join(process.cwd(), \"examples/\"),\n  targets: [\n    {\n      key: \"tag:ClusterName\",\n      values: [ec2Cluster.cluster.clusterName],\n    },\n  ],\n})\n\nconst instanceRole = ec2Cluster.autoScalingGroup.node.findChild(\n  \"InstanceRole\"\n) as Role\ninstanceRole.addToPolicy(deployFiles.deployPolicy())\n\nconst ecsService = new ecsPatterns.LoadBalancedEc2Service(this, \"Ec2Service\", {\n  cluster: ec2Cluster.cluster,\n  memoryLimitMiB: 512,\n  image: ecs.ContainerImage.fromRegistry(\"amazon/amazon-ecs-sample\"),\n})\n\nnew cdk.CfnOutput(this, 'LoadBalancerDNS', { value: ecsService.loadBalancer.loadBalancerDnsName })\n```\n\n## License\n\ncirrocumulus is distributed under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).\n\nSee [LICENSE](./LICENSE) and [NOTICE](./NOTICE) for more information.\n","readmeFilename":"README.md"}