Skip to main content

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.

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.

    ValueDescription
    same-regionRecovery within the same region
    cross-regionRecovery across different region
    cross-zoneRecovery across different zones
    cross-accountRecovery across different account
  • recoveryMode string required

    Possible values: [rebuild, reuse-existing, use-source]

    Specifies how resources should be handled during the recovery process.

    ValueDescription
    rebuildRecreate all the protected resources from scratch
    reuse-existingReuse existing network resources and recover the protected compute resources
    use-sourceUse 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 required

    Possible values: [all, custom, tags]

    Type of resource filter strategy.

    ValueDescription
    allInclude all the protected resources for recovery
    customFilter resources based on a custom resource filter
    tagsFilter resources based on matching resource tags
  • tagFilter object

    Defines the tag filter for tags based resource filtering.

  • tagFilterCondition string

    Possible values: [match-all-tags, match-any-tags]

    Condition to apply between the resource tags for tags based resource filtering.

    ValueDescription
    match-all-tagsMatch resources that must have all specified tags
    match-any-tagsMatch resources that have any of the specified tags
  • tags object[]

    List of tags to filter resources

  • key string

    Key of the tag

  • value string

    Value 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 string

    Possible 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 string

    Possible 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 int64

    ID 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* string
  • existingNetworkConfiguration object

    Configuration for existing network recovery, required if reuse-existing recovery mode is used.

  • vpcId string

    ID 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* string
  • ipAddressAllocationType string

    Possible values: [default, dhcp]

    Type of IP address allocation for AWS resources during recovery.

    ValueDescription
    defaultAllocates the same source IP address to the recovery resource.
    If the source IP is unavailable, a new IP address will be assigned.
    dhcpAllocate 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* string
  • disableInboundTraffic boolean

    This configuration blocks inbound traffic for the new network setup

  • disableOutboundTraffic boolean

    This configuration blocks outbound traffic for the new network setup

  • extendedConfigurations object

    Enables extended settings to support advanced resource recovery operations

  • useExistingLoadBalancer boolean

    Attaches the recovery resource to an already recovered load balancer. This option is applicable only for reuse-existing and use-source recovery scenarios.

  • updateDnsRecords boolean

    Update the existing DNS Records associated with the recovery resources configuration

  • enableSshKeyImport boolean

    Enable SSH key import for the recovery resources

  • skipRecoveredResourceAutoProtection boolean

    Enable to skip auto-protection for recovered resources.

  • scheduleResetConfiguration object

    Optional schedule reset configuration for the auto recovery reset

  • resetFrequency string

    Possible values: [hours, days]

    Frequency at which the recovery reset should be scheduled.

    ValueDescription
    hoursResets the recovery in hours
    daysResets the recovery in days
  • resetInterval int32

    Number 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 int64

    ID of the recovery profile to be used for the recovery

  • recoveryProfileParent string

    Possible 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.

    ValueDescription
    cloud-connectionID of the recovery profile is from the cloud connection for the recovery
    cloud-assemblyID of the recovery profile is from the cloud assembly for the recovery
Responses

Created


Schema
  • recoveryId string

    ID of the initiated recovery operation

Loading...