Show / Hide Table of Contents

Class ComparablePrincipal

Helper class for working with IComparablePrincipals.

Inheritance
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()

Helper class for working with IComparablePrincipals.

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()

Helper class for working with IComparablePrincipals.

public ComparablePrincipal()
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();

Methods

DedupeStringFor(IPrincipal)

Return the dedupeString of the given principal, if available.

public static string? DedupeStringFor(IPrincipal x)
Parameters
x IPrincipal
Returns

string

Remarks

ExampleMetadata: fixture=_generated

IsComparablePrincipal(IPrincipal)

Whether or not the given principal is a comparable principal.

public static bool IsComparablePrincipal(IPrincipal x)
Parameters
x IPrincipal
Returns

bool

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX