class Amazonite::CloudFormation::StackRefactorAction

Overview

Describes the stack and the action that CloudFormation will perform on it if you execute the stack refactor.

Defined in:

cloudformation/stack_refactor_action.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(action : StackRefactorActionType | Nil = nil, entity : StackRefactorActionEntity | Nil = nil, physical_resource_id : String | Nil = nil, resource_identifier : String | Nil = nil, description : String | Nil = nil, detection : StackRefactorDetection | Nil = nil, detection_reason : String | Nil = nil, tag_resources : Array(Tag) | Nil = nil, untag_resources : Array(String) | Nil = nil, resource_mapping : ResourceMapping | 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 action : StackRefactorActionType | Nil #

The action that CloudFormation takes on the stack.


[View source]
def action=(action : StackRefactorActionType | Nil) #

The action that CloudFormation takes on the stack.


[View source]
def description : String | Nil #

A description to help you identify the refactor.


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

A description to help you identify the refactor.


[View source]
def detection : StackRefactorDetection | Nil #

The detection type is one of the following:

  • Auto: CloudFormation figured out the mapping on its own.

  • Manual: The customer provided the mapping in the ResourceMapping parameter.


[View source]
def detection=(detection : StackRefactorDetection | Nil) #

The detection type is one of the following:

  • Auto: CloudFormation figured out the mapping on its own.

  • Manual: The customer provided the mapping in the ResourceMapping parameter.


[View source]
def detection_reason : String | Nil #

The description of the detection type.


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

The description of the detection type.


[View source]
def entity : StackRefactorActionEntity | Nil #

The type that will be evaluated in the StackRefactorAction. The following are potential Entity types:


[View source]
def entity=(entity : StackRefactorActionEntity | Nil) #

The type that will be evaluated in the StackRefactorAction. The following are potential Entity types:


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

See Object#hash(hasher)


def physical_resource_id : String | Nil #

The name or unique identifier associated with the physical instance of the resource.


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

The name or unique identifier associated with the physical instance of the resource.


[View source]
def resource_identifier : String | Nil #

A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).


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

A key-value pair that identifies the target resource. The key is an identifier property (for example, BucketName for AWS::S3::Bucket resources) and the value is the actual property value (for example, MyS3Bucket).


[View source]
def resource_mapping : ResourceMapping | Nil #

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


[View source]
def resource_mapping=(resource_mapping : ResourceMapping | Nil) #

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


[View source]
def tag_resources : Array(Tag) | Nil #

Assigns one or more tags to specified resources.


[View source]
def tag_resources=(tag_resources : Array(Tag) | Nil) #

Assigns one or more tags to specified resources.


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

[View source]
def untag_resources : Array(String) | Nil #

Removes one or more tags to specified resources.


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

Removes one or more tags to specified resources.


[View source]
def validate! : Nil #

[View source]