Skip to content

Associate Source Network Stack

drs_associate_source_network_stack R Documentation

Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network

Description

Associate a Source Network to an existing CloudFormation Stack and modify launch templates to use this network. Can be used for reverting to previously deployed CloudFormation stacks.

Usage

drs_associate_source_network_stack(cfnStackName, sourceNetworkID)

Arguments

cfnStackName

[required] CloudFormation template to associate with a Source Network.

sourceNetworkID

[required] The Source Network ID to associate with CloudFormation template.

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$associate_source_network_stack(
  cfnStackName = "string",
  sourceNetworkID = "string"
)