Interface IComparablePrincipal
- All Superinterfaces:
IGrantable
,IPrincipal
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IComparablePrincipal.Jsii$Default
- All Known Implementing Classes:
AccountPrincipal
,AccountRootPrincipal
,Anyone
,AnyPrincipal
,ArnPrincipal
,CanonicalUserPrincipal
,CompositePrincipal
,FederatedPrincipal
,IComparablePrincipal.Jsii$Proxy
,OpenIdConnectPrincipal
,OrganizationPrincipal
,PrincipalBase
,PrincipalWithConditions
,SamlConsolePrincipal
,SamlPrincipal
,ServicePrincipal
,SessionTagsPrincipal
,StarPrincipal
,ViaServicePrincipal
,WebIdentityPrincipal
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.314Z")
@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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIComparablePrincipal
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionReturn a string format of this principal which should be identical if the two principals are the same.Methods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipal
Methods inherited from interface software.amazon.awscdk.services.iam.IPrincipal
addToPolicy, addToPrincipalPolicy, getAssumeRoleAction, getPolicyFragment, getPrincipalAccount
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
dedupeString
Return a string format of this principal which should be identical if the two principals are the same.
-