ComparablePrincipal
- class aws_cdk.aws_iam.ComparablePrincipal
Bases:
object
Helper class for working with ``IComparablePrincipal``s.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_iam as iam comparable_principal = iam.ComparablePrincipal()
Static Methods
- classmethod dedupe_string_for(x)
Return the dedupeString of the given principal, if available.
- Parameters:
x (
IPrincipal
) –- Return type:
Optional
[str
]
- classmethod is_comparable_principal(x)
Whether or not the given principal is a comparable principal.
- Parameters:
x (
IPrincipal
) –- Return type:
bool