Skip to content

InstanceProps

Properties for defining a Instance.

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

Initializer

import ros_cdk_kms
ros_cdk_kms.InstanceProps(
  product_version: typing.Union[str, IResolvable],
  connection: typing.Union[IResolvable, ConnectionProperty] = None,
  instance_charge_type: typing.Union[str, IResolvable] = None,
  key_num: typing.Union[typing.Union[int, float], IResolvable] = None,
  log: typing.Union[bool, IResolvable] = None,
  log_storage: typing.Union[typing.Union[int, float], IResolvable] = None,
  period: typing.Union[typing.Union[int, float], IResolvable] = None,
  period_unit: typing.Union[str, IResolvable] = None,
  renew_period: typing.Union[typing.Union[int, float], IResolvable] = None,
  renew_status: typing.Union[str, IResolvable] = None,
  secret_num: typing.Union[typing.Union[int, float], IResolvable] = None,
  spec: typing.Union[typing.Union[int, float], IResolvable] = None,
  vpc_num: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
product_version typing.Union[str, ros_cdk_core.IResolvable] Property productVersion: KMS Instance commodity type (software\/software-small\/hardware\/hardware-small).
connection typing.Union[ros_cdk_core.IResolvable, ConnectionProperty] Property connection:.
instance_charge_type typing.Union[str, ros_cdk_core.IResolvable] Property instanceChargeType: Billing method of the KMS instance, default to Subscription.
key_num typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property keyNum: Maximum number of stored keys.
log typing.Union[bool, ros_cdk_core.IResolvable] Property log: Whether to enable log.
log_storage typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property logStorage: Log storage.
period typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property period: The subscription duration of the KMS instance.
period_unit typing.Union[str, ros_cdk_core.IResolvable] Property periodUnit: The unit of the subscription duration.
renew_period typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property renewPeriod: Automatic renewal period, in months.
renew_status typing.Union[str, ros_cdk_core.IResolvable] Property renewStatus: Renewal options (manual renewal, automatic renewal, no renewal).
secret_num typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property secretNum: Maximum number of secrets.
spec typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property spec: The computation performance level of the KMS instance.
vpc_num typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property vpcNum: The number of managed accesses.

product_versionRequired

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

Property productVersion: KMS Instance commodity type (software\/software-small\/hardware\/hardware-small).


connectionOptional

connection: typing.Union[IResolvable, ConnectionProperty]

Property connection:.


instance_charge_typeOptional

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

Property instanceChargeType: Billing method of the KMS instance, default to Subscription.


key_numOptional

key_num: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property keyNum: Maximum number of stored keys.

It is required when the InstanceCharge is Subscription.


logOptional

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

Property log: Whether to enable log.


log_storageOptional

log_storage: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property logStorage: Log storage.


periodOptional

period: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property period: The subscription duration of the KMS instance.

If PeriodUnit is Month, the valid range is 1, 2, 3, 6, 12, 24, 36 If PeriodUnit is Year, the valid range is 1, 2, 3


period_unitOptional

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

Property periodUnit: The unit of the subscription duration.

Valid values: Month Year Default value: Month.


renew_periodOptional

renew_period: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property renewPeriod: Automatic renewal period, in months.


renew_statusOptional

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

Property renewStatus: Renewal options (manual renewal, automatic renewal, no renewal).


secret_numOptional

secret_num: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property secretNum: Maximum number of secrets.

It is required when the InstanceCharge is Subscription.


specOptional

spec: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property spec: The computation performance level of the KMS instance.


vpc_numOptional

vpc_num: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property vpcNum: The number of managed accesses.

The maximum number of VPCs that can access this KMS instance. It is required when the InstanceCharge is Subscription.