云服务商图标
Stack 内置与服务商无关的核心图标目录。AWS、Google Cloud、Azure 以及常用开发和协作工具图形通过 provider pack 使用,并保存在用户管理的 icon store 中。
可用的服务商目录
已审核目录共有 1,051 个 ID:305 个 AWS Architecture Icons、45 个 Google Cloud 产品与分类图标、639 个 Azure 服务图标,以及 62 个常用工具图标。工具目录包括 GitHub、GitHub Actions、Notion、Linear、Atlassian、Jira、Confluence、Docker、Kubernetes、Terraform、Datadog、Grafana 和 Sentry 等。
选择服务商卡片即可查看导入命令。完整目录支持搜索与筛选,并以每次 100 项的方式在小屏设备上稳定显示。
1,051 项结果
aws:amazon-api-gatewayAmazon API GatewayNetworking Content Deliveryserviceaws:amazon-appflowAmazon AppFlowApplication Integrationserviceaws:amazon-application-recovery-controllerAmazon Application Recovery ControllerNetworking Content Deliveryserviceaws:amazon-athenaAmazon AthenaAnalyticsserviceaws:amazon-augmented-ai-a2iAmazon Augmented AI A2IArtificial Intelligenceserviceaws:amazon-auroraAmazon AuroraDatabasesdatabaseaws:amazon-bedrockAmazon BedrockArtificial Intelligenceserviceaws:amazon-bedrock-agentcoreAmazon Bedrock AgentCoreArtificial Intelligenceserviceaws:amazon-braketAmazon BraketQuantum Technologiesserviceaws:amazon-chimeAmazon ChimeBusiness Applicationsserviceaws:amazon-chime-sdkAmazon Chime SDKBusiness Applicationsserviceaws:amazon-cloud-directoryAmazon Cloud DirectorySecurity Identityserviceaws:amazon-cloudfrontAmazon CloudFrontNetworking Content Deliveryserviceaws:amazon-cloudsearchAmazon CloudSearchAnalyticsserviceaws:amazon-cloudwatchAmazon CloudWatchManagement Toolsserviceaws:amazon-codecatalystAmazon CodeCatalystDeveloper Toolsserviceaws:amazon-codeguruAmazon CodeGuruArtificial Intelligenceserviceaws:amazon-codewhispererAmazon CodeWhispererArtificial Intelligenceserviceaws:amazon-cognitoAmazon CognitoSecurity Identityserviceaws:amazon-comprehendAmazon ComprehendArtificial Intelligenceserviceaws:amazon-comprehend-medicalAmazon Comprehend MedicalArtificial Intelligenceserviceaws:amazon-connectAmazon ConnectBusiness Applicationsserviceaws:amazon-correttoAmazon CorrettoDeveloper Toolsserviceaws:amazon-data-firehoseAmazon Data FirehoseAnalyticsserviceaws:amazon-datazoneAmazon DataZoneAnalyticsserviceaws:amazon-dcvAmazon DCVComputeserviceaws:amazon-detectiveAmazon DetectiveSecurity Identityserviceaws:amazon-devops-guruAmazon DevOps GuruArtificial Intelligenceserviceaws:amazon-documentdbAmazon DocumentDBDatabasesdatabaseaws:amazon-ec2-auto-scalingAmazon EC2 Auto ScalingComputeserviceaws:amazon-ec2-image-builderAmazon EC2 Image BuilderComputeserviceaws:amazon-ecs-anywhereAmazon ECS AnywhereContainersserviceaws:amazon-efsAmazon EFSStoragestorageaws:amazon-eks-anywhereAmazon EKS AnywhereContainersserviceaws:amazon-eks-distroAmazon EKS DistroContainersserviceaws:amazon-elastic-block-storeAmazon Elastic Block StoreStoragestorageaws:amazon-elastic-container-registryAmazon Elastic Container RegistryContainersserviceaws:amazon-elastic-container-serviceAmazon Elastic Container ServiceContainersserviceaws:amazon-elastic-inferenceAmazon Elastic InferenceArtificial Intelligenceserviceaws:amazon-elastic-vmware-serviceAmazon Elastic VMware ServiceComputeserviceaws:amazon-elasticacheAmazon ElastiCacheDatabasescacheaws:amazon-emrAmazon EMRAnalyticsserviceaws:amazon-eventbridgeAmazon EventBridgeApplication Integrationqueueaws:amazon-file-cacheAmazon File CacheStoragestorageaws:amazon-finspaceAmazon FinSpaceAnalyticsserviceaws:amazon-forecastAmazon ForecastArtificial Intelligenceserviceaws:amazon-fraud-detectorAmazon Fraud DetectorArtificial Intelligenceserviceaws:amazon-fsxAmazon FSxStoragestorageaws:amazon-fsx-for-lustreAmazon FSx for LustreStoragestorageaws:amazon-fsx-for-netapp-ontapAmazon FSx for NetApp ONTAPStoragestorageaws:amazon-fsx-for-openzfsAmazon FSx for OpenZFSStoragestorageaws:amazon-fsx-for-wfsAmazon FSx for WFSStoragestorageaws:amazon-gamelift-serversAmazon GameLift ServersGamesserviceaws:amazon-gamelift-streamsAmazon GameLift StreamsGamesserviceaws:amazon-guarddutyAmazon GuardDutySecurity Identityserviceaws:amazon-inspectorAmazon InspectorSecurity Identityserviceaws:amazon-interactive-video-serviceAmazon Interactive Video ServiceMedia Servicesserviceaws:amazon-kendraAmazon KendraArtificial Intelligenceserviceaws:amazon-keyspacesAmazon KeyspacesDatabasesdatabaseaws:amazon-kinesisAmazon KinesisAnalyticsserviceaws:amazon-kinesis-data-streamsAmazon Kinesis Data StreamsAnalyticsserviceaws:amazon-kinesis-video-streamsAmazon Kinesis Video StreamsAnalyticsserviceaws:amazon-kinesis-video-streams-media-servicesAmazon Kinesis Video StreamsMedia Servicesserviceaws:amazon-lexAmazon LexArtificial Intelligenceserviceaws:amazon-lightsailAmazon LightsailComputeserviceaws:amazon-lightsail-for-researchAmazon Lightsail for ResearchComputeserviceaws:amazon-location-serviceAmazon Location ServiceFront End Web Mobileserviceaws:amazon-lookout-for-equipmentAmazon Lookout for EquipmentArtificial Intelligenceserviceaws:amazon-lookout-for-visionAmazon Lookout for VisionArtificial Intelligenceserviceaws:amazon-macieAmazon MacieSecurity Identityserviceaws:amazon-managed-blockchainAmazon Managed BlockchainBlockchainserviceaws:amazon-managed-grafanaAmazon Managed GrafanaManagement Toolsserviceaws:amazon-managed-service-for-apache-flinkAmazon Managed Service for Apache FlinkAnalyticsserviceaws:amazon-managed-service-for-prometheusAmazon Managed Service for PrometheusManagement Toolsserviceaws:amazon-managed-streaming-for-apache-kafkaAmazon Managed Streaming for Apache KafkaAnalyticsserviceaws:amazon-managed-workflows-for-apache-airflowAmazon Managed Workflows for Apache AirflowApplication Integrationserviceaws:amazon-memorydbAmazon MemoryDBDatabasescacheaws:amazon-monitronAmazon MonitronArtificial Intelligenceserviceaws:amazon-mqAmazon MQApplication Integrationserviceaws:amazon-neptuneAmazon NeptuneDatabasesdatabaseaws:amazon-novaAmazon NovaArtificial Intelligenceserviceaws:amazon-opensearch-serviceAmazon OpenSearch ServiceAnalyticsserviceaws:amazon-personalizeAmazon PersonalizeArtificial Intelligenceserviceaws:amazon-pinpointAmazon PinpointBusiness Applicationsserviceaws:amazon-pinpoint-apisAmazon Pinpoint APIsBusiness Applicationsserviceaws:amazon-pollyAmazon PollyArtificial Intelligenceserviceaws:amazon-qAmazon QArtificial Intelligenceserviceaws:amazon-quickAmazon QuickBusiness Applicationsserviceaws:amazon-redshiftAmazon RedshiftAnalyticsserviceaws:amazon-rekognitionAmazon RekognitionArtificial Intelligenceserviceaws:amazon-route-53Amazon Route 53Networking Content Deliveryserviceaws:amazon-s3-on-outpostsAmazon S3 on OutpostsStoragestorageaws:amazon-sagemakerAmazon SageMakerAnalyticsserviceaws:amazon-sagemaker-aiAmazon SageMaker AIArtificial Intelligenceserviceaws:amazon-sagemaker-ground-truthAmazon SageMaker Ground TruthArtificial Intelligenceserviceaws:amazon-sagemaker-studio-labAmazon SageMaker Studio LabArtificial Intelligenceserviceaws:amazon-security-lakeAmazon Security LakeSecurity Identityserviceaws:amazon-simple-email-serviceAmazon Simple Email ServiceBusiness Applicationsserviceaws:amazon-simple-notification-serviceAmazon Simple Notification ServiceApplication Integrationserviceaws:amazon-simple-storage-service-glacierAmazon Simple Storage Service GlacierStoragestorageProvider pack 提供图形;Stack 源码中的节点 kind 继续决定语义样式和布局。
快速开始
为图中使用的每个服务商执行一次导入。--accept-terms 表示你已查看并接受链接中的服务商和品牌条款。
$ stack icons import gcp --accept-terms
$ stack icons import simple-icons --accept-terms
$ stack render architecture.stack -o architecture.svgCLI 会下载已审核的官方压缩包,验证完整 SHA-256,清理选定 SVG,并将处理后的 provider pack 写入共享 icon store。一个 gcp 命令会同时导入 Google Cloud 产品和分类图形。
在 CLI 中使用服务商图标
一个 Stack 文件可以使用多个服务商。下面的例子组合了 Google Cloud 的 Cloud Run 与 Simple Icons 的 GitHub:
stack 1.0
diagram "Deploy from GitHub to Cloud Run" {
node repository "GitHub" {
kind external
icon "simple-icons:github"
}
node service "Cloud Run" {
kind service
icon "gcp:cloud-run"
}
edge repository -> service "Deploy" {
kind dependency
}
}完成两次导入后,标准渲染命令会发现两个 pack:
$ stack render architecture.stack -o architecture.svg --notice architecture.NOTICE.md共享 icon store
默认 icon store 为 $XDG_CONFIG_HOME/stack/icons。未设置 XDG_CONFIG_HOME 时使用 $HOME/.config/stack/icons。
icons/
aws/
gcp/
azure/
simple-icons/可在 $XDG_CONFIG_HOME/stack/config.yaml 中设置绝对路径来更改共享位置:
default_icons_path: /absolute/path/to/stack-iconsstack icons import 与 stack render 都会使用该位置。
在 Playground 中使用服务商图标
打开 Icons,选择 stack/icons 文件夹,Playground 会加载其中所有可识别的服务商目录。搜索已加载图形并选择一项,即可把 ID 复制到 Stack 源码中。
所选 pack 在当前浏览器标签页中处理。当生成图使用服务商图形时,SVG 下载旁的 Notice 会提供来源、条款和已使用图标记录。
将图标与项目一起管理
使用 -o 将导入的 pack 放进可随仓库提交的项目目录:
$ stack icons import gcp --accept-terms -o .stack-icons
$ stack icons import simple-icons --accept-terms -o .stack-icons渲染时通过 --provider-pack 传入同一个 icon-store 根目录:
$ stack render architecture.stack \
--provider-pack .stack-icons \
-o architecture.svg \
--notice architecture.NOTICE.md查找图标 ID
可通过 CLI 或本页搜索目录:
$ stack icons list
$ stack icons list aws s3
$ stack icons list azure database
$ stack icons list simple-icons githubCLI 输出包含 ID、PRODUCT、CATEGORY 和推荐的 KIND。gcp:cloud-run、simple-icons:github 等带命名空间的 ID 会选择对应 pack 中的图形。
验证、条款与 notice
CLI 目录固定了每个官方 HTTPS 压缩包 URL、版本、完整 SHA-256、允许的条目路径、条款 URL 与审核日期。导入时会限制压缩包与 SVG 大小,清理活动及外部 SVG 内容,并以原子方式写入 pack。
每个 pack 都包含 NOTICE.md。stack render --notice <PATH> 会写入实际 pack 版本、来源版本、条款 URL、署名、非背书文本和已使用的图标 ID。目录还链接每个服务商的官方来源与条款,以及 Simple Icons 标志对应的品牌来源和指南。