IInstance
Represents a Instance.
Properties
| Name | Type | Description |
|---|---|---|
node | ros_cdk_core.ConstructNode | The construct tree node for this construct. |
env | ros_cdk_core.IResourceEnvironment | The environment this resource belongs to. |
stack | ros_cdk_core.Stack | The stack in which this resource is defined. |
attr_auto_renew | typing.Union[str, ros_cdk_core.IResolvable] | Attribute AutoRenew: Whether renew the fee automatically?it could be True,FalseDefault value is False. |
attr_auto_renew_period | typing.Union[str, ros_cdk_core.IResolvable] | Attribute AutoRenewPeriod: The time period of auto renew. |
attr_data_disk_size | typing.Union[str, ros_cdk_core.IResolvable] | Attribute DataDiskSize: Disk size of the system disk, range from 20 to 500 GB. |
attr_ens_region_id | typing.Union[str, ros_cdk_core.IResolvable] | Attribute EnsRegionId: ENS Region Id. |
attr_host_name | typing.Union[str, ros_cdk_core.IResolvable] | Attribute HostName: The hostname of the instance. |
attr_image_id | typing.Union[str, ros_cdk_core.IResolvable] | Attribute ImageId: Image ID to create ens instance. |
attr_instance_id | typing.Union[str, ros_cdk_core.IResolvable] | Attribute InstanceId: InstanceId. |
attr_instance_name | typing.Union[str, ros_cdk_core.IResolvable] | Attribute InstanceName: Instance name. |
attr_instance_type | typing.Union[str, ros_cdk_core.IResolvable] | Attribute InstanceType: ENS instance supported instance type, make sure it should be correct. |
attr_internet_charge_type | typing.Union[str, ros_cdk_core.IResolvable] | Attribute InternetChargeType: Instance Charge type.it could be 95BandwidthByMonth, PayByBandwidth4thMonth. |
attr_ip_type | typing.Union[str, ros_cdk_core.IResolvable] | Attribute IpType: ip type, It could be ipv4Andipv6,ipv4,ipv6.default value isi pv4. |
attr_key_pair_name | typing.Union[str, ros_cdk_core.IResolvable] | Attribute KeyPairName: SSH key pair name. |
attr_payment_type | typing.Union[str, ros_cdk_core.IResolvable] | Attribute PaymentType: Payment Type.only support value Subscription. |
attr_period | typing.Union[str, ros_cdk_core.IResolvable] | Attribute Period: Prepaid time period. |
attr_private_ip_address | typing.Union[str, ros_cdk_core.IResolvable] | Attribute PrivateIpAddress: Private IP for the instance created. |
attr_private_ips | typing.Union[str, ros_cdk_core.IResolvable] | Attribute PrivateIps: Private IP. |
attr_public_ips | typing.Union[str, ros_cdk_core.IResolvable] | Attribute PublicIps: Public IP. |
attr_quantity | typing.Union[str, ros_cdk_core.IResolvable] | Attribute Quantity: number of instances to create. |
attr_system_disk_size | typing.Union[str, ros_cdk_core.IResolvable] | Attribute SystemDiskSize: Disk size of the system disk. |
attr_unique_suffix | typing.Union[str, ros_cdk_core.IResolvable] | Attribute UniqueSuffix: Specifies whether to automatically append sequential suffixes to the hostnames specified by the HostName parameter and instance names specified by the InstanceName parameter when you create multiple instances at a time. |
attr_user_data | typing.Union[str, ros_cdk_core.IResolvable] | Attribute UserData: User data to pass to instance. |
attr_v_switch_id | typing.Union[str, ros_cdk_core.IResolvable] | Attribute VSwitchId: The vSwitch Id to create ens instance. |
props | InstanceProps | No description. |
nodeRequired
node: ConstructNode
- Type: ros_cdk_core.ConstructNode
The construct tree node for this construct.
envRequired
env: IResourceEnvironment
- Type: ros_cdk_core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
stackRequired
stack: Stack
- Type: ros_cdk_core.Stack
The stack in which this resource is defined.
attr_auto_renewRequired
attr_auto_renew: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute AutoRenew: Whether renew the fee automatically?it could be True,FalseDefault value is False.
attr_auto_renew_periodRequired
attr_auto_renew_period: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute AutoRenewPeriod: The time period of auto renew.
it will take effect.It could be 1, 2, 3, 6, 12. Default value is 1.
attr_data_disk_sizeRequired
attr_data_disk_size: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute DataDiskSize: Disk size of the system disk, range from 20 to 500 GB.
If you specify with your own image, make sure the system disk size bigger than image size.
attr_ens_region_idRequired
attr_ens_region_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute EnsRegionId: ENS Region Id.
attr_host_nameRequired
attr_host_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute HostName: The hostname of the instance.
attr_image_idRequired
attr_image_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute ImageId: Image ID to create ens instance.
attr_instance_idRequired
attr_instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute InstanceId: InstanceId.
attr_instance_nameRequired
attr_instance_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute InstanceName: Instance name.
attr_instance_typeRequired
attr_instance_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute InstanceType: ENS instance supported instance type, make sure it should be correct.
attr_internet_charge_typeRequired
attr_internet_charge_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute InternetChargeType: Instance Charge type.it could be 95BandwidthByMonth, PayByBandwidth4thMonth.
attr_ip_typeRequired
attr_ip_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute IpType: ip type, It could be ipv4Andipv6,ipv4,ipv6.default value isi pv4.
attr_key_pair_nameRequired
attr_key_pair_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute KeyPairName: SSH key pair name.
attr_payment_typeRequired
attr_payment_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute PaymentType: Payment Type.only support value Subscription.
attr_periodRequired
attr_period: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute Period: Prepaid time period.
Unit is month, it could be from 1 to 9 or 12. Default value is 1.
attr_private_ip_addressRequired
attr_private_ip_address: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute PrivateIpAddress: Private IP for the instance created.
attr_private_ipsRequired
attr_private_ips: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute PrivateIps: Private IP.
attr_public_ipsRequired
attr_public_ips: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute PublicIps: Public IP.
attr_quantityRequired
attr_quantity: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute Quantity: number of instances to create.
attr_system_disk_sizeRequired
attr_system_disk_size: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute SystemDiskSize: Disk size of the system disk.
attr_unique_suffixRequired
attr_unique_suffix: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute UniqueSuffix: Specifies whether to automatically append sequential suffixes to the hostnames specified by the HostName parameter and instance names specified by the InstanceName parameter when you create multiple instances at a time.
The sequential suffix ranges from 001 to 999. Valid values: true false Default value: false.
attr_user_dataRequired
attr_user_data: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute UserData: User data to pass to instance.
[1, 16KB] characters.User data should not be base64 encoded. If you want to pass base64 encoded string to the property, use function Fn::Base64Decode to decode the base64 string first.
attr_v_switch_idRequired
attr_v_switch_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Attribute VSwitchId: The vSwitch Id to create ens instance.
propsRequired
props: InstanceProps
- Type: InstanceProps