old Inkdrop Documentation
  • Getting Started
    • 🚀Getting Started
  • FAQ
    • 📃FAQ
  • Core Concepts
    • 🧱Resource
    • 🔗Connector
    • 📦Wrapper
    • 📋Sidebar
    • 👩‍💻Code and Deployment
    • ⚙️Overriding Properties with the Codebox
  • Ressources
    • S3 Bucket
    • Lambda Functions
    • IAM Roles
    • API Endpoint
    • Fargate
    • Dynamo DB
    • RDS
    • SQS
    • SNS
  • Custom Code
    • Validating your cloud architecture
Powered by GitBook
On this page
  • Limitations
  • Configuration
  1. Core Concepts

Wrapper

PreviousConnectorNextSidebar

Last updated 1 year ago

Wrappers are a special type of resource that encompass other resources in the architecture diagram. They are used to avoid having to create many repetitive connectors for resources that need to share common properties or permissions.

Wrappers are visually distinguished by their dashed borders, setting them apart from standard resources which have solid borders.

Some resource types are predefined as wrappers based on their common usage cases. For example:

  • AWS Regions

  • Security Groups

  • IAM Roles

Any resources within a wrapper will inherit the properties and permissions of that wrapper. For example, all resources within an IAM role wrapper will be assigned the according permissions.

A wrapper will automatically expand to surround any resources partially inside it.

Resources can belong to multiple wrappers at once. For example, an EC2 instance could be within both a region wrapper and security group wrapper simultaneously.

Limitations

There are no strict limitations on combining wrappers and which resources can be wrapped together. Some inherited properties may have no effect on particular resource types enclosed.

Configuration

Wrappers have their own set of properties and configuration options just like standard resources. These are set in the sidebar.

Some resource types are predefined as wrappers based on their typical usage. There is no discrete "wrapper" tool.

📦
Example of wrapper dashed border
Example diagram of resources inside multiple wrappers