| Modifier and Type | Method and Description |
|---|---|
Role.Builder |
assumeRolePolicyDocument(com.aliyun.ros.cdk.core.IResolvable assumeRolePolicyDocument)
Property assumeRolePolicyDocument: The RAM assume role policy that is associated with this role.
|
Role.Builder |
assumeRolePolicyDocument(RosRole.AssumeRolePolicyDocumentProperty assumeRolePolicyDocument)
Property assumeRolePolicyDocument: The RAM assume role policy that is associated with this role.
|
Role |
build() |
static Role.Builder |
create(com.aliyun.ros.cdk.core.Construct scope,
String id) |
static Role.Builder |
create(com.aliyun.ros.cdk.core.Construct scope,
String id,
Boolean enableResourcePropertyConstraint) |
Role.Builder |
deletionForce(Boolean deletionForce)
Property deletionForce: Whether force detach the policies attached to the role.
|
Role.Builder |
deletionForce(com.aliyun.ros.cdk.core.IResolvable deletionForce)
Property deletionForce: Whether force detach the policies attached to the role.
|
Role.Builder |
description(com.aliyun.ros.cdk.core.IResolvable description)
Property description: Remark information, up to 1024 characters or Chinese characters.
|
Role.Builder |
description(String description)
Property description: Remark information, up to 1024 characters or Chinese characters.
|
Role.Builder |
ignoreExisting(Boolean ignoreExisting)
Property ignoreExisting: Whether to ignore existing role False: ROS will perform a uniqueness check.If a role with the same name exists, an error will be reported when creating it.
|
Role.Builder |
ignoreExisting(com.aliyun.ros.cdk.core.IResolvable ignoreExisting)
Property ignoreExisting: Whether to ignore existing role False: ROS will perform a uniqueness check.If a role with the same name exists, an error will be reported when creating it.
|
Role.Builder |
maxSessionDuration(com.aliyun.ros.cdk.core.IResolvable maxSessionDuration)
Property maxSessionDuration: The maximum session duration of the RAM role.
|
Role.Builder |
maxSessionDuration(Number maxSessionDuration)
Property maxSessionDuration: The maximum session duration of the RAM role.
|
Role.Builder |
policies(com.aliyun.ros.cdk.core.IResolvable policies)
Property policies: Describes what actions are allowed on what resources.
|
Role.Builder |
policies(List<? extends Object> policies)
Property policies: Describes what actions are allowed on what resources.
|
Role.Builder |
policyAttachments(com.aliyun.ros.cdk.core.IResolvable policyAttachments)
Property policyAttachments: System and custom policy names to attach.
|
Role.Builder |
policyAttachments(RosRole.PolicyAttachmentsProperty policyAttachments)
Property policyAttachments: System and custom policy names to attach.
|
Role.Builder |
roleName(com.aliyun.ros.cdk.core.IResolvable roleName)
Property roleName: Specifies the role name, containing up to 64 characters.
|
Role.Builder |
roleName(String roleName)
Property roleName: Specifies the role name, containing up to 64 characters.
|
public static Role.Builder create(com.aliyun.ros.cdk.core.Construct scope, String id, Boolean enableResourcePropertyConstraint)
scope - This parameter is required.id - This parameter is required.enableResourcePropertyConstraint - Role.Builder.public static Role.Builder create(com.aliyun.ros.cdk.core.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Role.Builder.public Role.Builder assumeRolePolicyDocument(com.aliyun.ros.cdk.core.IResolvable assumeRolePolicyDocument)
assumeRolePolicyDocument - Property assumeRolePolicyDocument: The RAM assume role policy that is associated with this role. This parameter is required.thispublic Role.Builder assumeRolePolicyDocument(RosRole.AssumeRolePolicyDocumentProperty assumeRolePolicyDocument)
assumeRolePolicyDocument - Property assumeRolePolicyDocument: The RAM assume role policy that is associated with this role. This parameter is required.thispublic Role.Builder roleName(String roleName)
roleName - Property roleName: Specifies the role name, containing up to 64 characters. This parameter is required.thispublic Role.Builder roleName(com.aliyun.ros.cdk.core.IResolvable roleName)
roleName - Property roleName: Specifies the role name, containing up to 64 characters. This parameter is required.thispublic Role.Builder deletionForce(Boolean deletionForce)
Default value is false.
deletionForce - Property deletionForce: Whether force detach the policies attached to the role. This parameter is required.thispublic Role.Builder deletionForce(com.aliyun.ros.cdk.core.IResolvable deletionForce)
Default value is false.
deletionForce - Property deletionForce: Whether force detach the policies attached to the role. This parameter is required.thispublic Role.Builder description(String description)
description - Property description: Remark information, up to 1024 characters or Chinese characters. This parameter is required.thispublic Role.Builder description(com.aliyun.ros.cdk.core.IResolvable description)
description - Property description: Remark information, up to 1024 characters or Chinese characters. This parameter is required.thispublic Role.Builder ignoreExisting(Boolean ignoreExisting)
ignoreExisting - Property ignoreExisting: Whether to ignore existing role False: ROS will perform a uniqueness check.If a role with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a role with the same name, the role creation process will be ignored. If the role is not created by ROS, it will be ignored during update and delete stage. This parameter is required.thispublic Role.Builder ignoreExisting(com.aliyun.ros.cdk.core.IResolvable ignoreExisting)
ignoreExisting - Property ignoreExisting: Whether to ignore existing role False: ROS will perform a uniqueness check.If a role with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a role with the same name, the role creation process will be ignored. If the role is not created by ROS, it will be ignored during update and delete stage. This parameter is required.thispublic Role.Builder maxSessionDuration(Number maxSessionDuration)
Valid values: 3600 to 43200. Unit: seconds. Default value: 3600. The default value is used if the parameter is not specified.
maxSessionDuration - Property maxSessionDuration: The maximum session duration of the RAM role. This parameter is required.thispublic Role.Builder maxSessionDuration(com.aliyun.ros.cdk.core.IResolvable maxSessionDuration)
Valid values: 3600 to 43200. Unit: seconds. Default value: 3600. The default value is used if the parameter is not specified.
maxSessionDuration - Property maxSessionDuration: The maximum session duration of the RAM role. This parameter is required.thispublic Role.Builder policies(com.aliyun.ros.cdk.core.IResolvable policies)
policies - Property policies: Describes what actions are allowed on what resources. This parameter is required.thispublic Role.Builder policies(List<? extends Object> policies)
policies - Property policies: Describes what actions are allowed on what resources. This parameter is required.thispublic Role.Builder policyAttachments(com.aliyun.ros.cdk.core.IResolvable policyAttachments)
policyAttachments - Property policyAttachments: System and custom policy names to attach. This parameter is required.thispublic Role.Builder policyAttachments(RosRole.PolicyAttachmentsProperty policyAttachments)
policyAttachments - Property policyAttachments: System and custom policy names to attach. This parameter is required.thisCopyright © 2023. All rights reserved.