Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cloudformation_update_termination_protection

Updates termination protection for the specified stack


Description

Updates termination protection for the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the AWS CloudFormation User Guide.

For nested stacks, termination protection is set on the root stack and cannot be changed directly on the nested stack.

Usage

cloudformation_update_termination_protection(
  EnableTerminationProtection, StackName)

Arguments

EnableTerminationProtection

[required] Whether to enable termination protection on the specified stack.

StackName

[required] The name or unique ID of the stack for which you want to set termination protection.

Value

A list with the following syntax:

list(
  StackId = "string"
)

Request syntax

svc$update_termination_protection(
  EnableTerminationProtection = TRUE|FALSE,
  StackName = "string"
)

paws.management

Amazon Web Services Management & Governance Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.