MDAA TS Docs
    Preparing search index...

    A Helper class which can be used to resolve MdaaRoleRefs using CustomResources.

    Index

    Constructors

    • Parameters

      • scope: Construct

        The scope in which role resolution CR Provider will be created.

      • naming: IMdaaResourceNaming

        The MDAA naming implementation which will be used to name resources

      • OptionalproviderServiceToken: string

        from the perspective of the calling module.

      Returns MdaaRoleHelper

    Methods

    • Returns string

      A Custom Resource Provider Service Token which can be used to create role resolver custom resources.

    • Can be used to resolve MdaaRoleRefs. Each MdaaRoleRef is first converted to a MdaaResolvableRoleRef by auto generating a role ref unique id using refPrefix and a generated ordinal.

      Parameters

      • roleRefs: MdaaRoleRef[]

        The role references to be resolved

      • refPrefix: string

        The prefix which will be used with ordinal to create a unique ID for use as a resource ID within scopes

      Returns MdaaResolvableRole[]

      Resolvable roles.