Slide 18
Slide 18 text
18
ผελοΫͰಉ͡ϦιʔεΛ࡞Δܙ
ը૾Ҿ༻ݩɿ
https://aws.amazon.com/jp/blogs/aws/boost-your-infrastructure-with-cdk/
new dynamodb.Table(this, `${id}-items`, {
tableName: `${id}-items`,
partitionKey: {
name: "itemId",
type: dynamodb.AttributeType.STRING,
},
});
const app = new cdk.App();
new UserAStack(app,
`${envName}-${projectName}-UserAStack`, {}
);
໋໊نଇ͕ϦιʔεͰҟͳΓҰ෦(Aurora/WAFͳͲ)
ελοΫ໊͕ҟͳͬͯϦιʔε໊͕ಉ͜͡ͱ͋Δ
ͷͰ id Λ͚ͭΔ͜ͱͰॏෳΛճආͰ͖Δ
envNameͱprojectNamecdk.json͔Βೖ͢Δ
envNameݸਓ͝ͱ projectNamePJΛࣝผ͢ΔͨΊઃఆ