Slide 14
Slide 14 text
14
Hookʹઃఆͨ͠LambdaʹඈΜͰ͘ΔΠϕϯτྫ
{
"clientRequestToken": "XXXXXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"awsAccountId": "111111111111",
"stackId": “arn:…”,
…
"actionInvocationPoint": "CREATE_PRE_PROVISION",
"requestData":
{
"targetName": "AWS::S3::Bucket",
"targetType": "AWS::S3::Bucket",
"targetLogicalId": “Bucket”,
…
"targetModel":
{
"resourceProperties":
{
"PublicAccessBlockConfiguration":
{ "RestrictPublicBuckets": true, "IgnorePublicAcls": true },
"BucketName": "XXXXXXXXXXXXXXXXXXXXXXXXXXX",
"VersioningConfiguration": { "Status": "Enabled" },
…
https://aws.amazon.com/jp/blogs/devops/proactively-validate-your-aws-cloudformation-templates-with-aws-lambda/