다음은 StackSet 작업 상태 변경 이벤트의 세부 정보 필드입니다.
source
및 detail-type
필드는 AWS CloudFormation 이벤트에 대한 특정 값을 포함하므로 여기에 포함됩니다.
{
. . .,
"detail-type": "CloudFormation StackSet Operation Status Change",
"source": "aws.cloudformation",
. . .,
"detail": {
"stack-set-arn" : "string",
"stack-set-operation-id" : "string",
"status-details": {
"status": "string"
}
}
}
}
detail-type
-
이벤트의 유형을 식별합니다.
StackSet 작업 상태 이벤트의 경우 이 값은
CloudFormation StackSet Operation Status Change
입니다. source
-
이벤트를 생성한 서비스를 식별합니다. CloudFormation 이벤트의 경우 이 값은
aws.cloudformation
입니다. detail
-
이벤트에 대한 정보를 포함하는 JSON 객체입니다. 이벤트를 생성하는 서비스에 따라 이 필드의 내용이 결정됩니다.
StackSet 작업 상태 이벤트의 경우 이 데이터는 다음을 포함합니다.
stack-set-arn
-
StackSet와 연결된 Amazon 리소스 이름(ARN)입니다.
stack-set-operation-id
-
StackSet 작업과 연결된 고유 ID입니다.
status-details
-
status
-
StackSet 작업 상태
자세한 내용은 StackSets 상태 코드를 참조하세요.
유효한 값:
RUNNING
|SUCCEEDED
|FAILED
|STOPPING
|STOPPED
|QUEUED
예: StackSet 작업 상태 변경 이벤트
다음은 StackSet 작업 상태 변경 이벤트의 예입니다. 이벤트는 CloudFormation이 지정된 스택 세트에서 요청된 작업을 성공적으로 완료했음을 자세히 설명합니다.
{
"version": "0",
"id": "4de89905-fd92-6a6b-9509-23c04bcb6a21",
"detail-type": "CloudFormation StackSet Operation Status Change",
"source": "aws.cloudformation",
"account": "111122223333",
"time": "2021-09-22T05:46:24Z",
"region": "us-east-1",
"resources": [
"arn:aws:cloudformation:us-east-1:111122223333:stackset/test1234:e5f54eea-d041-44ad-94f8-b8268aca1e59"
],
"detail": {
"stack-set-arn": "arn:aws:cloudformation:us-east-1:111122223333:stackset/test1234:e5f54eea-d041-44ad-94f8-b8268aca1e59",
"stack-set-operation-id": "ce69adce-2221-4483-8c4b-c51f284f25e8",
"status-details": {
"status": "SUCCEEDED"
}
}
}