

# StackSet オペレーションステータスの変更イベントの詳細
<a name="event-detail-stackset-operation-status-change"></a>

以下は、StackSet オペレーションステータスの変更イベントの、詳細フィールドです。

`source` と `detail-type` のフィールドがあるのは、イベントに、これらに固有の値が含まれているためです。

```
{
  . . .,
  "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`  <a name="stackset-operation-status-change-detail-type"></a>
イベントのタイプを示します。  
StackSet 操作ステータスイベントの場合、この値は `CloudFormation StackSet Operation Status Change` です。

`source`  <a name="stackset-operation-status-change-source"></a>
イベントを発生させたサービスを識別します。CloudFormation イベントの場合、この値は `aws.cloudformation` です。

`detail`  <a name="stackset-operation-status-change-detail"></a>
イベントに関する情報を含む JSON オブジェクト。このフィールドの内容は、イベントを生成するサービスによって決まります。  
StackSet の操作ステータスイベントの場合、このデータには以下が含まれます。    
`stack-set-arn`  <a name="stackset-operation-status-change-stack-set-arn"></a>
StackSet に関連付けられている Amazon リソースネーム (ARN)。  
`stack-set-operation-id`  <a name="stackset-operation-status-change-stack-set-operation-id"></a>
StackSet オペレーションと関連付けられている一意のスタック ID。  
`status-details`  <a name="stackset-operation-status-change-status-details"></a>  
`status`  <a name="stackset-operation-status-change-status"></a>
StackSet オペレーションステータス。  
詳細については、[StackSets ステータスコード](stacksets-concepts.md#stackset-status-codes)を参照してください。  
*有効な値:* `RUNNING` \$1 `SUCCEEDED` \$1 `FAILED` \$1 `STOPPING` \$1 `STOPPED` \$1 `QUEUED`

**Example 例: StackSet オペレーションステータス変更イベント**  <a name="event-detail-stackset-operation-status-change.example"></a>
以下は、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"
    }
  }
}
```