| Constructor and Description |
|---|
Builder() |
public RoleProps.Builder assumeRolePolicyDocument(com.aliyun.ros.cdk.core.IResolvable assumeRolePolicyDocument)
RoleProps.getAssumeRolePolicyDocument()assumeRolePolicyDocument - Property assumeRolePolicyDocument: The RAM assume role policy that is associated with this role. This parameter is required.thispublic RoleProps.Builder assumeRolePolicyDocument(RosRole.AssumeRolePolicyDocumentProperty assumeRolePolicyDocument)
RoleProps.getAssumeRolePolicyDocument()assumeRolePolicyDocument - Property assumeRolePolicyDocument: The RAM assume role policy that is associated with this role. This parameter is required.thispublic RoleProps.Builder roleName(String roleName)
RoleProps.getRoleName()roleName - Property roleName: Specifies the role name, containing up to 64 characters. This parameter is required.thispublic RoleProps.Builder roleName(com.aliyun.ros.cdk.core.IResolvable roleName)
RoleProps.getRoleName()roleName - Property roleName: Specifies the role name, containing up to 64 characters. This parameter is required.thispublic RoleProps.Builder deletionForce(Boolean deletionForce)
RoleProps.getDeletionForce()deletionForce - Property deletionForce: Whether force detach the policies attached to the role.
Default value is false.thispublic RoleProps.Builder deletionForce(com.aliyun.ros.cdk.core.IResolvable deletionForce)
RoleProps.getDeletionForce()deletionForce - Property deletionForce: Whether force detach the policies attached to the role.
Default value is false.thispublic RoleProps.Builder description(String description)
RoleProps.getDescription()description - Property description: Remark information, up to 1024 characters or Chinese characters.thispublic RoleProps.Builder description(com.aliyun.ros.cdk.core.IResolvable description)
RoleProps.getDescription()description - Property description: Remark information, up to 1024 characters or Chinese characters.thispublic RoleProps.Builder ignoreExisting(Boolean ignoreExisting)
RoleProps.getIgnoreExisting()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.thispublic RoleProps.Builder ignoreExisting(com.aliyun.ros.cdk.core.IResolvable ignoreExisting)
RoleProps.getIgnoreExisting()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.thispublic RoleProps.Builder maxSessionDuration(Number maxSessionDuration)
RoleProps.getMaxSessionDuration()maxSessionDuration - Property maxSessionDuration: The maximum session duration of the RAM role.
Valid values: 3600 to 43200. Unit: seconds. Default value: 3600.
The default value is used if the parameter is not specified.thispublic RoleProps.Builder maxSessionDuration(com.aliyun.ros.cdk.core.IResolvable maxSessionDuration)
RoleProps.getMaxSessionDuration()maxSessionDuration - Property maxSessionDuration: The maximum session duration of the RAM role.
Valid values: 3600 to 43200. Unit: seconds. Default value: 3600.
The default value is used if the parameter is not specified.thispublic RoleProps.Builder policies(com.aliyun.ros.cdk.core.IResolvable policies)
RoleProps.getPolicies()policies - Property policies: Describes what actions are allowed on what resources.thispublic RoleProps.Builder policies(List<? extends Object> policies)
RoleProps.getPolicies()policies - Property policies: Describes what actions are allowed on what resources.thispublic RoleProps.Builder policyAttachments(com.aliyun.ros.cdk.core.IResolvable policyAttachments)
RoleProps.getPolicyAttachments()policyAttachments - Property policyAttachments: System and custom policy names to attach.thispublic RoleProps.Builder policyAttachments(RosRole.PolicyAttachmentsProperty policyAttachments)
RoleProps.getPolicyAttachments()policyAttachments - Property policyAttachments: System and custom policy names to attach.thispublic RoleProps build()
build in interface software.amazon.jsii.Builder<RoleProps>RolePropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.