Skip to content

BucketProps

Properties for defining a Bucket.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Oss;
new BucketProps {
    object BucketName,
    object RefreshOptions = null
};

Properties

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

BucketNameRequired

public object BucketName { get; set; }
  • Type: object

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

public object RefreshOptions { get; set; }
  • Type: object

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.