BucketProps
Properties for defining a Bucket
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oss-bucket
Initializer
from ros_cdk_oss import datasource
datasource.BucketProps(
bucket_name: typing.Union[str, IResolvable],
refresh_options: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
bucket_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property bucketName: Bucket name. |
refresh_options |
typing.Union[str, ros_cdk_core.IResolvable] |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
bucket_name
Required
bucket_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property bucketName: Bucket name.
The naming conventions for buckets are as follows: Only lowercase letters, numbers, and dashes (-) can be included. Must start and end with lowercase letters or numbers. The length must be between 3 and 63 characters.
refresh_options
Optional
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.