@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:31.417Z") @Stability(value=Experimental) public interface IRole extends software.amazon.jsii.JsiiSerializable, IIdentity
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IRole.Jsii$Default
Internal default implementation for
IRole. |
static class |
IRole.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRoleArn()
(experimental) Returns the ARN of this role.
|
String |
getRoleName()
(experimental) Returns the name of this role.
|
Grant |
grant(IPrincipal grantee,
String... actions)
(experimental) Grant the actions defined in actions to the identity Principal on this resource.
|
Grant |
grantPassRole(IPrincipal grantee)
(experimental) Grant permissions to the given principal to pass this role.
|
addManagedPolicy, attachInlinePolicyaddToPrincipalPolicy, getAssumeRoleAction, getPolicyFragment, getPrincipalAccountgetGrantPrincipal@Stability(value=Experimental) @NotNull String getRoleArn()
@Stability(value=Experimental) @NotNull String getRoleName()
@Stability(value=Experimental) @NotNull Grant grant(@NotNull IPrincipal grantee, @NotNull String... actions)
grantee - This parameter is required.actions - This parameter is required.@Stability(value=Experimental) @NotNull Grant grantPassRole(@NotNull IPrincipal grantee)
grantee - This parameter is required.Copyright © 2021. All rights reserved.