class Amazonite::CloudFormation::WarningDetail

Overview

The warnings generated for a specific resource for this generated template.

Defined in:

cloudformation/warning_detail.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(type : WarningType | Nil = nil, properties : Array(WarningProperty) | 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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def properties : Array(WarningProperty) | Nil #

The properties of the resource that are impacted by this warning.


[View source]
def properties=(properties : Array(WarningProperty) | Nil) #

The properties of the resource that are impacted by this warning.


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

[View source]
def type : WarningType | Nil #

The type of this warning. For more information, see Resolve write-only properties in the CloudFormation User Guide.

  • MUTUALLY_EXCLUSIVE_PROPERTIES - The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffix OneOf and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties.

  • UNSUPPORTED_PROPERTIES - Unsupported properties are present in the resource. One example of unsupported properties would be a required write-only property that is an array, because a parameter cannot be an array. Another example is an optional write-only property.

  • MUTUALLY_EXCLUSIVE_TYPES - One or more required write-only properties are found in the resource, and the type of that property can be any of several types.

Currently the resource and property reference documentation does not indicate if a property uses a type of oneOf or anyOf. You need to look at the resource provider schema.


[View source]
def type=(type : WarningType | Nil) #

The type of this warning. For more information, see Resolve write-only properties in the CloudFormation User Guide.

  • MUTUALLY_EXCLUSIVE_PROPERTIES - The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffix OneOf and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties.

  • UNSUPPORTED_PROPERTIES - Unsupported properties are present in the resource. One example of unsupported properties would be a required write-only property that is an array, because a parameter cannot be an array. Another example is an optional write-only property.

  • MUTUALLY_EXCLUSIVE_TYPES - One or more required write-only properties are found in the resource, and the type of that property can be any of several types.

Currently the resource and property reference documentation does not indicate if a property uses a type of oneOf or anyOf. You need to look at the resource provider schema.


[View source]
def validate! : Nil #

[View source]