BucketProps
Properties for defining a Bucket
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oss-bucket
Initializer
import { datasource } from '@alicloud/ros-cdk-oss'
const bucketProps: datasource.BucketProps = { ... }
Properties
Name | Type | Description |
---|---|---|
bucketName |
string | @alicloud/ros-cdk-core.IResolvable |
Property bucketName: Bucket name. |
refreshOptions |
string | @alicloud/ros-cdk-core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
bucketName
Required
public readonly bucketName: string | IResolvable;
- Type: string | @alicloud/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.
refreshOptions
Optional
public readonly refreshOptions: string | IResolvable;
- Type: string | @alicloud/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.