# NOT RUN {
# The following example adds website configuration to a bucket.
# }
# NOT RUN {
svc$put_bucket_website(
Bucket = "examplebucket",
ContentMD5 = "",
WebsiteConfiguration = list(
ErrorDocument = list(
Key = "error.html"
),
IndexDocument = list(
Suffix = "index.html"
)
)
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab