Interface IRole.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IGrantable,IGrantable.Jsii$Default,IIdentity,IIdentity.Jsii$Default,IPrincipal,IPrincipal.Jsii$Default,IResource,IResource.Jsii$Default,IRole,IRoleRef,IRoleRef.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IRole.Jsii$Proxy
- Enclosing interface:
IRole
@Internal
public static interface IRole.Jsii$Default
extends IRole, IRoleRef.Jsii$Default, IIdentity.Jsii$Default
Internal default implementation for
IRole.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IIdentity
IIdentity.Jsii$Default, IIdentity.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IPrincipal
IPrincipal.Jsii$Default, IPrincipal.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IRole
IRole.Jsii$Default, IRole.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.iam.IRoleRef
IRoleRef.Jsii$Default, IRoleRef.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the ARN of this role.default StringReturns the name of this role.default Grantgrant(IPrincipal grantee, String... actions) Grant the actions defined in actions to the identity Principal on this resource.default GrantgrantAssumeRole(IPrincipal grantee) Grant permissions to the given principal to assume this role.default GrantgrantPassRole(IPrincipal grantee) Grant permissions to the given principal to pass this role.Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable.Jsii$Default
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.services.iam.IIdentity.Jsii$Default
addManagedPolicy, attachInlinePolicyMethods inherited from interface software.amazon.awscdk.services.iam.IPrincipal.Jsii$Default
addToPrincipalPolicy, getAssumeRoleAction, getPolicyFragment, getPrincipalAccountMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.interfaces.iam.IRoleRef.Jsii$Default
getRoleRefMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRoleArn
Returns the ARN of this role.- Specified by:
getRoleArnin interfaceIRole
-
getRoleName
Returns the name of this role.- Specified by:
getRoleNamein interfaceIRole
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IPrincipal grantee, @NotNull String... actions) Grant the actions defined in actions to the identity Principal on this resource. -
grantAssumeRole
Grant permissions to the given principal to assume this role.- Specified by:
grantAssumeRolein interfaceIRole- Parameters:
grantee- This parameter is required.
-
grantPassRole
Grant permissions to the given principal to pass this role.- Specified by:
grantPassRolein interfaceIRole- Parameters:
grantee- This parameter is required.
-