Trigger AWS Assembly Config Only Recovery
API to trigger AWS Assembly Config Only Recovery.
- This action will recover configuration-only resources and will exclude data resources.
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:
>= 3and<= 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-account]Defines the boundary within which the AWS config resource recovery should occur.
Value Description same-region Recovery within the same region cross-region Recovery across different region cross-account Recovery across different account - recoveryMode string required
Possible values: [
rebuild,reuse-existing]Specifies how resources should be handled during the config recovery process.
Value Description rebuild Recreate all the protected config resources from scratch reuse-existing Reuse existing network resources and recover the protected config resources resourceFilterStrategy object required
These root resources define the recovery scope, but only configuration resources are recovered.
For data resources (for example, EC2 instance or RDS instance), only their dependent configuration resources are recovered, not the data resources.
See Supported Configuration-Only Resource for details.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
tagsbased resource filtering.tagFilterCondition stringPossible values: [
match-all-tags,match-any-tags]Condition to apply between the resource tags for
tagsbased 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
manualbased resource filtering.resources string[]IDs of the cloud resources for recovery
existingNetworkConfiguration object
Configuration for existing network recovery, required if
reuse-existingrecovery 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*stringcrossRegionConfiguration object
Configuration for cross-region resource recovery, required if
cross-regionrecovery 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-accountrecovery 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
newNetworkConfiguration object
Configuration for new network recovery, required if
rebuildrecovery 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
enableSshKeyImport booleanEnable SSH key import for the recovery 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'
- 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"
]
}