InstanceProps
Properties for defining a Instance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-instance
Initializer
import { InstanceProps } from '@alicloud/ros-cdk-cr'
const instanceProps: InstanceProps = { ... }
Properties
Name | Type | Description |
---|---|---|
imageScanner |
string | @alicloud/ros-cdk-core.IResolvable |
Property imageScanner: Security scan engine. |
instanceName |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceName: Instance name.The value contains 3 to 30 lowercase letters, digits, and delimiters "-"(it can not be first or last). |
instanceType |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceType: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition. |
period |
number | @alicloud/ros-cdk-core.IResolvable |
Property period: Prepaid cycle. |
instanceStorageName |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceStorageName: Custom OSS Bucket name. |
renewalStatus |
string | @alicloud/ros-cdk-core.IResolvable |
Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal. |
renewPeriod |
number | @alicloud/ros-cdk-core.IResolvable |
Property renewPeriod: Automatic renewal cycle, in months. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
imageScanner
Required
public readonly imageScanner: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property imageScanner: Security scan engine.
instanceName
Required
public readonly instanceName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceName: Instance name.The value contains 3 to 30 lowercase letters, digits, and delimiters "-"(it can not be first or last).
instanceType
Required
public readonly instanceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceType: The Value configuration of the Group 1 attribute of Container Mirror Service Enterprise Edition.
Valid values: Basic: Basic instance Standard: Standard instance Advanced: Advanced Edition Instance.
period
Required
public readonly period: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property period: Prepaid cycle.
The unit is Monthly, please enter an integer multiple of 12 for annual paid products.
instanceStorageName
Optional
public readonly instanceStorageName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceStorageName: Custom OSS Bucket name.
renewalStatus
Optional
public readonly renewalStatus: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property renewalStatus: Automatic renewal status, value: - AutoRenewal: automatic renewal.
ManualRenewal: manual renewal. Default ManualRenewal.
renewPeriod
Optional
public readonly renewPeriod: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property renewPeriod: Automatic renewal cycle, in months.
When RenewalStatus is set to AutoRenewal, it must be set.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group.