class Amazonite::CloudFormation::ChangeSetHook

Overview

Specifies the resource, the Hook, and the Hook version to be invoked.

Defined in:

cloudformation/change_set_hook.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(invocation_point : HookInvocationPoint | Nil = nil, failure_mode : HookFailureMode | Nil = nil, type_name : String | Nil = nil, type_version_id : String | Nil = nil, type_configuration_version_id : String | Nil = nil, target_details : ChangeSetHookTargetDetails | 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 failure_mode : HookFailureMode | Nil #

Specify the Hook failure mode for non-compliant resources in the followings ways.

  • FAIL Stops provisioning resources.

  • WARN Allows provisioning to continue with a warning message.


[View source]
def failure_mode=(failure_mode : HookFailureMode | Nil) #

Specify the Hook failure mode for non-compliant resources in the followings ways.

  • FAIL Stops provisioning resources.

  • WARN Allows provisioning to continue with a warning message.


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

See Object#hash(hasher)


def invocation_point : HookInvocationPoint | Nil #

The specific point in the provisioning process where the Hook is invoked.


[View source]
def invocation_point=(invocation_point : HookInvocationPoint | Nil) #

The specific point in the provisioning process where the Hook is invoked.


[View source]
def target_details : ChangeSetHookTargetDetails | Nil #

Specifies details about the target that the Hook will run against.


[View source]
def target_details=(target_details : ChangeSetHookTargetDetails | Nil) #

Specifies details about the target that the Hook will run against.


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

[View source]
def type_configuration_version_id : String | Nil #

The version ID of the type configuration.


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

The version ID of the type configuration.


[View source]
def type_name : String | Nil #

The unique name for your Hook. Specifies a three-part namespace for your Hook, with a recommended pattern of Organization::Service::Hook.

The following organization namespaces are reserved and can't be used in your Hook type names:

  • Alexa

  • AMZN

  • Amazon

  • ASK

  • AWS

  • Custom

  • Dev


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

The unique name for your Hook. Specifies a three-part namespace for your Hook, with a recommended pattern of Organization::Service::Hook.

The following organization namespaces are reserved and can't be used in your Hook type names:

  • Alexa

  • AMZN

  • Amazon

  • ASK

  • AWS

  • Custom

  • Dev


[View source]
def type_version_id : String | Nil #

The version ID of the type specified.


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

The version ID of the type specified.


[View source]
def validate! : Nil #

[View source]