AccountProps
Properties for defining a Account.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-redis-account
Initializer
from ros_cdk_redis import datasource
datasource.AccountProps(
account_name: typing.Union[str, IResolvable],
instance_id: typing.Union[str, IResolvable],
refresh_options: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
account_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property accountName: The name of the account that you want to query. |
instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceId: The ID of the Redis instance. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
account_nameRequired
account_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property accountName: The name of the account that you want to query.
instance_idRequired
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: The ID of the Redis instance.
refresh_optionsOptional
refresh_options: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
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.