Skip to content

PasswordTaskHostAccountAttachmentProps

Properties for defining a PasswordTaskHostAccountAttachment.

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

Initializer

import com.aliyun.ros.cdk.bastionhost.PasswordTaskHostAccountAttachmentProps;
PasswordTaskHostAccountAttachmentProps.builder()
    .hostAccountIds(IResolvable)
    .hostAccountIds(java.util.List<java.lang.String)
    .hostAccountIds(IResolvable>)
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
    .taskId(java.lang.String)
    .taskId(IResolvable)
    .build();

Properties

Name Type Description
hostAccountIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property hostAccountIds: The IDs of the host accounts to be attached to the password task.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of the bastion host instance.
taskId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property taskId: The ID of the password task.

hostAccountIdsRequired

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

Property hostAccountIds: The IDs of the host accounts to be attached to 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 bastion host instance.


taskIdRequired

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

Property taskId: The ID of the password task.