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_version
Required
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).
connection
Optional
connection: typing.Union[IResolvable, ConnectionProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, ConnectionProperty]
Property connection:.
instance_charge_type
Optional
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_num
Optional
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.
log
Optional
log: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property log: Whether to enable log.
log_storage
Optional
log_storage: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property logStorage: Log storage.
period
Optional
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_unit
Optional
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_period
Optional
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_status
Optional
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_num
Optional
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.
spec
Optional
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_num
Optional
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.