Skip to content
Proud to collaborate with Microsoft for Startups

aws.ec2.associate_address ​

Associate an Elastic IP address with an EC2 instance using a CloudConnection UUID.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—CloudConnection UUID for the target AWS account.
workflow_run_idstringNo—Engine DAG run ID stamped onto child steps.
regionstringNo—AWS region override.
allocation_idstringYes—Allocation ID of the Elastic IP to associate.
instance_idstringYes—EC2 instance ID to associate the Elastic IP with.
allow_reassociationbooleanNo—Allow reassociation of an already-associated address.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—CloudConnection UUID echoed from input.
regionstringNo—AWS region used.
association_idstringNo—Association ID returned by EC2.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Failed DAG layer if engine supplies one.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

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.ec2.associate_address",
  "initial_data": {
    "connection_uuid": "value",
    "allocation_id": "value",
    "instance_id": "value"
  }
}