Skip to content

InstanceProps

Properties for defining a Instance.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkkms"
&alicloudroscdkkms.InstanceProps {
    ProductVersion: interface{},
    Connection: interface{},
    InstanceChargeType: interface{},
    KeyNum: interface{},
    Log: interface{},
    LogStorage: interface{},
    Period: interface{},
    PeriodUnit: interface{},
    RenewPeriod: interface{},
    RenewStatus: interface{},
    SecretNum: interface{},
    Spec: interface{},
    VpcNum: interface{},
}

Properties

Name Type Description
ProductVersion interface{} Property productVersion: KMS Instance commodity type (software\/software-small\/hardware\/hardware-small).
Connection interface{} Property connection:.
InstanceChargeType interface{} Property instanceChargeType: Billing method of the KMS instance, default to Subscription.
KeyNum interface{} Property keyNum: Maximum number of stored keys.
Log interface{} Property log: Whether to enable log.
LogStorage interface{} Property logStorage: Log storage.
Period interface{} Property period: The subscription duration.
PeriodUnit interface{} Property periodUnit: The unit of the subscription duration.
RenewPeriod interface{} Property renewPeriod: The auto-renewal period.
RenewStatus interface{} Property renewStatus: Renewal options (manual renewal, automatic renewal, no renewal).
SecretNum interface{} Property secretNum: Maximum number of secrets.
Spec interface{} Property spec: The computation performance level of the KMS instance.
VpcNum interface{} Property vpcNum: The number of managed accesses.

ProductVersionRequired

ProductVersion interface{}
  • Type: interface{}

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


ConnectionOptional

Connection interface{}
  • Type: interface{}

Property connection:.


InstanceChargeTypeOptional

InstanceChargeType interface{}
  • Type: interface{}

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


KeyNumOptional

KeyNum interface{}
  • Type: interface{}

Property keyNum: Maximum number of stored keys.

It is required when the InstanceCharge is Subscription.


LogOptional

Log interface{}
  • Type: interface{}

Property log: Whether to enable log.


LogStorageOptional

LogStorage interface{}
  • Type: interface{}

Property logStorage: Log storage.


PeriodOptional

Period interface{}
  • Type: interface{}

Property period: The subscription duration.

Unit: month. The value must be an integral multiple of 12.

This parameter is required if you create a subscription instance.


PeriodUnitOptional

PeriodUnit interface{}
  • Type: interface{}

Property periodUnit: The unit of the subscription duration.

Valid values: Month Year Default value: Month.


RenewPeriodOptional

RenewPeriod interface{}
  • Type: interface{}

Property renewPeriod: The auto-renewal period.

Unit: month.

This parameter is required if the RenewalStatus parameter is set to AutoRenewal.


RenewStatusOptional

RenewStatus interface{}
  • Type: interface{}

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


SecretNumOptional

SecretNum interface{}
  • Type: interface{}

Property secretNum: Maximum number of secrets.

It is required when the InstanceCharge is Subscription.


SpecOptional

Spec interface{}
  • Type: interface{}

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


VpcNumOptional

VpcNum interface{}
  • Type: interface{}

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.