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",
      display_name: "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!