@Generated(value="jsii-pacmak/1.85.0 (build 08ee592)", date="2023-12-26T06:30:17.397Z") public class Role extends com.aliyun.ros.cdk.core.Resource
ALIYUN::RAM::Role, which is used to create a RAM role.| Modifier and Type | Class and Description |
|---|---|
static class |
Role.Builder
A fluent builder for
Role. |
| Modifier | Constructor and Description |
|---|---|
|
Role(com.aliyun.ros.cdk.core.Construct scope,
String id,
RoleProps props)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
|
|
Role(com.aliyun.ros.cdk.core.Construct scope,
String id,
RoleProps props,
Boolean enableResourcePropertyConstraint)
Param scope - scope in which this resource is defined Param id - scoped id of the resource Param props - resource properties.
|
protected |
Role(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Role(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
com.aliyun.ros.cdk.core.IResolvable |
getAttrArn()
Attribute Arn: Name of alicloud resource.
|
com.aliyun.ros.cdk.core.IResolvable |
getAttrRoleId()
Attribute RoleId: Id of ram role.
|
com.aliyun.ros.cdk.core.IResolvable |
getAttrRoleName()
Attribute RoleName: Name of ram role.
|
addCondition, addCount, addDependency, addResourceDesc, applyRemovalPolicy, generatePhysicalName, getAtt, getPhysicalName, getRef, getResource, getStack, setMetadata, setResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Role(software.amazon.jsii.JsiiObjectRef objRef)
protected Role(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public Role(@NotNull
com.aliyun.ros.cdk.core.Construct scope,
@NotNull
String id,
@NotNull
RoleProps props,
@Nullable
Boolean enableResourcePropertyConstraint)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.enableResourcePropertyConstraint - public Role(@NotNull
com.aliyun.ros.cdk.core.Construct scope,
@NotNull
String id,
@NotNull
RoleProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@NotNull public com.aliyun.ros.cdk.core.IResolvable getAttrArn()
@NotNull public com.aliyun.ros.cdk.core.IResolvable getAttrRoleId()
@NotNull public com.aliyun.ros.cdk.core.IResolvable getAttrRoleName()
Copyright © 2023. All rights reserved.