BucketProps
Properties for defining a Bucket
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oss-bucket
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkoss"
&alicloudroscdkoss.BucketProps {
BucketName: interface{},
AccessControl: interface{},
CorsConfiguration: interface{},
DeletionForce: interface{},
EnableOssHdfsService: interface{},
LifecycleConfiguration: interface{},
LoggingConfiguration: interface{},
Policy: interface{},
RedundancyType: interface{},
RefererConfiguration: interface{},
ResourceGroupId: interface{},
ServerSideEncryptionConfiguration: interface{},
StorageClass: interface{},
Tags: *map[string]interface{},
VersioningConfiguration: interface{},
WebsiteConfigurationV2: interface{},
}
Properties
Name | Type | Description |
---|---|---|
BucketName |
interface{} |
Property bucketName: bucket name. |
AccessControl |
interface{} |
Property accessControl: The access control list. |
CorsConfiguration |
interface{} |
Property corsConfiguration: Rules that define cross-origin resource sharing of objects in this bucket. |
DeletionForce |
interface{} |
Property deletionForce: Whether force delete the relative objects in the bucket. |
EnableOssHdfsService |
interface{} |
Property enableOssHdfsService: Whether enable OSS-HDFS service. |
LifecycleConfiguration |
interface{} |
Property lifecycleConfiguration: Rules that define how oss bucket manages objects during their lifetime. |
LoggingConfiguration |
interface{} |
Property loggingConfiguration: Settings that defines where logs are stored. |
Policy |
interface{} |
Property policy: Bucket policy. |
RedundancyType |
interface{} |
Property redundancyType: Specifies the data disaster recovery type of the storage space. |
RefererConfiguration |
interface{} |
Property refererConfiguration: undefined. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The resource group id. |
ServerSideEncryptionConfiguration |
interface{} |
Property serverSideEncryptionConfiguration: Specifies the bucket used to store the server-side encryption rule. |
StorageClass |
interface{} |
Property storageClass: Specifies the storage class of the bucket. |
Tags |
*map[string]interface{} |
Property tags: Bucket tags in k-v pairs format. |
VersioningConfiguration |
interface{} |
Property versioningConfiguration: A state of versioning. |
WebsiteConfigurationV2 |
interface{} |
Property websiteConfigurationV2: Website configuration. |
BucketName
Required
BucketName interface{}
- Type: interface{}
Property bucketName: bucket name.
AccessControl
Optional
AccessControl interface{}
- Type: interface{}
Property accessControl: The access control list.
CorsConfiguration
Optional
CorsConfiguration interface{}
- Type: interface{}
Property corsConfiguration: Rules that define cross-origin resource sharing of objects in this bucket.
DeletionForce
Optional
DeletionForce interface{}
- Type: interface{}
Property deletionForce: Whether force delete the relative objects in the bucket.
Default value is false.
EnableOssHdfsService
Optional
EnableOssHdfsService interface{}
- Type: interface{}
Property enableOssHdfsService: Whether enable OSS-HDFS service.
Note: Once it's enabled, it can't be disabled again.
LifecycleConfiguration
Optional
LifecycleConfiguration interface{}
- Type: interface{}
Property lifecycleConfiguration: Rules that define how oss bucket manages objects during their lifetime.
LoggingConfiguration
Optional
LoggingConfiguration interface{}
- Type: interface{}
Property loggingConfiguration: Settings that defines where logs are stored.
Policy
Optional
Policy interface{}
- Type: interface{}
Property policy: Bucket policy.
RedundancyType
Optional
RedundancyType interface{}
- Type: interface{}
Property redundancyType: Specifies the data disaster recovery type of the storage space.
The value range is as follows: LRS (default): Local redundant LRS stores your data redundantly on different storage devices in the same availability zone, and can support data loss and normal access even when two storage devices are damaged concurrently. ZRS: Intra-city redundant ZRS adopts a data redundancy storage mechanism in multiple availability zones (AZ), and stores user data redundantly in multiple availability zones in the same region. When an availability zone is unavailable, normal access to data can still be guaranteed.
RefererConfiguration
Optional
RefererConfiguration interface{}
- Type: interface{}
Property refererConfiguration: undefined.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The resource group id.
ServerSideEncryptionConfiguration
Optional
ServerSideEncryptionConfiguration interface{}
- Type: interface{}
Property serverSideEncryptionConfiguration: Specifies the bucket used to store the server-side encryption rule.
StorageClass
Optional
StorageClass interface{}
- Type: interface{}
Property storageClass: Specifies the storage class of the bucket.
Default is "Standard".
Tags
Optional
Tags *map[string]interface{}
- Type: *map[string]interface{}
Property tags: Bucket tags in k-v pairs format.
VersioningConfiguration
Optional
VersioningConfiguration interface{}
- Type: interface{}
Property versioningConfiguration: A state of versioning.
WebsiteConfigurationV2
Optional
WebsiteConfigurationV2 interface{}
- Type: interface{}
Property websiteConfigurationV2: Website configuration.