InstanceProps
Properties for defining a Instance.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-kms-instance
Initializer
import com.aliyun.ros.cdk.kms.InstanceProps;
InstanceProps.builder()
.productVersion(java.lang.String)
.productVersion(IResolvable)
// .connection(IResolvable)
// .connection(ConnectionProperty)
// .instanceChargeType(java.lang.String)
// .instanceChargeType(IResolvable)
// .keyNum(java.lang.Number)
// .keyNum(IResolvable)
// .log(java.lang.Boolean)
// .log(IResolvable)
// .logStorage(java.lang.Number)
// .logStorage(IResolvable)
// .period(java.lang.Number)
// .period(IResolvable)
// .periodUnit(java.lang.String)
// .periodUnit(IResolvable)
// .renewPeriod(java.lang.Number)
// .renewPeriod(IResolvable)
// .renewStatus(java.lang.String)
// .renewStatus(IResolvable)
// .secretNum(java.lang.Number)
// .secretNum(IResolvable)
// .spec(java.lang.Number)
// .spec(IResolvable)
// .vpcNum(java.lang.Number)
// .vpcNum(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
productVersion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property productVersion: KMS Instance commodity type (software\/software-small\/hardware\/hardware-small). |
connection |
com.aliyun.ros.cdk.core.IResolvable OR ConnectionProperty |
Property connection:. |
instanceChargeType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceChargeType: Billing method of the KMS instance, default to Subscription. |
keyNum |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property keyNum: Maximum number of stored keys. |
log |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
Property log: Whether to enable log. |
logStorage |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property logStorage: Log storage. |
period |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property period: The subscription duration of the KMS instance. |
periodUnit |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property periodUnit: The unit of the subscription duration. |
renewPeriod |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property renewPeriod: Automatic renewal period, in months. |
renewStatus |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property renewStatus: Renewal options (manual renewal, automatic renewal, no renewal). |
secretNum |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property secretNum: Maximum number of secrets. |
spec |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property spec: The computation performance level of the KMS instance. |
vpcNum |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property vpcNum: The number of managed accesses. |
productVersionRequired
public java.lang.Object getProductVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property productVersion: KMS Instance commodity type (software\/software-small\/hardware\/hardware-small).
connectionOptional
public java.lang.Object getConnection();
- Type: com.aliyun.ros.cdk.core.IResolvable OR ConnectionProperty
Property connection:.
instanceChargeTypeOptional
public java.lang.Object getInstanceChargeType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceChargeType: Billing method of the KMS instance, default to Subscription.
keyNumOptional
public java.lang.Object getKeyNum();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property keyNum: Maximum number of stored keys.
It is required when the InstanceCharge is Subscription.
logOptional
public java.lang.Object getLog();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
Property log: Whether to enable log.
logStorageOptional
public java.lang.Object getLogStorage();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property logStorage: Log storage.
periodOptional
public java.lang.Object getPeriod();
- Type: java.lang.Number OR com.aliyun.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
periodUnitOptional
public java.lang.Object getPeriodUnit();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property periodUnit: The unit of the subscription duration.
Valid values: Month Year Default value: Month.
renewPeriodOptional
public java.lang.Object getRenewPeriod();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property renewPeriod: Automatic renewal period, in months.
renewStatusOptional
public java.lang.Object getRenewStatus();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property renewStatus: Renewal options (manual renewal, automatic renewal, no renewal).
secretNumOptional
public java.lang.Object getSecretNum();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property secretNum: Maximum number of secrets.
It is required when the InstanceCharge is Subscription.
specOptional
public java.lang.Object getSpec();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property spec: The computation performance level of the KMS instance.
vpcNumOptional
public java.lang.Object getVpcNum();
- Type: java.lang.Number OR com.aliyun.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.