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.98.0 (build 00b106d)", date="2024-05-17T05:10:12.067Z") @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.