Skip to content

Instantly share code, notes, and snippets.

View chekkan's full-sized avatar

Harish Babu chekkan

View GitHub Profile
@startuml
' uncomment the line below if you're using computer with a retina display
' skinparam dpi 300
!define Table(name,desc) class name as "desc" << (T,#FFAAAA) >>
' we use bold for primary key
' green color for unique
' and underscore for not_null
!define primary_key(x) <b>x</b>
!define unique(x) <color:green>x</color>
!define not_null(x) <u>x</u>
@chekkan
chekkan / ecs-cluster.json
Last active July 21, 2017 17:54
AWS ECS CloudFormation Template for Cluster Resource
"EcsCluster": {
"Type": "AWS::ECS::Cluster"
}
@chekkan
chekkan / ecs-security-group.json
Created July 21, 2017 16:40
AWS ECS Security Group CloudFormation Template
"EcsSecurityGroup": {
"Type": "AWS::EC2::SecurityGroup",
"Properties": {
"GroupDescription": "ECS Security Group",
"VpcId": {
"Ref": "VpcId"
},
"SecurityGroupIngress": {
"IpProtocol": "tcp",
"FromPort": "22",