diagram-as-code icon indicating copy to clipboard operation
diagram-as-code copied to clipboard

Create mappings for CloudFormation resource types

Open ugwis opened this issue 11 months ago • 2 comments

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.

ugwis avatar Mar 25 '24 05:03 ugwis

[Deleted on 2024-7-16]

ugwis avatar Mar 30 '24 01:03 ugwis

Moved the table to https://github.com/awslabs/diagram-as-code/wiki/CloudFormation-Resource-Type-Compatibility

ugwis avatar Jul 16 '24 01:07 ugwis