@Generated(value="jsii-pacmak/1.85.0 (build 08ee592)", date="2023-12-26T06:30:17.427Z") public class RosRole extends com.aliyun.ros.cdk.core.RosResource
ALIYUN::RAM::Role, which is used to create a RAM role.| Modifier and Type | Class and Description |
|---|---|
static interface |
RosRole.AssumeRolePolicyDocumentProperty |
static class |
RosRole.Builder
A fluent builder for
RosRole. |
static interface |
RosRole.ConditionProperty |
static interface |
RosRole.PoliciesProperty |
static interface |
RosRole.PolicyAttachmentsProperty |
static interface |
RosRole.PolicyDocumentProperty |
static interface |
RosRole.PolicyDocumentStatementProperty |
static interface |
RosRole.PrincipalProperty |
static interface |
RosRole.StatementProperty |
| Modifier and Type | Field and Description |
|---|---|
static String |
ROS_RESOURCE_TYPE_NAME
The resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
RosRole(com.aliyun.ros.cdk.core.Construct scope,
String id,
RosRoleProps props,
Boolean enableResourcePropertyConstraint) |
protected |
RosRole(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
RosRole(software.amazon.jsii.JsiiObjectRef objRef) |
addCondition, addCount, addDeletionOverride, addDependsOn, addDesc, addMetaData, addOverride, addPropertyDeletionOverride, addPropertyOverride, addRosDependency, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getRosOptions, getRosResourceType, getUpdatedProperites, isRosResource, toString, validatePropertiesgetCreationStack, getLogicalId, getStack, isRosElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetpublic static final String ROS_RESOURCE_TYPE_NAME
protected RosRole(software.amazon.jsii.JsiiObjectRef objRef)
protected RosRole(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public RosRole(@NotNull
com.aliyun.ros.cdk.core.Construct scope,
@NotNull
String id,
@NotNull
RosRoleProps props,
@NotNull
Boolean enableResourcePropertyConstraint)
scope - id - props - enableResourcePropertyConstraint - This parameter is required.@NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class com.aliyun.ros.cdk.core.RosResource@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()
@NotNull protected Map<String,Object> getRosProperties()
getRosProperties in class com.aliyun.ros.cdk.core.RosResource@NotNull public Object getAssumeRolePolicyDocument()
public void setAssumeRolePolicyDocument(@NotNull
com.aliyun.ros.cdk.core.IResolvable value)
public void setAssumeRolePolicyDocument(@NotNull
RosRole.AssumeRolePolicyDocumentProperty value)
@NotNull public Boolean getEnableResourcePropertyConstraint()
public void setEnableResourcePropertyConstraint(@NotNull
Boolean value)
@NotNull public Object getRoleName()
public void setRoleName(@NotNull
String value)
public void setRoleName(@NotNull
com.aliyun.ros.cdk.core.IResolvable value)
@Nullable public Object getDeletionForce()
public void setDeletionForce(@Nullable
Boolean value)
public void setDeletionForce(@Nullable
com.aliyun.ros.cdk.core.IResolvable value)
@Nullable public Object getDescription()
public void setDescription(@Nullable
String value)
public void setDescription(@Nullable
com.aliyun.ros.cdk.core.IResolvable value)
@Nullable public Object getIgnoreExisting()
public void setIgnoreExisting(@Nullable
Boolean value)
public void setIgnoreExisting(@Nullable
com.aliyun.ros.cdk.core.IResolvable value)
@Nullable public Object getMaxSessionDuration()
public void setMaxSessionDuration(@Nullable
Number value)
public void setMaxSessionDuration(@Nullable
com.aliyun.ros.cdk.core.IResolvable value)
@Nullable public Object getPolicies()
public void setPolicies(@Nullable
com.aliyun.ros.cdk.core.IResolvable value)
@Nullable public Object getPolicyAttachments()
public void setPolicyAttachments(@Nullable
com.aliyun.ros.cdk.core.IResolvable value)
public void setPolicyAttachments(@Nullable
RosRole.PolicyAttachmentsProperty value)
Copyright © 2023. All rights reserved.