Home > @hapoosjs/aws-buckets > AWSBuckets > setWebsiteConfiguration

AWSBuckets.setWebsiteConfiguration() method

Set Website configuration associated with a bucket

Signature:

setWebsiteConfiguration(bucketName: string, options: BucketWebsiteConfiguration): Promise<BucketWebsiteConfiguration>;

Parameters

Parameter Type Description
bucketName string Bucket name
options BucketWebsiteConfiguration Website configuration settings

Returns:

Promise<BucketWebsiteConfiguration>