Skip to content

BucketProps

Properties for defining a Bucket.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oss-bucket

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkoss/datasource"
&datasource.BucketProps {
    BucketName: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
BucketName interface{} Property bucketName: Bucket name.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

BucketNameRequired

BucketName interface{}
  • Type: interface{}

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.


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

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.