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. |
BucketDomainName
Optional
BucketDomainName *string
- Type: *string
- Default: Inferred from bucket name and region
The domain name of the bucket.
BucketEndpoint
Optional
BucketEndpoint *string
- Type: *string
- Default: Inferred from region
The endpoint of the bucket.
BucketName
Optional
BucketName *string
- Type: *string
The name of the bucket.
BucketWebsiteUrl
Optional
BucketWebsiteUrl *string
- Type: *string
- Default: Inferred from bucket name and region
The website URL of the bucket (if static web hosting is enabled).
IsWebsite
Optional
IsWebsite *bool
- Type: *bool
- Default: false
If this bucket has been configured for static website hosting.
Region
Optional
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.