BucketProps
Properties for defining a Bucket
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oss-bucket
Initializer
import com.aliyun.ros.cdk.oss.datasource.BucketProps;
BucketProps.builder()
.bucketName(java.lang.String)
.bucketName(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
bucketName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property bucketName: Bucket name. |
refreshOptions |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
bucketName
Required
public java.lang.Object getBucketName();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getRefreshOptions();
- Type: java.lang.String OR com.aliyun.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.