Skip to content

PasswordTaskProps

Properties for defining a PasswordTask.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-bastionhost-passwordtask

Initializer

import ros_cdk_bastionhost
ros_cdk_bastionhost.PasswordTaskProps(
  instance_id: typing.Union[str, IResolvable],
  name: typing.Union[str, IResolvable],
  task_schedule_type: typing.Union[str, IResolvable],
  comment: typing.Union[str, IResolvable] = None,
  credential_type: typing.Union[str, IResolvable] = None,
  key_pair_generate_config: typing.Union[str, IResolvable] = None,
  password_generate_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
  password_generate_type: typing.Union[str, IResolvable] = None,
  task_schedule_config: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None
)

Properties

Name Type Description
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of the BastionHost instance.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the password task.
task_schedule_type typing.Union[str, ros_cdk_core.IResolvable] Property taskScheduleType: The schedule type of the password task.
comment typing.Union[str, ros_cdk_core.IResolvable] Property comment: The comment of the password task.
credential_type typing.Union[str, ros_cdk_core.IResolvable] Property credentialType: The credential type of the password task.
key_pair_generate_config typing.Union[str, ros_cdk_core.IResolvable] Property keyPairGenerateConfig: The key pair generate config of the password task.
password_generate_config typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property passwordGenerateConfig: The password generate config of the password task.
password_generate_type typing.Union[str, ros_cdk_core.IResolvable] Property passwordGenerateType: The password generate type of the password task.
task_schedule_config typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property taskScheduleConfig: The schedule config of the password task.

instance_idRequired

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

Property instanceId: The ID of the BastionHost instance.


nameRequired

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

Property name: The name of the password task.


task_schedule_typeRequired

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

Property taskScheduleType: The schedule type of the password task.


commentOptional

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

Property comment: The comment of the password task.


credential_typeOptional

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

Property credentialType: The credential type of the password task.


key_pair_generate_configOptional

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

Property keyPairGenerateConfig: The key pair generate config of the password task.


password_generate_configOptional

password_generate_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property passwordGenerateConfig: The password generate config of the password task.


password_generate_typeOptional

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

Property passwordGenerateType: The password generate type of the password task.


task_schedule_configOptional

task_schedule_config: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property taskScheduleConfig: The schedule config of the password task.