awslabs / diagram-as-code

Diagram-as-code for AWS architecture.
Apache License 2.0
405 stars 22 forks source link

Support AWS::CodePipeline::Pipeline #92

Closed a2ush closed 1 week ago

a2ush commented 1 month ago

Currently, you need to define "AWS::CodePipeline" as a ResourceType when you want to describe "CodePipeline" in a diagram. However, the resource type of CloudFormation does not this type. And "AWS::CodePipeline::Pipeline" should also have children (e.g. CodePipeline maybe has CodeCommit repo or CodeBuild project..).

AWS::CodePipeline::Pipeline - AWS CloudFormation https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-pipeline.html

diagram-as-code/definitions/definition-for-aws-icons-light.yaml at main · awslabs/diagram-as-code · GitHub https://github.com/awslabs/diagram-as-code/blob/main/definitions/definition-for-aws-icons-light.yaml#L945C3-L954

  AWS::CodePipeline:
    Type: Resource
    Icon:
      Source: ArchitectureIconsPptxMedia
      Path: "image644.png"
    Label:
      Title: "AWS CodePipeline"
      Color: "rgba(0, 0, 0, 255)"
    CFn:
      HasChildren: false