@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.768Z") @Stability(value=Stable) public interface IAssumeRolePrincipal extends software.amazon.jsii.JsiiSerializable, IPrincipal
More complex types of identity providers need more control over Role's policy documents
than simply { Effect: 'Allow', Action: 'AssumeRole', Principal: <Whatever> }.
If that control is necessary, they can implement IAssumeRolePrincipal to get full
access to a Role's AssumeRolePolicyDocument.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IAssumeRolePrincipal.Jsii$Default
Internal default implementation for
IAssumeRolePrincipal. |
static class |
IAssumeRolePrincipal.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToAssumeRolePolicy(PolicyDocument document)
Add the princpial to the AssumeRolePolicyDocument.
|
addToPrincipalPolicy, getAssumeRoleAction, getPolicyFragment, getPrincipalAccountgetGrantPrincipal@Stability(value=Stable)
void addToAssumeRolePolicy(@NotNull
PolicyDocument document)
Add the statements to the AssumeRolePolicyDocument necessary to give this principal permissions to assume the given role.
document - This parameter is required.Copyright © 2022. All rights reserved.