Skip to content

InstanceProps

Properties for defining a Instance.

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

Initializer

import { InstanceProps } from '@alicloud/ros-cdk-eais'
const instanceProps: InstanceProps = { ... }

Properties

Name Type Description
createWithNotebook boolean | @alicloud/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.
instanceType string | @alicloud/ros-cdk-core.IResolvable Property instanceType: EAIS instance type.
securityGroupId string | @alicloud/ros-cdk-core.IResolvable Property securityGroupId: Security group ID.
vSwitchId string | @alicloud/ros-cdk-core.IResolvable Property vSwitchId: Switch ID.
environmentVar @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | EnvironmentVarProperty[] Property environmentVar: Setting environment variables in eais instance on Initialization.
instanceName string | @alicloud/ros-cdk-core.IResolvable Property instanceName: Name of the instance.
paymentType string | @alicloud/ros-cdk-core.IResolvable Property paymentType: The payment type of the resource.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group.

createWithNotebookRequired

public readonly createWithNotebook: boolean | IResolvable;
  • Type: boolean | @alicloud/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.


instanceTypeRequired

public readonly instanceType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceType: EAIS instance type.


securityGroupIdRequired

public readonly securityGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property securityGroupId: Security group ID.


vSwitchIdRequired

public readonly vSwitchId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vSwitchId: Switch ID.


environmentVarOptional

public readonly environmentVar: IResolvable | IResolvable | EnvironmentVarProperty[];

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


instanceNameOptional

public readonly instanceName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceName: Name of the instance.


paymentTypeOptional

public readonly paymentType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property paymentType: The payment type of the resource.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: The ID of the resource group.