Skip to content

ManagedInstancesProps

Properties for defining a ManagedInstances.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-managedinstances

Initializer

from ros_cdk_ecs import datasource
datasource.ManagedInstancesProps(
  activation_id: typing.Union[str, IResolvable] = None,
  instance_id: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  instance_ip: typing.Union[str, IResolvable] = None,
  instance_name: typing.Union[str, IResolvable] = None,
  os_type: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
activation_id typing.Union[str, ros_cdk_core.IResolvable] Property activationId: The ID of the activation code.
instance_id typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property instanceId: The ID of managed instance.
instance_ip typing.Union[str, ros_cdk_core.IResolvable] Property instanceIp: The internal or public IP address of the managed instance.
instance_name typing.Union[str, ros_cdk_core.IResolvable] Property instanceName: The name of the managed instance.
os_type typing.Union[str, ros_cdk_core.IResolvable] Property osType: The operating system type of the managed instance.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
tags typing.List[ros_cdk_ecs.datasource.RosManagedInstances.TagsProperty] Property tags: Tags of managedinstance.

activation_idOptional

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

Property activationId: The ID of the activation code.


instance_idOptional

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

Property instanceId: The ID of managed instance.

Valid values of N: 1 to 50.


instance_ipOptional

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

Property instanceIp: The internal or public IP address of the managed instance.


instance_nameOptional

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

Property instanceName: The name of the managed instance.


os_typeOptional

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

Property osType: The operating system type of the managed instance.

Valid values: windows linux


refresh_optionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

tagsOptional

tags: typing.List[TagsProperty]
  • Type: typing.List[ros_cdk_ecs.datasource.RosManagedInstances.TagsProperty]

Property tags: Tags of managedinstance.