diagram-as-code
diagram-as-code copied to clipboard
Create mappings for CloudFormation resource types
Need to create a correspondence between CloudFormation resource types and architecture icons' labels (preset names). Currently, We are using this file to list the corresponding resource types.
workaround
You can also use resource types that are not currently defined by utilizing a preset with the same name as the icon label.
Diagram:
DefinitionFiles:
- Type: URL
Url: "https://raw.githubusercontent.com/awslabs/diagram-as-code/main/definitions/definition-for-aws-icons-light.yaml"
Resources:
Canvas:
Type: AWS::Diagram::Canvas
Direction: vertical
Children:
- StepFunction
StepFunction:
Type: AWS::Diagram::Resource
Preset: "AWS Step Functions"
You can check the preset name in the icon label of the pptx file or in the definition file.
[Deleted on 2024-7-16]
Moved the table to https://github.com/awslabs/diagram-as-code/wiki/CloudFormation-Resource-Type-Compatibility