Skip to content

ISecurityPreference

Represents a SecurityPreference.

Properties

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

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node for this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/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 readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


attrAllowUserToChangePasswordRequired

public readonly attrAllowUserToChangePassword: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrAllowUserToManageAccessKeysRequired

public readonly attrAllowUserToManageAccessKeys: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrAllowUserToManageMfaDevicesRequired

public readonly attrAllowUserToManageMfaDevices: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrAllowUserToManagePublicKeysRequired

public readonly attrAllowUserToManagePublicKeys: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrEnableSaveMfaTicketRequired

public readonly attrEnableSaveMfaTicket: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrLoginNetworkMasksRequired

public readonly attrLoginNetworkMasks: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


attrLoginSessionDurationRequired

public readonly attrLoginSessionDuration: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


propsRequired

public readonly props: SecurityPreferenceProps;