Trigger AWS Assembly Recovery
API to trigger AWS Assembly Recovery
Path Parameters
- accountId int64 required
Cloud Rewind account ID.
- projectId string required
Cloud Rewind project ID.
- assemblyId int64 required
AWS cloud assembly ID.
- application/json
Request Body required
- recoveryName string required
Possible values:
>= 3
and<= 55
, Value must match regular expression^[a-z]([a-z0-9-]*[a-z0-9])?
Name of the recovery
- recoveryScope string required
Possible values: [
same-region
,cross-region
,cross-zone
,cross-account
]Defines the boundary within which the AWS resource recovery should occur.
Value Description same-region Recovery within the same region cross-region Recovery across different region cross-zone Recovery across different zones cross-account Recovery across different account - recoveryMode string required
Possible values: [
rebuild
,reuse-existing
,use-source
]Specifies how resources should be handled during the recovery process.
Value Description rebuild Recreate all the protected resources from scratch reuse-existing Reuse existing network resources and recover the protected compute resources use-source Use the same protected network resources and recover the protected compute resources resourceFilterStrategy object required
Resource filter strategy used for filtering resources during the recovery process.
type string requiredPossible values: [
all
,custom
,tags
]Type of resource filter strategy.
Value Description all Include all the protected resources for recovery custom Filter resources based on a custom resource filter tags Filter resources based on matching resource tags tagFilter object
Defines the tag filter for
tags
based resource filtering.tagFilterCondition stringPossible values: [
match-all-tags
,match-any-tags
]Condition to apply between the resource tags for
tags
based resource filtering.Value Description match-all-tags Match resources that must have all specified tags match-any-tags Match resources that have any of the specified tags tags object[]
List of tags to filter resources
key stringKey of the tag
value stringValue of the tag
resourceFilter object
Defines the resource filter for
manual
based resource filtering.resources string[]IDs of the cloud resources for recovery
crossRegionConfiguration object
Configuration for cross-region resource recovery, required if
cross-region
recovery scope is used.recoveryRegion stringPossible values: [
us-east-1
,us-east-2
,us-west-1
,us-west-2
,ap-south-1
,ap-south-2
,ap-northeast-3
,ap-northeast-2
,ap-northeast-1
,ap-southeast-1
,ap-southeast-2
,ap-southeast-3
,ca-central-1
,eu-central-1
,eu-central-2
,eu-west-1
,eu-west-2
,eu-west-3
,eu-north-1
,sa-east-1
,af-south-1
,ap-east-1
,eu-south-1
,eu-south-2
,me-central-1
,me-south-1
,il-central-1
]Region where the recovery will take place
crossAccountConfiguration object
Configuration for Cross Account resource recovery, required if
cross-account
recovery scope is used.recoveryRegion stringPossible values: [
us-east-1
,us-east-2
,us-west-1
,us-west-2
,ap-south-1
,ap-south-2
,ap-northeast-3
,ap-northeast-2
,ap-northeast-1
,ap-southeast-1
,ap-southeast-2
,ap-southeast-3
,ca-central-1
,eu-central-1
,eu-central-2
,eu-west-1
,eu-west-2
,eu-west-3
,eu-north-1
,sa-east-1
,af-south-1
,ap-east-1
,eu-south-1
,eu-south-2
,me-central-1
,me-south-1
,il-central-1
]Region where the cross account recovery will take place
cloudConnectionId int64ID of the cloud connection for cross account recovery
crossZoneConfiguration object
Configuration for Cross zone resource recovery, required if
cross-zone
recovery scope is used.subnetMapping object
Maps a source subnet to a target subnet to enable resource recovery across different availability zones.
Format: {"source-subnet": "target-subnet"}.property name*
stringexistingNetworkConfiguration object
Configuration for existing network recovery, required if
reuse-existing
recovery mode is used.vpcId stringID of the VPC where the existing network resources are located
subnetMapping object
Maps a source subnet to a target subnet to enable resource recovery across different availability zones.
Format: {"source-subnet": "target-subnet"}.property name*
stringipAddressAllocationType stringPossible values: [
default
,dhcp
]Type of IP address allocation for AWS resources during recovery.
Value Description default Allocates the same source IP address to the recovery resource.
If the source IP is unavailable, a new IP address will be assigned.dhcp Allocate a new IP address for the recovery resource. newNetworkConfiguration object
Configuration for new network recovery, required if
rebuild
recovery mode is used.zoneMapping object
Enables resource recovery across Availability Zones using a new network configuration through zone mapping. This configuration is applicable only for same-region recovery scenarios.
Format: {"source-zone": "target-zone"}.property name*
stringdisableInboundTraffic booleanThis configuration blocks inbound traffic for the new network setup
disableOutboundTraffic booleanThis configuration blocks outbound traffic for the new network setup
extendedConfigurations object
Enables extended settings to support advanced resource recovery operations
useExistingLoadBalancer booleanAttaches the recovery resource to an already recovered load balancer. This option is applicable only for
reuse-existing
anduse-source
recovery scenarios.updateDnsRecords booleanUpdate the existing DNS Records associated with the recovery resources configuration
enableSshKeyImport booleanEnable SSH key import for the recovery resources
skipRecoveredResourceAutoProtection booleanEnable to skip auto-protection for recovered resources.
scheduleResetConfiguration object
Optional schedule reset configuration for the auto recovery reset
resetFrequency stringPossible values: [
hours
,days
]Frequency at which the recovery reset should be scheduled.
Value Description hours Resets the recovery in hours days Resets the recovery in days resetInterval int32Number representing the reset interval, e.g., '2 hours', '2 days'
recoveryProfileConfiguration object
Recovery profile configuration for the recovery. This configuration allows loading recovery configurations from the specified profile.
recoveryProfileId int64ID of the recovery profile to be used for the recovery
recoveryProfileParent stringPossible values: [
cloud-connection
,cloud-assembly
]Specifies the parent recovery profile. When a profile is selected, no other recovery settings are needed
except the resource filter strategy.Value Description cloud-connection ID of the recovery profile is from the cloud connection for the recovery cloud-assembly ID of the recovery profile is from the cloud assembly for the recovery
- 201
- 401
- 403
- 404
- 409
- 412
- 500
Created
- application/json
- Schema
- Example (from schema)
Schema
- recoveryId string
ID of the initiated recovery operation
{
"recoveryId": "string"
}
Unauthorized
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Not Found
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Conflict
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Precondition Failed
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
errors object[]
code stringmessage stringtype stringfieldErrors object
property name*
string- message string
- requiredPermissions string[]
{
"errors": [
{
"code": "string",
"message": "string",
"type": "string"
}
],
"fieldErrors": {},
"message": "string",
"requiredPermissions": [
"string"
]
}