Skip to content
Proud to collaborate with Microsoft for Startups

aws.route53.delete_record ​

Delete a Route 53 DNS record

Delete a DNS record from an Amazon Route 53 hosted zone.

The record_value must exactly match the current value(s) in Route 53 -- Route 53 requires the full ResourceRecordSet to delete it.

If the hosted zone or record does not exist the workflow completes successfully (idempotent delete).

Inputs:

  • hosted_zone_id: Route 53 hosted zone ID (required).
  • record_name: Fully-qualified DNS name (required).
  • record_type: DNS record type (required).
  • record_value: Value string or list of strings -- must match existing record exactly (required).
  • ttl: TTL in seconds -- must match existing record (optional, default: 300).
  • connection_uuid: Cloud connection UUID for AWS credentials (required).

Outputs (terminal state_data):

  • change_id: str -- Route 53 change ID (None if the record did not exist)
  • deleted: bool -- True when DELETE change was submitted; False when already absent

Compensation: Use aws.route53.create_record to recreate. Plugin required: context.get_plugin("aws") must expose .route53_client().

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
hosted_zone_idstringYes—Route 53 hosted zone ID
record_namestringYes—Fully-qualified DNS record name
record_typestringYes—DNS record type
record_valuejsonYes—Value string or list of strings (must match existing)
ttlintegerNo—TTL in seconds (must match existing, default: 300)
connection_uuiduuidYes—Cloud connection UUID for AWS credentials

Output Schema ​

FieldTypeRequiredDefaultDescription
change_idstringNo—Route 53 change ID; None on idempotent path
deletedbooleanNo—True when DELETE submitted; False when already absent
connection_uuiduuidNo——
hosted_zone_idstringNo——
record_namestringNo——
record_typestringNo——
record_valuejsonNo——
ttlintegerNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "aws.route53.delete_record",
  "initial_data": {
    "hosted_zone_id": "value",
    "record_name": "value",
    "record_type": "value",
    "record_value": "value"
  }
}