@Generated(value="jsii-pacmak/1.85.0 (build 08ee592)", date="2023-12-26T06:30:17.445Z") public interface SecurityPreferenceProps extends software.amazon.jsii.JsiiSerializable
SecurityPreference.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-securitypreference
| Modifier and Type | Interface and Description |
|---|---|
static class |
SecurityPreferenceProps.Builder
A builder for
SecurityPreferenceProps |
static class |
SecurityPreferenceProps.Jsii$Proxy
An implementation for
SecurityPreferenceProps |
| Modifier and Type | Method and Description |
|---|---|
static SecurityPreferenceProps.Builder |
builder() |
default Object |
getAllowUserToChangePassword()
Property allowUserToChangePassword: Specifies whether RAM users can change their passwords.
|
default Object |
getAllowUserToManageAccessKeys()
Property allowUserToManageAccessKeys: Specifies whether RAM users can manage their AccessKey pairs.
|
default Object |
getAllowUserToManageMfaDevices()
Property allowUserToManageMfaDevices: Specifies whether RAM users can manage their MFA devices.
|
default Object |
getAllowUserToManagePublicKeys()
Property allowUserToManagePublicKeys: Specifies whether RAM users can manage their public keys.
|
default Object |
getEnableSaveMfaTicket()
Property enableSaveMfaTicket: Specifies whether RAM users can save multi-factor authentication (MFA) security codes during logon.
|
default Object |
getLoginNetworkMasks()
Property loginNetworkMasks: The subnet mask that specifies the IP addresses from which logon to the console is allowed.
|
default Object |
getLoginSessionDuration()
Property loginSessionDuration: The validity period of the logon session of the RAM user.
|
@Nullable default Object getAllowUserToChangePassword()
Valid values: true: RAM users can change their passwords. This is the default value. false: RAM users cannot change their passwords.
@Nullable default Object getAllowUserToManageAccessKeys()
Valid values: true: RAM users can manage their AccessKey pairs. false: RAM users cannot manage their AccessKey pairs. This is the default value.
@Nullable default Object getAllowUserToManageMfaDevices()
Valid values: true: RAM users can manage their MFA devices. This is the default value. false: RAM users cannot manage their MFA devices.
@Nullable default Object getAllowUserToManagePublicKeys()
Valid values: true: RAM users can manage their public keys. false: RAM users cannot manage their public keys. This is the default value. Note This parameter is valid only for the Japan site.
@Nullable default Object getEnableSaveMfaTicket()
The security codes are valid for 7 days. Valid values: true: RAM users can save MFA security codes during logon. false: RAM users cannot save MFA security codes during logon. This is the default value.
@Nullable default Object getLoginNetworkMasks()
This parameter applies to password-based logon and single sign-on (SSO). However, this parameter does not apply to API calls that are authenticated based on AccessKey pairs. If a subnet mask is specified, RAM users can log on to the console only by using the IP addresses in the subnet. If you do not specify a subnet mask, RAM users can log on to the console by using all IP addresses. If you want to specify multiple subnet masks, separate the subnet masks with semicolons (;). Example: 192.168.0.0/16;10.0.0.0/8. A maximum of 25 subnet masks can be set. The total length of the subnet masks can be 1 to 512 characters.
@Nullable default Object getLoginSessionDuration()
Valid values: 6 to 24. Default value: 6. Unit: hours.
static SecurityPreferenceProps.Builder builder()
SecurityPreferenceProps.Builder of SecurityPreferencePropsCopyright © 2023. All rights reserved.