AptlyStar

CloudFormation

Manage and inspect AWS CloudFormation stacks, resources, and drift

Nutzungsanweisungen

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.

Tools

cloudformation_describe_stacks

List and describe CloudFormation stacks

Eingabe

ParameterTypErforderlichBeschreibung
awsRegionstringJaAWS region (e.g., us-east-1)
awsAccessKeyIdstringJaAWS access key ID
awsSecretAccessKeystringJaAWS secret access key
stackNamestringNeinStack name or ID to describe (omit to list all stacks)

Ausgabe

ParameterTypBeschreibung
stacksarrayList of CloudFormation stacks with status, outputs, and tags

cloudformation_list_stack_resources

List all resources in a CloudFormation stack

Eingabe

ParameterTypErforderlichBeschreibung
awsRegionstringJaAWS region (e.g., us-east-1)
awsAccessKeyIdstringJaAWS access key ID
awsSecretAccessKeystringJaAWS secret access key
stackNamestringJaStack name or ID

Ausgabe

ParameterTypBeschreibung
resourcesarrayList of stack resources with type, status, and drift information

cloudformation_detect_stack_drift

Initiate drift detection on a CloudFormation stack

Eingabe

ParameterTypErforderlichBeschreibung
awsRegionstringJaAWS region (e.g., us-east-1)
awsAccessKeyIdstringJaAWS access key ID
awsSecretAccessKeystringJaAWS secret access key
stackNamestringJaStack name or ID to detect drift on

Ausgabe

ParameterTypBeschreibung
stackDriftDetectionIdstringID to use with Describe Stack Drift Detection Status to check results

cloudformation_describe_stack_drift_detection_status

Check the status of a stack drift detection operation

Eingabe

ParameterTypErforderlichBeschreibung
awsRegionstringJaAWS region (e.g., us-east-1)
awsAccessKeyIdstringJaAWS access key ID
awsSecretAccessKeystringJaAWS secret access key
stackDriftDetectionIdstringJaThe drift detection ID returned by Detect Stack Drift

Ausgabe

ParameterTypBeschreibung
stackIdstringThe stack ID
stackDriftDetectionIdstringThe drift detection ID
stackDriftStatusstringDrift status (DRIFTED, IN_SYNC, NOT_CHECKED)
detectionStatusstringDetection status (DETECTION_IN_PROGRESS, DETECTION_COMPLETE, DETECTION_FAILED)
detectionStatusReasonstringReason if detection failed
driftedStackResourceCountnumberNumber of resources that have drifted
timestampnumberTimestamp of the detection

cloudformation_describe_stack_events

Get the event history for a CloudFormation stack

Eingabe

ParameterTypErforderlichBeschreibung
awsRegionstringJaAWS region (e.g., us-east-1)
awsAccessKeyIdstringJaAWS access key ID
awsSecretAccessKeystringJaAWS secret access key
stackNamestringJaStack name or ID
limitnumberNeinMaximum number of events to return (default: 50)

Ausgabe

ParameterTypBeschreibung
eventsarrayList of stack events with resource status and timestamps

cloudformation_get_template

Retrieve the template body for a CloudFormation stack

Eingabe

ParameterTypErforderlichBeschreibung
awsRegionstringJaAWS region (e.g., us-east-1)
awsAccessKeyIdstringJaAWS access key ID
awsSecretAccessKeystringJaAWS secret access key
stackNamestringJaStack name or ID

Ausgabe

ParameterTypBeschreibung
templateBodystringThe template body as a JSON or YAML string
stagesAvailablearrayAvailable template stages

cloudformation_validate_template

Validate a CloudFormation template for syntax and structural correctness

Eingabe

ParameterTypErforderlichBeschreibung
awsRegionstringJaAWS region (e.g., us-east-1)
awsAccessKeyIdstringJaAWS access key ID
awsSecretAccessKeystringJaAWS secret access key
templateBodystringJaThe CloudFormation template body (JSON or YAML)

Ausgabe

ParameterTypBeschreibung
descriptionstringTemplate description
parametersarrayTemplate parameters with defaults and descriptions
capabilitiesarrayRequired capabilities (e.g., CAPABILITY_IAM)
capabilitiesReasonstringReason capabilities are required
declaredTransformsarrayTransforms used in the template (e.g., AWS::Serverless-2016-10-31)

On this page