@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:46.869Z") public interface IAssumeRolePrincipal extends 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.
|
addToPolicy, addToPrincipalPolicy, getAssumeRoleAction, getPolicyFragment, getPrincipalAccount
getGrantPrincipal
void addToAssumeRolePolicy(PolicyDocument document)
Add the statements to the AssumeRolePolicyDocument necessary to give this principal permissions to assume the given role.
document
- This parameter is required.