@Generated(value="jsii-pacmak/1.85.0 (build 08ee592)", date="2023-12-26T06:30:17.399Z") public interface RoleProps extends software.amazon.jsii.JsiiSerializable
Role.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-role
| Modifier and Type | Interface and Description |
|---|---|
static class |
RoleProps.Builder
A builder for
RoleProps |
static class |
RoleProps.Jsii$Proxy
An implementation for
RoleProps |
| Modifier and Type | Method and Description |
|---|---|
static RoleProps.Builder |
builder() |
Object |
getAssumeRolePolicyDocument()
Property assumeRolePolicyDocument: The RAM assume role policy that is associated with this role.
|
default Object |
getDeletionForce()
Property deletionForce: Whether force detach the policies attached to the role.
|
default Object |
getDescription()
Property description: Remark information, up to 1024 characters or Chinese characters.
|
default Object |
getIgnoreExisting()
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.
|
default Object |
getMaxSessionDuration()
Property maxSessionDuration: The maximum session duration of the RAM role.
|
default Object |
getPolicies()
Property policies: Describes what actions are allowed on what resources.
|
default Object |
getPolicyAttachments()
Property policyAttachments: System and custom policy names to attach.
|
Object |
getRoleName()
Property roleName: Specifies the role name, containing up to 64 characters.
|
@NotNull Object getAssumeRolePolicyDocument()
@NotNull Object getRoleName()
@Nullable default Object getDeletionForce()
Default value is false.
@Nullable default Object getDescription()
@Nullable default Object getIgnoreExisting()
@Nullable default Object getMaxSessionDuration()
Valid values: 3600 to 43200. Unit: seconds. Default value: 3600. The default value is used if the parameter is not specified.
@Nullable default Object getPolicies()
@Nullable default Object getPolicyAttachments()
static RoleProps.Builder builder()
RoleProps.Builder of RolePropsCopyright © 2023. All rights reserved.