AutoSnapshotPoliciesProps
Properties for defining a AutoSnapshotPolicies.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-autosnapshotpolicies
Initializer
from ros_cdk_ecs import datasource
datasource.AutoSnapshotPoliciesProps(
auto_snapshot_policy_id: typing.Union[str, IResolvable] = None,
refresh_options: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
tags: typing.List[TagsProperty] = None
)
Properties
| Name | Type | Description |
|---|---|---|
auto_snapshot_policy_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property autoSnapshotPolicyId: The ID of the automatic snapshot policy. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: The ID of the resource group to which the automatic snapshot policy belongs. |
tags |
typing.List[ros_cdk_ecs.datasource.RosAutoSnapshotPolicies.TagsProperty] |
Property tags: Tags of snapshotpolicy. |
auto_snapshot_policy_idOptional
auto_snapshot_policy_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property autoSnapshotPolicyId: The ID of the automatic snapshot policy.
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.
resource_group_idOptional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: The ID of the resource group to which the automatic snapshot policy belongs.
tagsOptional
tags: typing.List[TagsProperty]
- Type: typing.List[ros_cdk_ecs.datasource.RosAutoSnapshotPolicies.TagsProperty]
Property tags: Tags of snapshotpolicy.