class Amazonite::CloudFormation::ExecuteChangeSetInput

Overview

The input for the ExecuteChangeSet action.

Defined in:

cloudformation/execute_change_set_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(change_set_name : String, stack_name : String | Nil = nil, client_request_token : String | Nil = nil, disable_rollback : Bool | Nil = nil, retain_except_on_create : Bool | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def change_set_name : String #

The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.


[View source]
def change_set_name=(change_set_name : String) #

The name or Amazon Resource Name (ARN) of the change set that you want use to update the specified stack.


[View source]
def client_request_token : String | Nil #

A unique identifier for this ExecuteChangeSet request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet requests to ensure that CloudFormation successfully received them.


[View source]
def client_request_token=(client_request_token : String | Nil) #

A unique identifier for this ExecuteChangeSet request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to execute a change set to update a stack with the same name. You might retry ExecuteChangeSet requests to ensure that CloudFormation successfully received them.


[View source]
def disable_rollback : Bool | Nil #

Preserves the state of previously provisioned resources when an operation fails. This parameter can't be specified when the OnStackFailure parameter to the CreateChangeSet API operation was specified.

  • True - if the stack creation fails, do nothing. This is equivalent to specifying DO_NOTHING for the OnStackFailure parameter to the CreateChangeSet API operation.

  • False - if the stack creation fails, roll back the stack. This is equivalent to specifying ROLLBACK for the OnStackFailure parameter to the CreateChangeSet API operation.

Default: True


[View source]
def disable_rollback=(disable_rollback : Bool | Nil) #

Preserves the state of previously provisioned resources when an operation fails. This parameter can't be specified when the OnStackFailure parameter to the CreateChangeSet API operation was specified.

  • True - if the stack creation fails, do nothing. This is equivalent to specifying DO_NOTHING for the OnStackFailure parameter to the CreateChangeSet API operation.

  • False - if the stack creation fails, roll back the stack. This is equivalent to specifying ROLLBACK for the OnStackFailure parameter to the CreateChangeSet API operation.

Default: True


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def retain_except_on_create : Bool | Nil #

When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain.

Default: false


[View source]
def retain_except_on_create=(retain_except_on_create : Bool | Nil) #

When set to true, newly created resources are deleted when the operation rolls back. This includes newly created resources marked with a deletion policy of Retain.

Default: false


[View source]
def stack_name : String | Nil #

If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's associated with the change set you want to execute.


[View source]
def stack_name=(stack_name : String | Nil) #

If you specified the name of a change set, specify the stack name or Amazon Resource Name (ARN) that's associated with the change set you want to execute.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]