Class ModuleInfo

    • Method Detail

      • typeHierarchy

        public final String typeHierarchy()

        A concatenated list of the module type or types containing the resource. Module types are listed starting with the inner-most nested module, and separated by /.

        In the following example, the resource was created from a module of type AWS::First::Example::MODULE , that's nested inside a parent module of type AWS::Second::Example::MODULE.

        AWS::First::Example::MODULE/AWS::Second::Example::MODULE

        Returns:
        A concatenated list of the module type or types containing the resource. Module types are listed starting with the inner-most nested module, and separated by /.

        In the following example, the resource was created from a module of type AWS::First::Example::MODULE, that's nested inside a parent module of type AWS::Second::Example::MODULE.

        AWS::First::Example::MODULE/AWS::Second::Example::MODULE

      • logicalIdHierarchy

        public final String logicalIdHierarchy()

        A concatenated list of the logical IDs of the module or modules containing the resource. Modules are listed starting with the inner-most nested module, and separated by /.

        In the following example, the resource was created from a module, moduleA, that's nested inside a parent module, moduleB.

        moduleA/moduleB

        For more information, see Referencing resources in a module in the CloudFormation User Guide.

        Returns:
        A concatenated list of the logical IDs of the module or modules containing the resource. Modules are listed starting with the inner-most nested module, and separated by /.

        In the following example, the resource was created from a module, moduleA, that's nested inside a parent module, moduleB.

        moduleA/moduleB

        For more information, see Referencing resources in a module in the CloudFormation User Guide.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)