BucketAttributes
A reference to a bucket outside this stack.
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkoss"
&alicloudroscdkoss.BucketAttributes {
BucketDomainName: *string,
BucketEndpoint: *string,
BucketName: *string,
BucketWebsiteUrl: *string,
IsWebsite: *bool,
Region: *string,
}
Properties
| Name | Type | Description |
|---|---|---|
BucketDomainName |
*string |
The domain name of the bucket. |
BucketEndpoint |
*string |
The endpoint of the bucket. |
BucketName |
*string |
The name of the bucket. |
BucketWebsiteUrl |
*string |
The website URL of the bucket (if static web hosting is enabled). |
IsWebsite |
*bool |
If this bucket has been configured for static website hosting. |
Region |
*string |
The region this existing bucket is in. |
BucketDomainNameOptional
BucketDomainName *string
- Type: *string
- Default: Inferred from bucket name and region
The domain name of the bucket.
BucketEndpointOptional
BucketEndpoint *string
- Type: *string
- Default: Inferred from region
The endpoint of the bucket.
BucketNameOptional
BucketName *string
- Type: *string
The name of the bucket.
BucketWebsiteUrlOptional
BucketWebsiteUrl *string
- Type: *string
- Default: Inferred from bucket name and region
The website URL of the bucket (if static web hosting is enabled).
IsWebsiteOptional
IsWebsite *bool
- Type: *bool
- Default: false
If this bucket has been configured for static website hosting.
RegionOptional
Region *string
- Type: *string
- Default: it's assumed the bucket is in the same region as the scope it's being imported into
The region this existing bucket is in.
Features that require the region (e.g. bucketWebsiteUrl) won't fully work
if the region cannot be correctly inferred.