Skip to content

HostAccountUserGroupAttachmentProps

Properties for defining a HostAccountUserGroupAttachment.

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

Initializer

import com.aliyun.ros.cdk.bastionhost.HostAccountUserGroupAttachmentProps;
HostAccountUserGroupAttachmentProps.builder()
    .hosts(IResolvable)
    .hosts(java.util.List<IResolvable)
    .hosts(HostsProperty>)
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
    .userGroupId(java.lang.String)
    .userGroupId(IResolvable)
    .build();

Properties

Name Type Description
hosts com.aliyun.ros.cdk.core.IResolvable OR java.util.ListHostsProperty> Property hosts: Specify the host IDs and host account IDs that you want to authorize for the user group.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of the BastionHost instance.
userGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property userGroupId: The ID of the user group.

hostsRequired

public java.lang.Object getHosts();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListHostsProperty>

Property hosts: Specify the host IDs and host account IDs that you want to authorize for the user group.


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.


userGroupIdRequired

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

Property userGroupId: The ID of the user group.