Class: Aws::CloudFormation::Types::WarningDetail

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#propertiesArray<Types::WarningProperty>

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

Returns:



11607
11608
11609
11610
11611
11612
# File 'lib/aws-sdk-cloudformation/types.rb', line 11607

class WarningDetail < Struct.new(
  :type,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of this warning. For more information, see [IaC generator and 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.

<note markdown=“1”> 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.

</note>

[1]: docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/generate-IaC-write-only-properties.html

Returns:

  • (String)


11607
11608
11609
11610
11611
11612
# File 'lib/aws-sdk-cloudformation/types.rb', line 11607

class WarningDetail < Struct.new(
  :type,
  :properties)
  SENSITIVE = []
  include Aws::Structure
end