@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.405Z") @Stability(value=Experimental) public interface IIdentity extends software.amazon.jsii.JsiiSerializable, IPrincipal, IResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IIdentity.Jsii$Default
Internal default implementation for
IIdentity. |
static class |
IIdentity.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addManagedPolicy(IManagedPolicy policy)
(experimental) Attaches a managed policy to this principal.
|
void |
attachInlinePolicy(Policy policy)
(experimental) Attaches an inline policy to this principal.
|
addToPrincipalPolicy, getAssumeRoleAction, getPolicyFragment, getPrincipalAccountgetGrantPrincipal@Stability(value=Experimental)
void addManagedPolicy(@NotNull
IManagedPolicy policy)
policy - The managed policy. This parameter is required.@Stability(value=Experimental)
void attachInlinePolicy(@NotNull
Policy policy)
This is the same as calling policy.addToXxx(principal).
policy - The policy resource to attach to this principal [disable-awslint:ref-via-interface]. This parameter is required.Copyright © 2021. All rights reserved.