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
| Paramètre | Type | Obligatoire | Description |
|---|
awsRegion | string | Oui | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Oui | AWS access key ID |
awsSecretAccessKey | string | Oui | AWS secret access key |
stackName | string | Non | Stack name or ID to describe (omit to list all stacks) |
| Paramètre | Type | Description |
|---|
stacks | array | List of CloudFormation stacks with status, outputs, and tags |
List all resources in a CloudFormation stack
| Paramètre | Type | Obligatoire | Description |
|---|
awsRegion | string | Oui | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Oui | AWS access key ID |
awsSecretAccessKey | string | Oui | AWS secret access key |
stackName | string | Oui | Stack name or ID |
| Paramètre | Type | Description |
|---|
resources | array | List of stack resources with type, status, and drift information |
Initiate drift detection on a CloudFormation stack
| Paramètre | Type | Obligatoire | Description |
|---|
awsRegion | string | Oui | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Oui | AWS access key ID |
awsSecretAccessKey | string | Oui | AWS secret access key |
stackName | string | Oui | Stack name or ID to detect drift on |
| Paramètre | Type | Description |
|---|
stackDriftDetectionId | string | ID to use with Describe Stack Drift Detection Status to check results |
Check the status of a stack drift detection operation
| Paramètre | Type | Obligatoire | Description |
|---|
awsRegion | string | Oui | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Oui | AWS access key ID |
awsSecretAccessKey | string | Oui | AWS secret access key |
stackDriftDetectionId | string | Oui | The drift detection ID returned by Detect Stack Drift |
| Paramètre | Type | Description |
|---|
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
| Paramètre | Type | Obligatoire | Description |
|---|
awsRegion | string | Oui | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Oui | AWS access key ID |
awsSecretAccessKey | string | Oui | AWS secret access key |
stackName | string | Oui | Stack name or ID |
limit | number | Non | Maximum number of events to return (default: 50) |
| Paramètre | Type | Description |
|---|
events | array | List of stack events with resource status and timestamps |
Retrieve the template body for a CloudFormation stack
| Paramètre | Type | Obligatoire | Description |
|---|
awsRegion | string | Oui | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Oui | AWS access key ID |
awsSecretAccessKey | string | Oui | AWS secret access key |
stackName | string | Oui | Stack name or ID |
| Paramètre | Type | Description |
|---|
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
| Paramètre | Type | Obligatoire | Description |
|---|
awsRegion | string | Oui | AWS region (e.g., us-east-1) |
awsAccessKeyId | string | Oui | AWS access key ID |
awsSecretAccessKey | string | Oui | AWS secret access key |
templateBody | string | Oui | The CloudFormation template body (JSON or YAML) |
| Paramètre | Type | Description |
|---|
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) |