Skip to content

Create Stack Refactor

cloudformation_create_stack_refactor R Documentation

Creates a refactor across multiple stacks, with the list of stacks and resources that are affected

Description

Creates a refactor across multiple stacks, with the list of stacks and resources that are affected.

Usage

cloudformation_create_stack_refactor(Description, EnableStackCreation,
  ResourceMappings, StackDefinitions)

Arguments

Description

A description to help you identify the stack refactor.

EnableStackCreation

Determines if a new stack is created with the refactor.

ResourceMappings

The mappings for the stack resource Source and stack resource Destination.

StackDefinitions

[required] The stacks being refactored.

Value

A list with the following syntax:

list(
  StackRefactorId = "string"
)

Request syntax

svc$create_stack_refactor(
  Description = "string",
  EnableStackCreation = TRUE|FALSE,
  ResourceMappings = list(
    list(
      Source = list(
        StackName = "string",
        LogicalResourceId = "string"
      ),
      Destination = list(
        StackName = "string",
        LogicalResourceId = "string"
      )
    )
  ),
  StackDefinitions = list(
    list(
      StackName = "string",
      TemplateBody = "string",
      TemplateURL = "string"
    )
  )
)