Skip to content

DedicatedHostAccountProps

Properties for defining a DedicatedHostAccount.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cddc-dedicatedhostaccount

Initializer

import ros_cdk_cddc
ros_cdk_cddc.DedicatedHostAccountProps(
  account_name: typing.Union[str, IResolvable],
  account_password: typing.Union[str, IResolvable],
  dedicated_host_id: typing.Union[str, IResolvable],
  account_type: typing.Union[str, IResolvable] = None,
  bastion_instance_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
account_name typing.Union[str, ros_cdk_core.IResolvable] Property accountName: The name of the account.
account_password typing.Union[str, ros_cdk_core.IResolvable] Property accountPassword: The password for the host account.
dedicated_host_id typing.Union[str, ros_cdk_core.IResolvable] Property dedicatedHostId: The ID of the dedicated host.
account_type typing.Union[str, ros_cdk_core.IResolvable] Property accountType: The type of the account.
bastion_instance_id typing.Union[str, ros_cdk_core.IResolvable] Property bastionInstanceId: The ID of the bastion instance.

account_nameRequired

account_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property accountName: The name of the account.


account_passwordRequired

account_password: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property accountPassword: The password for the host account.

The password must meet the following requirements:

  • The password must be 6 to 32 characters in length.
  • It must contain uppercase letters, lowercase letters, digits, and special characters.
  • Supported special characters: !@#$%^&*()_+-=

If your engine is SQL Server, the password cannot contain the account name (case-insensitive).


dedicated_host_idRequired

dedicated_host_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dedicatedHostId: The ID of the dedicated host.


account_typeOptional

account_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property accountType: The type of the account.


bastion_instance_idOptional

bastion_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property bastionInstanceId: The ID of the bastion instance.