1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

cdk importでresource-mappingするときのjsonの作り方

Last updated at Posted at 2025-05-31

cdk importは-mオプションでresource-mappingをファイル読み込みで行えます
こうすると対話不要。

が、このファイルは全然説明がありません

  1. manifest.jsonからlogical idを引っ張ってくる(synth済み前提)
  2. jsonを作る
  3. cdk import -m aaa.json

e.g. s3のバケットimport

keyはlogical id

{
  "YourBucketRANDOMID": { "BucketName": "your-bucket-name" }
}

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?