Skip to content

PasswordTaskProps

Properties for defining a PasswordTask.

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

Initializer

import com.aliyun.ros.cdk.bastionhost.PasswordTaskProps;
PasswordTaskProps.builder()
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
    .name(java.lang.String)
    .name(IResolvable)
    .taskScheduleType(java.lang.String)
    .taskScheduleType(IResolvable)
//  .comment(java.lang.String)
//  .comment(IResolvable)
//  .credentialType(java.lang.String)
//  .credentialType(IResolvable)
//  .keyPairGenerateConfig(java.lang.String)
//  .keyPairGenerateConfig(IResolvable)
//  .passwordGenerateConfig(IResolvable)
//  .passwordGenerateConfig(java.util.Map<java.lang.String, java.lang.Object>)
//  .passwordGenerateType(java.lang.String)
//  .passwordGenerateType(IResolvable)
//  .taskScheduleConfig(IResolvable)
//  .taskScheduleConfig(java.util.Map<java.lang.String, java.lang.Object>)
    .build();

Properties

Name Type Description
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of the BastionHost instance.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the password task.
taskScheduleType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property taskScheduleType: The schedule type of the password task.
comment java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property comment: The comment of the password task.
credentialType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property credentialType: The credential type of the password task.
keyPairGenerateConfig java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property keyPairGenerateConfig: The key pair generate config of the password task.
passwordGenerateConfig com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property passwordGenerateConfig: The password generate config of the password task.
passwordGenerateType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property passwordGenerateType: The password generate type of the password task.
taskScheduleConfig com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property taskScheduleConfig: The schedule config of the password task.

instanceIdRequired

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

Property instanceId: The ID of the BastionHost instance.


nameRequired

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

Property name: The name of the password task.


taskScheduleTypeRequired

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

Property taskScheduleType: The schedule type of the password task.


commentOptional

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

Property comment: The comment of the password task.


credentialTypeOptional

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

Property credentialType: The credential type of the password task.


keyPairGenerateConfigOptional

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

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


passwordGenerateConfigOptional

public java.lang.Object getPasswordGenerateConfig();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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


passwordGenerateTypeOptional

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

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


taskScheduleConfigOptional

public java.lang.Object getTaskScheduleConfig();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

Property taskScheduleConfig: The schedule config of the password task.