Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update definitions #105

Merged
merged 1 commit into from
Jul 5, 2024
Merged

Update definitions #105

merged 1 commit into from
Jul 5, 2024

Conversation

a2ush
Copy link
Member

@a2ush a2ush commented Jul 5, 2024

Issue #, if available:
#103
#102

Description of changes:

Support the following type:

  • AWS::IAM::User[1]
  • AWS::IAM::Policy
  • AWS::IAM::AccessKey
  • AWS::SecretsManager::Secret
  • AWS::S3::Bucket
  • AWS::RDS::DBCluster
  • AWS::RDS::DBInstance
    etc...

[1] Currently, AWS does not provide "IAM User" icon[2], so I try to match this resource type to "General User" icon.
[2] https://aws.amazon.com/architecture/icons/?nc1=h_ls

image

Diagram:
  DefinitionFiles:
     ...
  Resources:
    Canvas:
      Type: AWS::Diagram::Canvas
      Direction: vertical
      Children:
        - AWSCloud
    AWSCloud:
      Type: AWS::Diagram::Cloud
      Direction: vertical
      Preset: AWSCloudNoLogo
      Align: center
      Children:
        - IAMStack
        - Secrets
        - S3
        - Aurora
        - DbInstance
    IAMStack:
      Type: AWS::Diagram::HorizontalStack
      Children:
        - IAMUser
        - IAMPolicy      
        - IAMAccessKey
    IAMUser:
      Type: AWS::IAM::User
    IAMPolicy:
      Type: AWS::IAM::Policy
    IAMAccessKey:
      Type: AWS::IAM::AccessKey      
    S3:
      Type: AWS::S3::Bucket
    Aurora:
      Type: AWS::RDS::DBCluster
    DbInstance:
      Type: AWS::RDS::DBInstance
    Secrets:
      Type: AWS::SecretsManager::Secret

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@a2ush a2ush merged commit 27e5b8f into awslabs:main Jul 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants