Class ComparablePrincipal
Helper class for working with IComparablePrincipal
s.
public class ComparablePrincipal : DeputyBase
- Inheritance
-
ComparablePrincipal
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IAM;
var comparablePrincipal = new ComparablePrincipal();
Remarks
ExampleMetadata: fixture=_generated
Constructors
ComparablePrincipal()
public ComparablePrincipal()
Methods
DedupeStringFor(IPrincipal)
Return the dedupeString of the given principal, if available.
public static string? DedupeStringFor(IPrincipal x)
Parameters
Returns
IsComparablePrincipal(IPrincipal)
Whether or not the given principal is a comparable principal.
public static bool IsComparablePrincipal(IPrincipal x)