Manage and inspect AWS CloudFormation stacks, resources, and drift
Integrate AWS CloudFormation into workflows. Describe stacks, list resources, detect drift, view stack events, retrieve templates, and validate templates. Requires AWS access key and secret access key.
List and describe CloudFormation stacks
| パラメータ | 型 | 必須 | 説明 |
|---|
awsRegion | string | はい | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | はい | AWS access key ID |
awsSecretAccessKey | string | はい | AWS secret access key |
stackName | string | いいえ | Stack name or ID to describe (omit to list all stacks) |
| パラメータ | 型 | 説明 |
|---|
stacks | array | List of CloudFormation stacks with status, outputs, and tags |
List all resources in a CloudFormation stack
| パラメータ | 型 | 必須 | 説明 |
|---|
awsRegion | string | はい | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | はい | AWS access key ID |
awsSecretAccessKey | string | はい | AWS secret access key |
stackName | string | はい | Stack name or ID |
| パラメータ | 型 | 説明 |
|---|
resources | array | List of stack resources with type, status, and drift information |
Initiate drift detection on a CloudFormation stack
| パラメータ | 型 | 必須 | 説明 |
|---|
awsRegion | string | はい | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | はい | AWS access key ID |
awsSecretAccessKey | string | はい | AWS secret access key |
stackName | string | はい | Stack name or ID to detect drift on |
| パラメータ | 型 | 説明 |
|---|
stackDriftDetectionId | string | ID to use with Describe Stack Drift Detection Status to check results |
Check the status of a stack drift detection operation
| パラメータ | 型 | 必須 | 説明 |
|---|
awsRegion | string | はい | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | はい | AWS access key ID |
awsSecretAccessKey | string | はい | AWS secret access key |
stackDriftDetectionId | string | はい | The drift detection ID returned by Detect Stack Drift |
| パラメータ | 型 | 説明 |
|---|
stackId | string | The stack ID |
stackDriftDetectionId | string | The drift detection ID |
stackDriftStatus | string | Drift status (DRIFTED, IN_SYNC, NOT_CHECKED) |
detectionStatus | string | Detection status (DETECTION_IN_PROGRESS, DETECTION_COMPLETE, DETECTION_FAILED) |
detectionStatusReason | string | Reason if detection failed |
driftedStackResourceCount | number | Number of resources that have drifted |
timestamp | number | Timestamp of the detection |
Get the event history for a CloudFormation stack
| パラメータ | 型 | 必須 | 説明 |
|---|
awsRegion | string | はい | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | はい | AWS access key ID |
awsSecretAccessKey | string | はい | AWS secret access key |
stackName | string | はい | Stack name or ID |
limit | number | いいえ | Maximum number of events to return (default: 50) |
| パラメータ | 型 | 説明 |
|---|
events | array | List of stack events with resource status and timestamps |
Retrieve the template body for a CloudFormation stack
| パラメータ | 型 | 必須 | 説明 |
|---|
awsRegion | string | はい | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | はい | AWS access key ID |
awsSecretAccessKey | string | はい | AWS secret access key |
stackName | string | はい | Stack name or ID |
| パラメータ | 型 | 説明 |
|---|
templateBody | string | The template body as a JSON or YAML string |
stagesAvailable | array | Available template stages |
Validate a CloudFormation template for syntax and structural correctness
| パラメータ | 型 | 必須 | 説明 |
|---|
awsRegion | string | はい | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | はい | AWS access key ID |
awsSecretAccessKey | string | はい | AWS secret access key |
templateBody | string | はい | The CloudFormation template body (JSON or YAML) |
| パラメータ | 型 | 説明 |
|---|
description | string | Template description |
parameters | array | Template parameters with defaults and descriptions |
capabilities | array | Required capabilities (e.g., CAPABILITY_IAM) |
capabilitiesReason | string | Reason capabilities are required |
declaredTransforms | array | Transforms used in the template (e.g., AWS::Serverless-2016-10-31) |