Export HTML
This is how to export your project's HTML using the Brizy API.
API Documentation: HTML Export Endpoint
Checking Export Status
After initiating the export, check the status using the HTML Download API.
Export HTML to S3
This is how to export your project's HTML to an Amazon S3 bucket using the Brizy API.
API Documentation: HTML Export Endpoint
S3 Bucket Requirements
The destination S3 bucket must allow the AWS Lambda role to upload objects.
Example S3 Bucket Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowLambdaRoleToWriteToBucket",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::137169526694:role/service-role/Brizy-Cloud-Export-HTML-Role"
},
"Action": [
"s3:PutObject",
"s3:PutObjectAcl"
],
"Resource": [
"arn:aws:s3:::YOUR_BUCKET_NAME",
"arn:aws:s3:::YOUR_BUCKET_NAME/*"
]
}
]
}
Note: Replace
YOUR_BUCKET_NAMEwith your actual S3 bucket ARN.
Export Process
- Trigger the HTML export via the HTML Export API.
- The Lambda function will upload the exported HTML files to your S3 bucket.
Checking Export Status
After the initiating the export, check the status using the HTML Download API.