Skip to content

AccountsProps

Properties for defining a Accounts.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-redis-accounts

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkredis/datasource"
&datasource.AccountsProps {
    InstanceId: interface{},
    AccountName: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
InstanceId interface{} Property instanceId: The ID of the Redis instance.
AccountName interface{} Property accountName: The name of the Redis account.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

Property instanceId: The ID of the Redis instance.


AccountNameOptional

AccountName interface{}
  • Type: interface{}

Property accountName: The name of the Redis account.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.