Interface IComparablePrincipal

All Superinterfaces:
IGrantable, IPrincipal, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IComparablePrincipal.Jsii$Default
All Known Implementing Classes:
AccountPrincipal, AccountRootPrincipal, AnyPrincipal, ArnPrincipal, CanonicalUserPrincipal, CompositePrincipal, FederatedPrincipal, IComparablePrincipal.Jsii$Proxy, OpenIdConnectPrincipal, OrganizationPrincipal, PrincipalBase, PrincipalWithConditions, SamlConsolePrincipal, SamlPrincipal, ServicePrincipal, SessionTagsPrincipal, StarPrincipal, ViaServicePrincipal, WebIdentityPrincipal

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-29T22:54:19.964Z") @Stability(Stable) public interface IComparablePrincipal extends software.amazon.jsii.JsiiSerializable, IPrincipal
Interface for principals that can be compared.

This only needs to be implemented for principals that could potentially be value-equal. Identity-equal principals will be handled correctly by default.

  • Method Details

    • dedupeString

      @Stability(Stable) @Nullable String dedupeString()
      Return a string format of this principal which should be identical if the two principals are the same.