Section

The section method provides a general way to add a section to the CloudFormation template. This is useful in case there’s a future CloudFormation section that the lono DSL does not yet support.

Example Snippets

section("Resources",
  "SnsTopic" => {
    Type: "AWS::SNS::Topic",
    Properties: {
      Description: "my desc",
      DisplayName: "my name",
    }
  }
)

Example Outputs

Resources:
  SnsTopic:
    Type: AWS::SNS::Topic
    Properties:
      DisplayName: my name

Back to DSL List Docs.

Pro tip: Use the <- and -> arrow keys to move back and forward.

Edit this page

See a typo or an error? You can improve this page. This website is available on GitHub and contributions are encouraged and welcomed. We love pull requests from you!