1.0.1 • Published 8 years ago

cfn-docs v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

cfn-docs

Find documentation for AWS CloudFormation.

From the CLI:

% cfn-docs AWS::EC2::SecurityGroup
{
  "name": "AWS::EC2::SecurityGroup",
  "excerpt": "Creates an Amazon EC2 security group. To create a VPC security group, use the VpcId property.",
  "link": "http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-security-group.html",
  "syntax": {
    "Type": "AWS::EC2::SecurityGroup",
    "Properties": {
      "GroupDescription": "String",
      "SecurityGroupEgress": [ "Security Group Rule", "..." ],
      "SecurityGroupIngress": [ "Security Group Rule", "..." ],
      "Tags":  [ "Resource Tag", "..." ],
      "VpcId": "String"
    }
  }
}

From Javascript land:

const CFNDocs = require('./index');
CFNDocs.find('AWS::EC2::SecurityGroup');