@startuml
title API Gateway + S3でスタブサーバー実現
[Client] as client
[AWS API Gateway V1] as api
[S3 Bucket] as s3
[IAM Role] as role
[WAF V2 Web ACLs ] as waf
[WAF V2 IP sets ] as ipset
client <-down-> api
api -right-> s3
api -down-> role
api -down-> waf
waf -down-> ipset
note left of api
- IAM Role使う
- Web ACL使う
- Type: aws
end note
note left of role
- S3 Readonly権限付与
end note
note right of s3
S3にレスポンスBodyのファイルを配置
end note
@enduml
参考
https://qiita.com/nave-m/items/51d621d25db33fc629ac
構成図
http://www.plantuml.com/plantuml 生成したURLで下記画像を表示できた(嬉しい githubはいつplantuml対応してくれるだろう。。。