Skip to content

Start Source Network Recovery

drs_start_source_network_recovery R Documentation

Deploy VPC for the specified Source Network and modify launch templates to use this network

Description

Deploy VPC for the specified Source Network and modify launch templates to use this network. The VPC will be deployed using a dedicated CloudFormation stack.

Usage

drs_start_source_network_recovery(deployAsNew, sourceNetworks, tags)

Arguments

deployAsNew

Don't update existing CloudFormation Stack, recover the network using a new stack.

sourceNetworks

[required] The Source Networks that we want to start a Recovery Job for.

tags

The tags to be associated with the Source Network recovery Job.

Value

A list with the following syntax:

list(
  job = list(
    arn = "string",
    creationDateTime = "string",
    endDateTime = "string",
    initiatedBy = "START_RECOVERY"|"START_DRILL"|"FAILBACK"|"DIAGNOSTIC"|"TERMINATE_RECOVERY_INSTANCES"|"TARGET_ACCOUNT"|"CREATE_NETWORK_RECOVERY"|"UPDATE_NETWORK_RECOVERY"|"ASSOCIATE_NETWORK_RECOVERY",
    jobID = "string",
    participatingResources = list(
      list(
        launchStatus = "PENDING"|"IN_PROGRESS"|"LAUNCHED"|"FAILED"|"TERMINATED",
        participatingResourceID = list(
          sourceNetworkID = "string"
        )
      )
    ),
    participatingServers = list(
      list(
        launchActionsStatus = list(
          runs = list(
            list(
              action = list(
                actionCode = "string",
                actionId = "string",
                actionVersion = "string",
                active = TRUE|FALSE,
                category = "MONITORING"|"VALIDATION"|"CONFIGURATION"|"SECURITY"|"OTHER",
                description = "string",
                name = "string",
                optional = TRUE|FALSE,
                order = 123,
                parameters = list(
                  list(
                    type = "SSM_STORE"|"DYNAMIC",
                    value = "string"
                  )
                ),
                type = "SSM_AUTOMATION"|"SSM_COMMAND"
              ),
              failureReason = "string",
              runId = "string",
              status = "IN_PROGRESS"|"SUCCEEDED"|"FAILED"
            )
          ),
          ssmAgentDiscoveryDatetime = "string"
        ),
        launchStatus = "PENDING"|"IN_PROGRESS"|"LAUNCHED"|"FAILED"|"TERMINATED",
        recoveryInstanceID = "string",
        sourceServerID = "string"
      )
    ),
    status = "PENDING"|"STARTED"|"COMPLETED",
    tags = list(
      "string"
    ),
    type = "LAUNCH"|"TERMINATE"|"CREATE_CONVERTED_SNAPSHOT"
  )
)

Request syntax

svc$start_source_network_recovery(
  deployAsNew = TRUE|FALSE,
  sourceNetworks = list(
    list(
      cfnStackName = "string",
      sourceNetworkID = "string"
    )
  ),
  tags = list(
    "string"
  )
)