Skip to content

InstanceProps

Properties for defining a Instance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-eais-instance

Initializer

import ros_cdk_eais
ros_cdk_eais.InstanceProps(
  create_with_notebook: typing.Union[bool, IResolvable],
  instance_type: typing.Union[str, IResolvable],
  security_group_id: typing.Union[str, IResolvable],
  v_switch_id: typing.Union[str, IResolvable],
  environment_var: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, EnvironmentVarProperty]]] = None,
  instance_name: typing.Union[str, IResolvable] = None,
  payment_type: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
create_with_notebook typing.Union[bool, ros_cdk_core.IResolvable] Property createWithNotebook: When the value is true, CreateEaiJupyter is called to create an eais instance, and when the value is false, CreateEai is called to create an eais instance.
instance_type typing.Union[str, ros_cdk_core.IResolvable] Property instanceType: EAIS instance type.
security_group_id typing.Union[str, ros_cdk_core.IResolvable] Property securityGroupId: Security group ID.
v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Property vSwitchId: Switch ID.
environment_var typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, EnvironmentVarProperty]]] Property environmentVar: Setting environment variables in eais instance on Initialization.
instance_name typing.Union[str, ros_cdk_core.IResolvable] Property instanceName: Name of the instance.
payment_type typing.Union[str, ros_cdk_core.IResolvable] Property paymentType: The payment type of the resource.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group.

create_with_notebookRequired

create_with_notebook: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property createWithNotebook: When the value is true, CreateEaiJupyter is called to create an eais instance, and when the value is false, CreateEai is called to create an eais instance.


instance_typeRequired

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

Property instanceType: EAIS instance type.


security_group_idRequired

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

Property securityGroupId: Security group ID.


v_switch_idRequired

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

Property vSwitchId: Switch ID.


environment_varOptional

environment_var: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, EnvironmentVarProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, EnvironmentVarProperty]]]

Property environmentVar: Setting environment variables in eais instance on Initialization.


instance_nameOptional

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

Property instanceName: Name of the instance.


payment_typeOptional

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

Property paymentType: The payment type of the resource.


resource_group_idOptional

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

Property resourceGroupId: The ID of the resource group.