Codepipeline์์ lambda๋ฅผ ์คํํ๋ ค๋ฉด, Codepipelin์๊ฒ ์๋ฃ๋์๋์ง ์ฌ๋ถ๋ฅผ ์๋ ค์ค์ผ ํ๋ค. ์๋ ์ฝ๋๋ ๋จ๋ ์คํ task๋ฅผ ์ํ ์ํ ์ฝ๋์ด๋ค. import urllib3 import json import boto3 import json import botocore.exceptions def lambda_handler(event, context): client = boto3.client("ecs", region_name="ap-northeast-2") waiter = client.get_waiter('tasks_stopped') code_pipeline = boto3.client('codepipeline') job_id = event['CodePipeline.job']['id'] ..