Interface ModuleInfo.Builder

  • Method Details

    • typeHierarchy

      ModuleInfo.Builder typeHierarchy(String typeHierarchy)

      A concatenated list of the module type or types that contains 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

      Parameters:
      typeHierarchy - A concatenated list of the module type or types that contains 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:
      Returns a reference to this object so that method calls can be chained together.
    • logicalIdHierarchy

      ModuleInfo.Builder logicalIdHierarchy(String logicalIdHierarchy)

      A concatenated list of the logical IDs of the module or modules that contains 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 Reference module resources in CloudFormation templates in the CloudFormation User Guide.

      Parameters:
      logicalIdHierarchy - A concatenated list of the logical IDs of the module or modules that contains 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 Reference module resources in CloudFormation templates in the CloudFormation User Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.