Class ComparablePrincipal
Helper class for working with IComparablePrincipal
s.
Inheritance
System.Object
ComparablePrincipal
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ComparablePrincipal : DeputyBase
Syntax (vb)
Public Class ComparablePrincipal
Inherits DeputyBase
Remarks
ExampleMetadata: fixture=_generated
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();
Synopsis
Constructors
ComparablePrincipal() | |
ComparablePrincipal(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ComparablePrincipal(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Methods
DedupeStringFor(IPrincipal) | Return the dedupeString of the given principal, if available. |
IsComparablePrincipal(IPrincipal) | Whether or not the given principal is a comparable principal. |
Constructors
ComparablePrincipal()
public ComparablePrincipal()
ComparablePrincipal(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ComparablePrincipal(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ComparablePrincipal(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ComparablePrincipal(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Methods
DedupeStringFor(IPrincipal)
Return the dedupeString of the given principal, if available.
public static string DedupeStringFor(IPrincipal x)
Parameters
Returns
System.String
IsComparablePrincipal(IPrincipal)
Whether or not the given principal is a comparable principal.
public static bool IsComparablePrincipal(IPrincipal x)
Parameters
Returns
System.Boolean