You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudFormation::Types::UpdateTerminationProtectionInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb

Overview

Note:

When making an API call, you may pass UpdateTerminationProtectionInput data as a hash:

{
  enable_termination_protection: false, # required
  stack_name: "StackNameOrId", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#enable_termination_protectionBoolean

Whether to enable termination protection on the specified stack.

Returns:

  • (Boolean)


5269
5270
5271
5272
5273
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 5269

class UpdateTerminationProtectionInput < Struct.new(
  :enable_termination_protection,
  :stack_name)
  include Aws::Structure
end

#stack_nameString

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

Returns:

  • (String)


5269
5270
5271
5272
5273
# File 'gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/types.rb', line 5269

class UpdateTerminationProtectionInput < Struct.new(
  :enable_termination_protection,
  :stack_name)
  include Aws::Structure
end