Skip to content

ISecurityPreference

Represents a SecurityPreference.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrAllowUserToChangePassword java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AllowUserToChangePassword: Specifies whether RAM users can change their passwords.
attrAllowUserToManageAccessKeys java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AllowUserToManageAccessKeys: Specifies whether RAM users can manage their AccessKey pairs.
attrAllowUserToManageMfaDevices java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AllowUserToManageMFADevices: Specifies whether RAM users can manage their MFA devices.
attrAllowUserToManagePublicKeys java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AllowUserToManagePublicKeys: Specifies whether RAM users can manage their public keys.
attrEnableSaveMfaTicket java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EnableSaveMFATicket: Specifies whether RAM users can save multi-factor authentication (MFA) security codes during logon.
attrLoginNetworkMasks java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute LoginNetworkMasks: The subnet mask that specifies the IP addresses from which logon to the console is allowed.
attrLoginSessionDuration java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute LoginSessionDuration: The validity period of the logon session of the RAM user.
props SecurityPreferenceProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node for this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.ros.cdk.core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


attrAllowUserToChangePasswordRequired

public java.lang.Object getAttrAllowUserToChangePassword();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute AllowUserToChangePassword: Specifies whether RAM users can change their passwords.


attrAllowUserToManageAccessKeysRequired

public java.lang.Object getAttrAllowUserToManageAccessKeys();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute AllowUserToManageAccessKeys: Specifies whether RAM users can manage their AccessKey pairs.


attrAllowUserToManageMfaDevicesRequired

public java.lang.Object getAttrAllowUserToManageMfaDevices();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute AllowUserToManageMFADevices: Specifies whether RAM users can manage their MFA devices.


attrAllowUserToManagePublicKeysRequired

public java.lang.Object getAttrAllowUserToManagePublicKeys();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute AllowUserToManagePublicKeys: Specifies whether RAM users can manage their public keys.


attrEnableSaveMfaTicketRequired

public java.lang.Object getAttrEnableSaveMfaTicket();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute EnableSaveMFATicket: Specifies whether RAM users can save multi-factor authentication (MFA) security codes during logon.


attrLoginNetworkMasksRequired

public java.lang.Object getAttrLoginNetworkMasks();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute LoginNetworkMasks: The subnet mask that specifies the IP addresses from which logon to the console is allowed.


attrLoginSessionDurationRequired

public java.lang.Object getAttrLoginSessionDuration();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute LoginSessionDuration: The validity period of the logon session of the RAM user.


propsRequired

public SecurityPreferenceProps getProps();