IRole
Represents a Role.
Properties
| Name | Type | Description |
|---|---|---|
node | com.aliyun.ros.cdk.core.ConstructNode | The construct tree node for this construct. |
env | com.aliyun.ros.cdk.core.IResourceEnvironment | The environment this resource belongs to. |
stack | com.aliyun.ros.cdk.core.Stack | The stack in which this resource is defined. |
attrArn | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Arn: The resource descriptor of the role. |
attrAssumeRolePolicyDocument | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute AssumeRolePolicyDocument: The content of the permissions strategy that plays a role. |
attrCreateTime | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute CreateTime: Role creation time. |
attrDescription | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute Description: The description of the Resource Manager role. |
attrMaxSessionDuration | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute MaxSessionDuration: Role maximum session time. |
attrRoleId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute RoleId: This ID of Resource Manager role. |
attrRoleName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute RoleName: Role Name. |
attrUpdateDate | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Attribute UpdateDate: Role update time. |
props | RoleProps | No description. |
nodeRequired
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node for this construct.
envRequired
public IResourceEnvironment getEnv();
- Type: com.aliyun.ros.cdk.core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
public Stack getStack();
- Type: com.aliyun.ros.cdk.core.Stack
The stack in which this resource is defined.
attrArnRequired
public java.lang.Object getAttrArn();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Arn: The resource descriptor of the role.
attrAssumeRolePolicyDocumentRequired
public java.lang.Object getAttrAssumeRolePolicyDocument();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute AssumeRolePolicyDocument: The content of the permissions strategy that plays a role.
attrCreateTimeRequired
public java.lang.Object getAttrCreateTime();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute CreateTime: Role creation time.
attrDescriptionRequired
public java.lang.Object getAttrDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute Description: The description of the Resource Manager role.
attrMaxSessionDurationRequired
public java.lang.Object getAttrMaxSessionDuration();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute MaxSessionDuration: Role maximum session time.
Valid values: [3600-43200].
attrRoleIdRequired
public java.lang.Object getAttrRoleId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute RoleId: This ID of Resource Manager role.
attrRoleNameRequired
public java.lang.Object getAttrRoleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute RoleName: Role Name.
attrUpdateDateRequired
public java.lang.Object getAttrUpdateDate();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Attribute UpdateDate: Role update time.
propsRequired
public RoleProps getProps();
- Type: RoleProps