@anvil-cloud/sdk 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/aws/cognitoAuth.ts +70 -0
  2. package/aws/cognitoUserPool.ts +132 -0
  3. package/aws/dynamoDB.ts +176 -0
  4. package/aws/eventBus.ts +91 -0
  5. package/aws/httpApi.ts +108 -0
  6. package/aws/index.ts +63 -0
  7. package/aws/lambda.ts +9 -3
  8. package/aws/oauthAuthorizer.ts +70 -0
  9. package/aws/queue.ts +156 -0
  10. package/aws/svelteKitSite.ts +14 -0
  11. package/aws/vpc.ts +159 -0
  12. package/aws/vpcEndpoint.ts +98 -0
  13. package/bin/aws/cognitoAuth.d.ts +36 -0
  14. package/bin/aws/cognitoAuth.js +53 -0
  15. package/bin/aws/cognitoAuth.js.map +1 -0
  16. package/bin/aws/cognitoUserPool.d.ts +82 -0
  17. package/bin/aws/cognitoUserPool.js +65 -0
  18. package/bin/aws/cognitoUserPool.js.map +1 -0
  19. package/bin/aws/dynamoDB.d.ts +115 -0
  20. package/bin/aws/dynamoDB.js +121 -0
  21. package/bin/aws/dynamoDB.js.map +1 -0
  22. package/bin/aws/eventBus.d.ts +47 -0
  23. package/bin/aws/eventBus.js +63 -0
  24. package/bin/aws/eventBus.js.map +1 -0
  25. package/bin/aws/httpApi.d.ts +66 -0
  26. package/bin/aws/httpApi.js +60 -0
  27. package/bin/aws/httpApi.js.map +1 -0
  28. package/bin/aws/index.d.ts +27 -0
  29. package/bin/aws/index.js +37 -1
  30. package/bin/aws/index.js.map +1 -1
  31. package/bin/aws/lambda.d.ts +7 -3
  32. package/bin/aws/lambda.js +2 -0
  33. package/bin/aws/lambda.js.map +1 -1
  34. package/bin/aws/oauthAuthorizer.d.ts +36 -0
  35. package/bin/aws/oauthAuthorizer.js +53 -0
  36. package/bin/aws/oauthAuthorizer.js.map +1 -0
  37. package/bin/aws/queue.d.ts +83 -0
  38. package/bin/aws/queue.js +103 -0
  39. package/bin/aws/queue.js.map +1 -0
  40. package/bin/aws/svelteKitSite.d.ts +9 -0
  41. package/bin/aws/svelteKitSite.js +3 -0
  42. package/bin/aws/svelteKitSite.js.map +1 -1
  43. package/bin/aws/vpc.d.ts +98 -0
  44. package/bin/aws/vpc.js +94 -0
  45. package/bin/aws/vpc.js.map +1 -0
  46. package/bin/aws/vpcEndpoint.d.ts +53 -0
  47. package/bin/aws/vpcEndpoint.js +62 -0
  48. package/bin/aws/vpcEndpoint.js.map +1 -0
  49. package/bin/grants.d.ts +0 -10
  50. package/bin/grants.js +5 -10
  51. package/bin/grants.js.map +1 -1
  52. package/bin/package.json +1 -1
  53. package/bin/types/enums/aws/index.d.ts +211 -7
  54. package/bin/types/enums/aws/index.js +192 -8
  55. package/bin/types/enums/aws/index.js.map +1 -1
  56. package/bin/types/input.d.ts +1040 -0
  57. package/bin/types/output.d.ts +13 -0
  58. package/grants.ts +7 -22
  59. package/package.json +1 -1
  60. package/tsconfig.json +9 -0
  61. package/types/enums/aws/index.ts +239 -7
  62. package/types/input.ts +1079 -0
  63. package/types/output.ts +14 -0
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.HttpApi = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * An Anvil-managed AWS HTTP API Gateway (API Gateway v2). Route-level consumers support Lambda, SQS, EventBridge, Step Functions, and HTTP proxy integrations. Secure by default: TLS 1.2 minimum enforced on custom domains, execute-api endpoint disabled when a custom domain is set, conservative throttling defaults (1000 rps / 500 burst), CORS opt-in with wildcard origin blocked, per-consumer least-privilege IAM roles, access logs on by default.
10
+ */
11
+ class HttpApi extends pulumi.ComponentResource {
12
+ /**
13
+ * Returns true if the given object is an instance of HttpApi. This is designed to work even
14
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
15
+ */
16
+ static isInstance(obj) {
17
+ if (obj === undefined || obj === null) {
18
+ return false;
19
+ }
20
+ return obj['__pulumiType'] === HttpApi.__pulumiType;
21
+ }
22
+ /**
23
+ * Create a HttpApi resource with the given unique name, arguments, and options.
24
+ *
25
+ * @param name The _unique_ name of the resource.
26
+ * @param args The arguments to use to populate this resource's properties.
27
+ * @param opts A bag of options that control this resource's behavior.
28
+ */
29
+ constructor(name, args, opts) {
30
+ let resourceInputs = {};
31
+ opts = opts || {};
32
+ if (!opts.id) {
33
+ if (args?.routes === undefined && !opts.urn) {
34
+ throw new Error("Missing required property 'routes'");
35
+ }
36
+ resourceInputs["cors"] = args?.cors;
37
+ resourceInputs["defaultAuthorizerId"] = args?.defaultAuthorizerId;
38
+ resourceInputs["domain"] = args?.domain;
39
+ resourceInputs["logRetention"] = args?.logRetention;
40
+ resourceInputs["routes"] = args?.routes;
41
+ resourceInputs["throttling"] = args?.throttling;
42
+ resourceInputs["apiEndpoint"] = undefined /*out*/;
43
+ resourceInputs["apiId"] = undefined /*out*/;
44
+ resourceInputs["certValidationCname"] = undefined /*out*/;
45
+ resourceInputs["url"] = undefined /*out*/;
46
+ }
47
+ else {
48
+ resourceInputs["apiEndpoint"] = undefined /*out*/;
49
+ resourceInputs["apiId"] = undefined /*out*/;
50
+ resourceInputs["certValidationCname"] = undefined /*out*/;
51
+ resourceInputs["url"] = undefined /*out*/;
52
+ }
53
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
54
+ super(HttpApi.__pulumiType, name, resourceInputs, opts, true /*remote*/);
55
+ }
56
+ }
57
+ exports.HttpApi = HttpApi;
58
+ /** @internal */
59
+ HttpApi.__pulumiType = 'anvil:aws:HttpApi';
60
+ //# sourceMappingURL=httpApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"httpApi.js","sourceRoot":"","sources":["../../aws/httpApi.ts"],"names":[],"mappings":";AAAA,sEAA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C,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;aAAM;YACH,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IAC7E,CAAC;;AAhEL,0BAiEC;AAhEG,gBAAgB;AACO,oBAAY,GAAG,mBAAmB,CAAC"}
@@ -1,10 +1,37 @@
1
1
  export { BucketArgs } from "./bucket";
2
2
  export type Bucket = import("./bucket").Bucket;
3
3
  export declare const Bucket: typeof import("./bucket").Bucket;
4
+ export { CognitoAuthArgs } from "./cognitoAuth";
5
+ export type CognitoAuth = import("./cognitoAuth").CognitoAuth;
6
+ export declare const CognitoAuth: typeof import("./cognitoAuth").CognitoAuth;
7
+ export { CognitoUserPoolArgs } from "./cognitoUserPool";
8
+ export type CognitoUserPool = import("./cognitoUserPool").CognitoUserPool;
9
+ export declare const CognitoUserPool: typeof import("./cognitoUserPool").CognitoUserPool;
10
+ export { DynamoDBArgs } from "./dynamoDB";
11
+ export type DynamoDB = import("./dynamoDB").DynamoDB;
12
+ export declare const DynamoDB: typeof import("./dynamoDB").DynamoDB;
13
+ export { EventBusArgs } from "./eventBus";
14
+ export type EventBus = import("./eventBus").EventBus;
15
+ export declare const EventBus: typeof import("./eventBus").EventBus;
16
+ export { HttpApiArgs } from "./httpApi";
17
+ export type HttpApi = import("./httpApi").HttpApi;
18
+ export declare const HttpApi: typeof import("./httpApi").HttpApi;
4
19
  export { LambdaArgs } from "./lambda";
5
20
  export type Lambda = import("./lambda").Lambda;
6
21
  export declare const Lambda: typeof import("./lambda").Lambda;
22
+ export { OAuthAuthorizerArgs } from "./oauthAuthorizer";
23
+ export type OAuthAuthorizer = import("./oauthAuthorizer").OAuthAuthorizer;
24
+ export declare const OAuthAuthorizer: typeof import("./oauthAuthorizer").OAuthAuthorizer;
25
+ export { QueueArgs } from "./queue";
26
+ export type Queue = import("./queue").Queue;
27
+ export declare const Queue: typeof import("./queue").Queue;
7
28
  export { SvelteKitSiteArgs } from "./svelteKitSite";
8
29
  export type SvelteKitSite = import("./svelteKitSite").SvelteKitSite;
9
30
  export declare const SvelteKitSite: typeof import("./svelteKitSite").SvelteKitSite;
31
+ export { VpcArgs } from "./vpc";
32
+ export type Vpc = import("./vpc").Vpc;
33
+ export declare const Vpc: typeof import("./vpc").Vpc;
34
+ export { VpcEndpointArgs } from "./vpcEndpoint";
35
+ export type VpcEndpoint = import("./vpcEndpoint").VpcEndpoint;
36
+ export declare const VpcEndpoint: typeof import("./vpcEndpoint").VpcEndpoint;
10
37
  export * from "../types/enums/aws";
package/bin/aws/index.js CHANGED
@@ -16,15 +16,33 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.SvelteKitSite = exports.Lambda = exports.Bucket = void 0;
19
+ exports.VpcEndpoint = exports.Vpc = exports.SvelteKitSite = exports.Queue = exports.OAuthAuthorizer = exports.Lambda = exports.HttpApi = exports.EventBus = exports.DynamoDB = exports.CognitoUserPool = exports.CognitoAuth = exports.Bucket = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("../utilities");
22
22
  exports.Bucket = null;
23
23
  utilities.lazyLoad(exports, ["Bucket"], () => require("./bucket"));
24
+ exports.CognitoAuth = null;
25
+ utilities.lazyLoad(exports, ["CognitoAuth"], () => require("./cognitoAuth"));
26
+ exports.CognitoUserPool = null;
27
+ utilities.lazyLoad(exports, ["CognitoUserPool"], () => require("./cognitoUserPool"));
28
+ exports.DynamoDB = null;
29
+ utilities.lazyLoad(exports, ["DynamoDB"], () => require("./dynamoDB"));
30
+ exports.EventBus = null;
31
+ utilities.lazyLoad(exports, ["EventBus"], () => require("./eventBus"));
32
+ exports.HttpApi = null;
33
+ utilities.lazyLoad(exports, ["HttpApi"], () => require("./httpApi"));
24
34
  exports.Lambda = null;
25
35
  utilities.lazyLoad(exports, ["Lambda"], () => require("./lambda"));
36
+ exports.OAuthAuthorizer = null;
37
+ utilities.lazyLoad(exports, ["OAuthAuthorizer"], () => require("./oauthAuthorizer"));
38
+ exports.Queue = null;
39
+ utilities.lazyLoad(exports, ["Queue"], () => require("./queue"));
26
40
  exports.SvelteKitSite = null;
27
41
  utilities.lazyLoad(exports, ["SvelteKitSite"], () => require("./svelteKitSite"));
42
+ exports.Vpc = null;
43
+ utilities.lazyLoad(exports, ["Vpc"], () => require("./vpc"));
44
+ exports.VpcEndpoint = null;
45
+ utilities.lazyLoad(exports, ["VpcEndpoint"], () => require("./vpcEndpoint"));
28
46
  // Export enums:
29
47
  __exportStar(require("../types/enums/aws"), exports);
30
48
  const _module = {
@@ -33,10 +51,28 @@ const _module = {
33
51
  switch (type) {
34
52
  case "anvil:aws:Bucket":
35
53
  return new exports.Bucket(name, undefined, { urn });
54
+ case "anvil:aws:CognitoAuth":
55
+ return new exports.CognitoAuth(name, undefined, { urn });
56
+ case "anvil:aws:CognitoUserPool":
57
+ return new exports.CognitoUserPool(name, undefined, { urn });
58
+ case "anvil:aws:DynamoDB":
59
+ return new exports.DynamoDB(name, undefined, { urn });
60
+ case "anvil:aws:EventBus":
61
+ return new exports.EventBus(name, undefined, { urn });
62
+ case "anvil:aws:HttpApi":
63
+ return new exports.HttpApi(name, undefined, { urn });
36
64
  case "anvil:aws:Lambda":
37
65
  return new exports.Lambda(name, undefined, { urn });
66
+ case "anvil:aws:OAuthAuthorizer":
67
+ return new exports.OAuthAuthorizer(name, undefined, { urn });
68
+ case "anvil:aws:Queue":
69
+ return new exports.Queue(name, undefined, { urn });
38
70
  case "anvil:aws:SvelteKitSite":
39
71
  return new exports.SvelteKitSite(name, undefined, { urn });
72
+ case "anvil:aws:Vpc":
73
+ return new exports.Vpc(name, undefined, { urn });
74
+ case "anvil:aws:VpcEndpoint":
75
+ return new exports.VpcEndpoint(name, undefined, { urn });
40
76
  default:
41
77
  throw new Error(`unknown resource type ${type}`);
42
78
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../aws/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAItD,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAItD,QAAA,aAAa,GAAmD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAGjF,gBAAgB;AAChB,qDAAmC;AAEnC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,kBAA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E,EAAE,GAAG,EAAE,CAAC,CAAA;YACnD,KAAK,yBAAyB;gBAC1B,OAAO,IAAI,qBAAa,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC3D,KAAK,eAAe;gBAChB,OAAO,IAAI,WAAG,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjD,KAAK,uBAAuB;gBACxB,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAAA"}
@@ -24,6 +24,10 @@ export declare class Lambda extends pulumi.ComponentResource {
24
24
  * The ARN of the Lambda's IAM execution role.
25
25
  */
26
26
  readonly roleArn: pulumi.Output<string>;
27
+ /**
28
+ * The ID of the dedicated security group created for this Lambda. Only populated when vpc is set. Use this to grant other resources access to this Lambda via the grant system.
29
+ */
30
+ readonly securityGroupId: pulumi.Output<string | undefined>;
27
31
  /**
28
32
  * Create a Lambda resource with the given unique name, arguments, and options.
29
33
  *
@@ -97,11 +101,11 @@ export interface LambdaArgs {
97
101
  tracing?: pulumi.Input<boolean>;
98
102
  transform?: pulumi.Input<inputs.aws.LambdaTransformArgsArgs>;
99
103
  /**
100
- * Enable a direct HTTPS endpoint for the function. Auth mode is AWS_IAM never public. Default: false.
104
+ * Enable a direct HTTPS endpoint for the function. Auth mode is AWS_IAM - never public. Default: false.
101
105
  */
102
106
  url?: pulumi.Input<boolean>;
103
107
  /**
104
- * VPC ID to place the Lambda in for access to private resources (RDS, ElastiCache, etc.).
108
+ * Places the Lambda inside a VPC for access to private resources such as RDS or ElastiCache. Anvil creates a dedicated security group with zero inbound and zero outbound rules. Nothing is reachable until explicitly granted via the grant system.
105
109
  */
106
- vpc?: pulumi.Input<string>;
110
+ vpc?: pulumi.Input<inputs.aws.LambdaVpcArgsArgs>;
107
111
  }
package/bin/aws/lambda.js CHANGED
@@ -52,12 +52,14 @@ class Lambda extends pulumi.ComponentResource {
52
52
  resourceInputs["functionName"] = undefined /*out*/;
53
53
  resourceInputs["functionUrl"] = undefined /*out*/;
54
54
  resourceInputs["roleArn"] = undefined /*out*/;
55
+ resourceInputs["securityGroupId"] = undefined /*out*/;
55
56
  }
56
57
  else {
57
58
  resourceInputs["arn"] = undefined /*out*/;
58
59
  resourceInputs["functionName"] = undefined /*out*/;
59
60
  resourceInputs["functionUrl"] = undefined /*out*/;
60
61
  resourceInputs["roleArn"] = undefined /*out*/;
62
+ resourceInputs["securityGroupId"] = undefined /*out*/;
61
63
  }
62
64
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
63
65
  super(Lambda.__pulumiType, name, resourceInputs, opts, true /*remote*/);
@@ -1 +1 @@
1
- {"version":3,"file":"lambda.js","sourceRoot":"","sources":["../../aws/lambda.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAG1C,oCAAoC;AAEpC,MAAa,MAAO,SAAQ,MAAM,CAAC,iBAAiB;IAOhD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAgB,EAAE,IAAsC;QAC9E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YAC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CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;QACxE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,WAAW,CAAC,MAA0B,EAAE,IAA0B;QACrE,MAAM,IAAI,GAAG,GAAG,IAAI,CAAC,MAAM,IAAI,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC;QAC3D,MAAM,IAAI,GAAG,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;QAC3D,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,uBAAuB,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;IACD,kEAAkE;IAC3D,SAAS;QACZ,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAED,mEAAmE;IAC5D,YAAY;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;;AA3GL,wBA6GC;AA5GG,gBAAgB;AACO,mBAAY,GAAG,kBAAkB,CAAC"}
@@ -0,0 +1,36 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * An Anvil-managed JWT authorizer for HTTP API Gateway. Works with any OIDC-compliant identity provider — Auth0, Clerk, Google, Okta, Cognito. API Gateway verifies the JWT signature, issuer, audience, and expiry on every request natively — no Lambda or custom code required. Pass authorizerId to HttpApi defaultAuthorizerId to protect your routes.
4
+ */
5
+ export declare class OAuthAuthorizer extends pulumi.ComponentResource {
6
+ /**
7
+ * Returns true if the given object is an instance of OAuthAuthorizer. This is designed to work even
8
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
9
+ */
10
+ static isInstance(obj: any): obj is OAuthAuthorizer;
11
+ /**
12
+ * The API Gateway authorizer ID. Pass this to HttpApi defaultAuthorizerId to protect your API routes.
13
+ */
14
+ readonly authorizerId: pulumi.Output<string>;
15
+ /**
16
+ * Create a OAuthAuthorizer resource with the given unique name, arguments, and options.
17
+ *
18
+ * @param name The _unique_ name of the resource.
19
+ * @param args The arguments to use to populate this resource's properties.
20
+ * @param opts A bag of options that control this resource's behavior.
21
+ */
22
+ constructor(name: string, args: OAuthAuthorizerArgs, opts?: pulumi.ComponentResourceOptions);
23
+ }
24
+ /**
25
+ * The set of arguments for constructing a OAuthAuthorizer resource.
26
+ */
27
+ export interface OAuthAuthorizerArgs {
28
+ /**
29
+ * The intended recipients of the JWT. API Gateway rejects tokens whose 'aud' claim does not match one of these values. Typically your API's client ID registered with the identity provider.
30
+ */
31
+ audience: pulumi.Input<pulumi.Input<string>[]>;
32
+ /**
33
+ * The OIDC issuer URL of your identity provider. API Gateway fetches public signing keys from {issuer}/.well-known/jwks.json to verify token signatures. Examples: Auth0: 'https://your-tenant.auth0.com/', Clerk: 'https://your-instance.clerk.accounts.dev', Google: 'https://accounts.google.com'.
34
+ */
35
+ issuer: pulumi.Input<string>;
36
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.OAuthAuthorizer = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * An Anvil-managed JWT authorizer for HTTP API Gateway. Works with any OIDC-compliant identity provider — Auth0, Clerk, Google, Okta, Cognito. API Gateway verifies the JWT signature, issuer, audience, and expiry on every request natively — no Lambda or custom code required. Pass authorizerId to HttpApi defaultAuthorizerId to protect your routes.
10
+ */
11
+ class OAuthAuthorizer extends pulumi.ComponentResource {
12
+ /**
13
+ * Returns true if the given object is an instance of OAuthAuthorizer. This is designed to work even
14
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
15
+ */
16
+ static isInstance(obj) {
17
+ if (obj === undefined || obj === null) {
18
+ return false;
19
+ }
20
+ return obj['__pulumiType'] === OAuthAuthorizer.__pulumiType;
21
+ }
22
+ /**
23
+ * Create a OAuthAuthorizer resource with the given unique name, arguments, and options.
24
+ *
25
+ * @param name The _unique_ name of the resource.
26
+ * @param args The arguments to use to populate this resource's properties.
27
+ * @param opts A bag of options that control this resource's behavior.
28
+ */
29
+ constructor(name, args, opts) {
30
+ let resourceInputs = {};
31
+ opts = opts || {};
32
+ if (!opts.id) {
33
+ if (args?.audience === undefined && !opts.urn) {
34
+ throw new Error("Missing required property 'audience'");
35
+ }
36
+ if (args?.issuer === undefined && !opts.urn) {
37
+ throw new Error("Missing required property 'issuer'");
38
+ }
39
+ resourceInputs["audience"] = args?.audience;
40
+ resourceInputs["issuer"] = args?.issuer;
41
+ resourceInputs["authorizerId"] = undefined /*out*/;
42
+ }
43
+ else {
44
+ resourceInputs["authorizerId"] = undefined /*out*/;
45
+ }
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
47
+ super(OAuthAuthorizer.__pulumiType, name, resourceInputs, opts, true /*remote*/);
48
+ }
49
+ }
50
+ exports.OAuthAuthorizer = OAuthAuthorizer;
51
+ /** @internal */
52
+ OAuthAuthorizer.__pulumiType = 'anvil:aws:OAuthAuthorizer';
53
+ //# sourceMappingURL=oauthAuthorizer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"oauthAuthorizer.js","sourceRoot":"","sources":["../../aws/oauthAuthorizer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,iBAAiB;IAIzD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAOD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAyB,EAAE,IAAsC;QACvF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;aAAM;YACH,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IACrF,CAAC;;AA7CL,0CA8CC;AA7CG,gBAAgB;AACO,4BAAY,GAAG,2BAA2B,CAAC"}
@@ -0,0 +1,83 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as grants from "../grants";
4
+ /**
5
+ * An Anvil-managed SQS queue. A dead letter queue is always provisioned to prevent silent message loss. SSE-SQS encryption is enabled by default at no cost.
6
+ */
7
+ export declare class Queue extends pulumi.ComponentResource {
8
+ /**
9
+ * Returns true if the given object is an instance of Queue. This is designed to work even
10
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
11
+ */
12
+ static isInstance(obj: any): obj is Queue;
13
+ /**
14
+ * The ARN of the SQS queue.
15
+ */
16
+ readonly arn: pulumi.Output<string>;
17
+ /**
18
+ * The ARN of the dead letter queue.
19
+ */
20
+ readonly dlqArn: pulumi.Output<string>;
21
+ /**
22
+ * The URL of the dead letter queue.
23
+ */
24
+ readonly dlqUrl: pulumi.Output<string>;
25
+ /**
26
+ * The physical name of the SQS queue.
27
+ */
28
+ readonly name: pulumi.Output<string>;
29
+ /**
30
+ * The URL of the SQS queue. Use this to send and receive messages.
31
+ */
32
+ readonly url: pulumi.Output<string>;
33
+ /**
34
+ * Create a Queue resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name: string, args?: QueueArgs, opts?: pulumi.ComponentResourceOptions);
41
+ /**
42
+ * Grants sendmessage access (sqs:SendMessage) on this queue
43
+ * to the target compute resource's execution role.
44
+ *
45
+ * @param target - The compute resource to grant access to.
46
+ * @param opts - Optional grant options (justification for audit trail).
47
+ */
48
+ grantSendMessage(target: grants.GrantTarget, opts?: grants.GrantOptions): void;
49
+ /**
50
+ * Grants consumemessages access (sqs:ReceiveMessage, sqs:DeleteMessage, sqs:GetQueueAttributes) on this queue
51
+ * to the target compute resource's execution role.
52
+ *
53
+ * @param target - The compute resource to grant access to.
54
+ * @param opts - Optional grant options (justification for audit trail).
55
+ */
56
+ grantConsumeMessages(target: grants.GrantTarget, opts?: grants.GrantOptions): void;
57
+ /**
58
+ * Grants full access (sqs:SendMessage, sqs:ReceiveMessage, sqs:DeleteMessage, sqs:GetQueueAttributes, sqs:ChangeMessageVisibility, sqs:PurgeQueue) on this queue
59
+ * to the target compute resource's execution role.
60
+ *
61
+ * This is an escape hatch — prefer scoped grants (grantRead, grantWrite, etc.).
62
+ * A warning is logged if no justification is provided.
63
+ */
64
+ grantFullAccess(target: grants.GrantTarget, opts?: grants.GrantOptions): void;
65
+ }
66
+ /**
67
+ * The set of arguments for constructing a Queue resource.
68
+ */
69
+ export interface QueueArgs {
70
+ /**
71
+ * Wires a compute resource to consume messages from this queue. Creates the event source mapping (trigger) and grants the necessary IAM permissions automatically.
72
+ */
73
+ consumer?: pulumi.Input<inputs.aws.QueueConsumerArgsArgs>;
74
+ /**
75
+ * Dead letter queue configuration. Always provisioned — messages that fail processing are moved here instead of being silently dropped. Omit to use defaults (managed DLQ, maxReceiveCount: 3). Set arn to reuse an existing queue.
76
+ */
77
+ dlq?: pulumi.Input<inputs.aws.QueueDlqArgsArgs>;
78
+ /**
79
+ * Creates a FIFO queue when true. FIFO queues guarantee message ordering and exactly-once processing but have lower throughput (~3,000 msg/s vs unlimited for standard). Use for financial transactions, inventory updates, or any workflow where ordering or deduplication matters. Default: false.
80
+ */
81
+ fifo?: pulumi.Input<boolean>;
82
+ transform?: pulumi.Input<inputs.aws.QueueTransformArgsArgs>;
83
+ }
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Queue = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ const grants = require("../grants");
9
+ /**
10
+ * An Anvil-managed SQS queue. A dead letter queue is always provisioned to prevent silent message loss. SSE-SQS encryption is enabled by default at no cost.
11
+ */
12
+ class Queue extends pulumi.ComponentResource {
13
+ /**
14
+ * Returns true if the given object is an instance of Queue. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj) {
18
+ if (obj === undefined || obj === null) {
19
+ return false;
20
+ }
21
+ return obj['__pulumiType'] === Queue.__pulumiType;
22
+ }
23
+ /**
24
+ * Create a Queue resource with the given unique name, arguments, and options.
25
+ *
26
+ * @param name The _unique_ name of the resource.
27
+ * @param args The arguments to use to populate this resource's properties.
28
+ * @param opts A bag of options that control this resource's behavior.
29
+ */
30
+ constructor(name, args, opts) {
31
+ let resourceInputs = {};
32
+ opts = opts || {};
33
+ if (!opts.id) {
34
+ resourceInputs["consumer"] = args?.consumer;
35
+ resourceInputs["dlq"] = args?.dlq;
36
+ resourceInputs["fifo"] = args?.fifo;
37
+ resourceInputs["transform"] = args?.transform;
38
+ resourceInputs["arn"] = undefined /*out*/;
39
+ resourceInputs["dlqArn"] = undefined /*out*/;
40
+ resourceInputs["dlqUrl"] = undefined /*out*/;
41
+ resourceInputs["name"] = undefined /*out*/;
42
+ resourceInputs["url"] = undefined /*out*/;
43
+ }
44
+ else {
45
+ resourceInputs["arn"] = undefined /*out*/;
46
+ resourceInputs["dlqArn"] = undefined /*out*/;
47
+ resourceInputs["dlqUrl"] = undefined /*out*/;
48
+ resourceInputs["name"] = undefined /*out*/;
49
+ resourceInputs["url"] = undefined /*out*/;
50
+ }
51
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
52
+ super(Queue.__pulumiType, name, resourceInputs, opts, true /*remote*/);
53
+ this.__name = name;
54
+ }
55
+ /**
56
+ * Grants sendmessage access (sqs:SendMessage) on this queue
57
+ * to the target compute resource's execution role.
58
+ *
59
+ * @param target - The compute resource to grant access to.
60
+ * @param opts - Optional grant options (justification for audit trail).
61
+ */
62
+ grantSendMessage(target, opts) {
63
+ const name = `${this.__name}-${target.grantName()}-sendmessage`;
64
+ const arns = grants.buildResourceArns(this.arn, undefined);
65
+ grants.createGrant(this, name, target, ["sqs:SendMessage"], arns, opts);
66
+ }
67
+ /**
68
+ * Grants consumemessages access (sqs:ReceiveMessage, sqs:DeleteMessage, sqs:GetQueueAttributes) on this queue
69
+ * to the target compute resource's execution role.
70
+ *
71
+ * @param target - The compute resource to grant access to.
72
+ * @param opts - Optional grant options (justification for audit trail).
73
+ */
74
+ grantConsumeMessages(target, opts) {
75
+ const name = `${this.__name}-${target.grantName()}-consumemessages`;
76
+ const arns = grants.buildResourceArns(this.arn, undefined);
77
+ grants.createGrant(this, name, target, ["sqs:ReceiveMessage", "sqs:DeleteMessage", "sqs:GetQueueAttributes"], arns, opts);
78
+ }
79
+ /**
80
+ * Grants full access (sqs:SendMessage, sqs:ReceiveMessage, sqs:DeleteMessage, sqs:GetQueueAttributes, sqs:ChangeMessageVisibility, sqs:PurgeQueue) on this queue
81
+ * to the target compute resource's execution role.
82
+ *
83
+ * This is an escape hatch — prefer scoped grants (grantRead, grantWrite, etc.).
84
+ * A warning is logged if no justification is provided.
85
+ */
86
+ grantFullAccess(target, opts) {
87
+ if (!opts?.justification) {
88
+ pulumi.log.warn(`⚠ ${this.__name} → ${target.grantName()}: full access granted with no justification. ` +
89
+ `Consider scoping with grantRead, grantWrite, or grantDelete, ` +
90
+ `or add a justification.`, this);
91
+ }
92
+ else {
93
+ pulumi.log.info(`ℹ ${this.__name} → ${target.grantName()}: full access granted. Justification: "${opts.justification}"`, this);
94
+ }
95
+ const name = `${this.__name}-${target.grantName()}-fullaccess`;
96
+ const arns = grants.buildResourceArns(this.arn, undefined);
97
+ grants.createGrant(this, name, target, ["sqs:SendMessage", "sqs:ReceiveMessage", "sqs:DeleteMessage", "sqs:GetQueueAttributes", "sqs:ChangeMessageVisibility", "sqs:PurgeQueue"], arns, opts);
98
+ }
99
+ }
100
+ exports.Queue = Queue;
101
+ /** @internal */
102
+ Queue.__pulumiType = 'anvil:aws:Queue';
103
+ //# sourceMappingURL=queue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queue.js","sourceRoot":"","sources":["../../aws/queue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAC1C,oCAAoC;AAEpC;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,iBAAiB;IAO/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AAI,CAAC,MAAM,MAAM,MAAM,CAAC,SAAS,EAAE,+CAA+C;gBACvF,+DAA+D;gBAC/D,yBAAyB,EACzB,IAAI,CACP,CAAC;SACL;aAAM;YACH,MAAM,CAAC,GAAG,CAAC,IAAI,CACX,KAAK,IAAI,CAAC,MAAM,MAAM,MAAM,CAAC,SAAS,EAAE,0CAA0C,IAAI,CAAC,aAAa,GAAG,EACvG,IAAI,CACP,CAAC;SACL;QACD,MAAM,IAAI,GAAG,GAAG,IAAI,CAAC,MAAM,IAAI,MAAM,CAAC,SAAS,EAAE,aAAa,CAAC;QAC/D,MAAM,IAAI,GAAG,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;QAC3D,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,iBAAiB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,6BAA6B,EAAE,gBAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAClM,CAAC;;AAzHL,sBA2HC;AA1HG,gBAAgB;AACO,kBAAY,GAAG,iBAAiB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
2
3
  export declare class SvelteKitSite extends pulumi.ComponentResource {
3
4
  /**
4
5
  * Returns true if the given object is an instance of SvelteKitSite. This is designed to work even
@@ -9,6 +10,10 @@ export declare class SvelteKitSite extends pulumi.ComponentResource {
9
10
  readonly cloudFrontDistributionId: pulumi.Output<string | undefined>;
10
11
  readonly dnsRecords: pulumi.Output<string | undefined>;
11
12
  readonly functionName: pulumi.Output<string | undefined>;
13
+ /**
14
+ * OriginSecret is the x-origin-secret header value to configure in Cloudflare Transform Rules. Only populated when originProtection is set.
15
+ */
16
+ readonly originSecret: pulumi.Output<string | undefined>;
12
17
  readonly url: pulumi.Output<string | undefined>;
13
18
  /**
14
19
  * Create a SvelteKitSite resource with the given unique name, arguments, and options.
@@ -30,6 +35,10 @@ export interface SvelteKitSiteArgs {
30
35
  environment?: pulumi.Input<{
31
36
  [key: string]: pulumi.Input<string>;
32
37
  }>;
38
+ /**
39
+ * OriginProtection enables WAF-based origin protection. When set, a WAF WebACL is created that blocks requests missing the x-origin-secret header. The secret value is output as originSecret. Requires domain to be set.
40
+ */
41
+ originProtection?: pulumi.Input<inputs.aws.SiteOriginProtectionArgs>;
33
42
  path?: pulumi.Input<string>;
34
43
  /**
35
44
  * Runtime-only environment vars set on the Lambda function. Supports Pulumi Output values (e.g. bucket.name, fn.arn). Only available at request time, NOT during build/prerendering.
@@ -29,6 +29,7 @@ class SvelteKitSite extends pulumi.ComponentResource {
29
29
  if (!opts.id) {
30
30
  resourceInputs["domain"] = args?.domain;
31
31
  resourceInputs["environment"] = args?.environment;
32
+ resourceInputs["originProtection"] = args?.originProtection;
32
33
  resourceInputs["path"] = args?.path;
33
34
  resourceInputs["runtimeEnvironment"] = args?.runtimeEnvironment;
34
35
  resourceInputs["transform"] = args?.transform;
@@ -36,6 +37,7 @@ class SvelteKitSite extends pulumi.ComponentResource {
36
37
  resourceInputs["cloudFrontDistributionId"] = undefined /*out*/;
37
38
  resourceInputs["dnsRecords"] = undefined /*out*/;
38
39
  resourceInputs["functionName"] = undefined /*out*/;
40
+ resourceInputs["originSecret"] = undefined /*out*/;
39
41
  resourceInputs["url"] = undefined /*out*/;
40
42
  }
41
43
  else {
@@ -43,6 +45,7 @@ class SvelteKitSite extends pulumi.ComponentResource {
43
45
  resourceInputs["cloudFrontDistributionId"] = undefined /*out*/;
44
46
  resourceInputs["dnsRecords"] = undefined /*out*/;
45
47
  resourceInputs["functionName"] = undefined /*out*/;
48
+ resourceInputs["originSecret"] = undefined /*out*/;
46
49
  resourceInputs["url"] = undefined /*out*/;
47
50
  }
48
51
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"svelteKitSite.js","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