Skip to content

HostAccountUserGroupAttachmentProps

Properties for defining a HostAccountUserGroupAttachment.

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

Initializer

import ros_cdk_bastionhost
ros_cdk_bastionhost.HostAccountUserGroupAttachmentProps(
  hosts: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, HostsProperty]]],
  instance_id: typing.Union[str, IResolvable],
  user_group_id: typing.Union[str, IResolvable]
)

Properties

Name Type Description
hosts typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, HostsProperty]]] Property hosts: Specify the host IDs and host account IDs that you want to authorize for the user group.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of the BastionHost instance.
user_group_id typing.Union[str, ros_cdk_core.IResolvable] Property userGroupId: The ID of the user group.

hostsRequired

hosts: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, HostsProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, HostsProperty]]]

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


instance_idRequired

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

Property instanceId: The ID of the BastionHost instance.


user_group_idRequired

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

Property userGroupId: The ID of the user group.