Home > @hapoosjs/aws-buckets > AWSBuckets > setWebsiteConfiguration
Set Website configuration associated with a bucket
Signature:
setWebsiteConfiguration(bucketName: string, options: BucketWebsiteConfiguration): Promise<BucketWebsiteConfiguration>;
Parameter | Type | Description |
---|---|---|
bucketName | string | Bucket name |
options | BucketWebsiteConfiguration | Website configuration settings |
Returns:
Promise<BucketWebsiteConfiguration>