Interface IComparablePrincipal.Jsii$Default
- All Superinterfaces:
IComparablePrincipal
,IGrantable
,IGrantable.Jsii$Default
,IPrincipal
,IPrincipal.Jsii$Default
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IComparablePrincipal.Jsii$Proxy
- Enclosing interface:
IComparablePrincipal
@Internal
public static interface IComparablePrincipal.Jsii$Default
extends IComparablePrincipal, IPrincipal.Jsii$Default
Internal default implementation for
IComparablePrincipal
.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IComparablePrincipal
IComparablePrincipal.Jsii$Default, IComparablePrincipal.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IPrincipal
IPrincipal.Jsii$Default, IPrincipal.Jsii$Proxy
-
Method Summary
Modifier and TypeMethodDescriptiondefault AddToPrincipalPolicyResult
addToPrincipalPolicy
(PolicyStatement statement) Add to the policy of this principal.default String
Return a string format of this principal which should be identical if the two principals are the same.default String
When this Principal is used in an AssumeRole policy, the action to use.default IPrincipal
The principal to grant permissions to.default PrincipalPolicyFragment
Return the policy fragment that identifies this principal in a Policy.default String
The AWS account ID of this principal.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGrantPrincipal
The principal to grant permissions to.- Specified by:
getGrantPrincipal
in interfaceIGrantable
- Specified by:
getGrantPrincipal
in interfaceIGrantable.Jsii$Default
- Specified by:
getGrantPrincipal
in interfaceIPrincipal.Jsii$Default
-
getAssumeRoleAction
When this Principal is used in an AssumeRole policy, the action to use.- Specified by:
getAssumeRoleAction
in interfaceIPrincipal
- Specified by:
getAssumeRoleAction
in interfaceIPrincipal.Jsii$Default
-
getPolicyFragment
Return the policy fragment that identifies this principal in a Policy.- Specified by:
getPolicyFragment
in interfaceIPrincipal
- Specified by:
getPolicyFragment
in interfaceIPrincipal.Jsii$Default
-
getPrincipalAccount
The AWS account ID of this principal.Can be undefined when the account is not known (for example, for service principals). Can be a Token - in that case, it's assumed to be AWS::AccountId.
- Specified by:
getPrincipalAccount
in interfaceIPrincipal
- Specified by:
getPrincipalAccount
in interfaceIPrincipal.Jsii$Default
-
addToPrincipalPolicy
@Stability(Stable) @NotNull default AddToPrincipalPolicyResult addToPrincipalPolicy(@NotNull PolicyStatement statement) Add to the policy of this principal.- Specified by:
addToPrincipalPolicy
in interfaceIPrincipal
- Specified by:
addToPrincipalPolicy
in interfaceIPrincipal.Jsii$Default
- Parameters:
statement
- This parameter is required.
-
dedupeString
Return a string format of this principal which should be identical if the two principals are the same.- Specified by:
dedupeString
in interfaceIComparablePrincipal
-