mirror of https://github.com/pulumi/pulumi.git
38 lines
1.0 KiB
TypeScript
38 lines
1.0 KiB
TypeScript
import * as pulumi from "@pulumi/pulumi";
|
|
import * as aws_static_website from "@pulumi/aws-static-website";
|
|
|
|
const websiteResource = new aws_static_website.Website("websiteResource", {
|
|
sitePath: "string",
|
|
indexHTML: "string",
|
|
cacheTTL: 0,
|
|
cdnArgs: {
|
|
cloudfrontFunctionAssociations: [{
|
|
eventType: "string",
|
|
functionArn: "string",
|
|
}],
|
|
forwardedValues: {
|
|
cookies: {
|
|
forward: "string",
|
|
whitelistedNames: ["string"],
|
|
},
|
|
queryString: false,
|
|
headers: ["string"],
|
|
queryStringCacheKeys: ["string"],
|
|
},
|
|
lambdaFunctionAssociations: [{
|
|
eventType: "string",
|
|
lambdaArn: "string",
|
|
includeBody: false,
|
|
}],
|
|
},
|
|
certificateARN: "string",
|
|
error404: "string",
|
|
addWebsiteVersionHeader: false,
|
|
priceClass: "string",
|
|
atomicDeployments: false,
|
|
subdomain: "string",
|
|
targetDomain: "string",
|
|
withCDN: false,
|
|
withLogs: false,
|
|
});
|