@resistdesign/voltra 3.0.0-alpha.5 → 3.0.0-alpha.6

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.
package/api/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { D as DAC, a as Indexing, b as ORM, c as Routing } from '../index-CK5Qwvfb.js';
1
+ export { D as DAC, a as Indexing, b as ORM, c as Routing } from '../index-DbLgMAxB.js';
2
2
  import '@aws-sdk/client-dynamodb';
3
3
  import '@aws-sdk/client-s3';
4
4
  import '../SearchTypes-DjN6YQzE.js';
package/iac/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { i as Packs, b as Utils } from '../index-DcvJOZ_c.js';
2
- export { a as SimpleCFT, S as SimpleCFTModification } from '../index-BkFZlfit.js';
1
+ export { i as Packs, b as Utils } from '../index-DgOzPKdr.js';
2
+ export { a as SimpleCFT, S as SimpleCFTModification } from '../index-BjFkoQmK.js';
package/iac/index.js CHANGED
@@ -1076,7 +1076,8 @@ var addCloudFunction = createResourcePack(
1076
1076
  ]
1077
1077
  }
1078
1078
  }
1079
- ]
1079
+ ],
1080
+ memorySize = 128
1080
1081
  }) => {
1081
1082
  return {
1082
1083
  Resources: {
@@ -1111,7 +1112,8 @@ var addCloudFunction = createResourcePack(
1111
1112
  Role: {
1112
1113
  "Fn::GetAtt": [`${id}Role`, "Arn"]
1113
1114
  },
1114
- Runtime: runtime
1115
+ Runtime: runtime,
1116
+ MemorySize: memorySize
1115
1117
  }
1116
1118
  }
1117
1119
  }
@@ -1 +1 @@
1
- export { A as AddAuthConfig, g as AddBuildPipelineConfig, w as AddCDNConfig, F as AddCloudFunctionConfig, J as AddDNSConfig, H as AddDatabaseConfig, Q as AddGatewayAuthorizerConfig, T as AddGatewayConfig, V as AddRepoConfig, X as AddSSLCertificateConfig, M as AddSecureFileStorageConfig, r as ArtifactIdentifier, s as Artifacts, j as AtLeastOne, m as Batch, B as BuildPipelineRepoConfig, u as BuildSpec, k as COMMAND_HELPERS, t as Cache, z as CloudFunctionRuntime, f as CodeBuildComputeType, e as CodeBuildEnvironmentType, d as CustomCodeBuildString, O as DEFAULT_AUTH_TYPE, D as DEFAULT_BUILD_PIPELINE_REPO_PROVIDER, E as Env, L as LinuxUserNameString, y as PLACEHOLDER_FUNCTION_CODE, n as Phase, o as PhaseConfig, l as Proxy, p as ReportGroupNameOrArn, q as Reports, S as SecondaryArtifacts, Y as YesOrNo, c as addAuth, h as addBuildPipeline, x as addCDN, G as addCloudFunction, K as addDNS, I as addDatabase, U as addGateway, W as addRepo, Z as addSSLCertificate, N as addSecureFileStorage, v as createBuildSpec } from '../../index-DcvJOZ_c.js';
1
+ export { A as AddAuthConfig, g as AddBuildPipelineConfig, w as AddCDNConfig, F as AddCloudFunctionConfig, J as AddDNSConfig, H as AddDatabaseConfig, Q as AddGatewayAuthorizerConfig, T as AddGatewayConfig, V as AddRepoConfig, X as AddSSLCertificateConfig, M as AddSecureFileStorageConfig, r as ArtifactIdentifier, s as Artifacts, j as AtLeastOne, m as Batch, B as BuildPipelineRepoConfig, u as BuildSpec, k as COMMAND_HELPERS, t as Cache, z as CloudFunctionRuntime, f as CodeBuildComputeType, e as CodeBuildEnvironmentType, d as CustomCodeBuildString, O as DEFAULT_AUTH_TYPE, D as DEFAULT_BUILD_PIPELINE_REPO_PROVIDER, E as Env, L as LinuxUserNameString, y as PLACEHOLDER_FUNCTION_CODE, n as Phase, o as PhaseConfig, l as Proxy, p as ReportGroupNameOrArn, q as Reports, S as SecondaryArtifacts, Y as YesOrNo, c as addAuth, h as addBuildPipeline, x as addCDN, G as addCloudFunction, K as addDNS, I as addDatabase, U as addGateway, W as addRepo, Z as addSSLCertificate, N as addSecureFileStorage, v as createBuildSpec } from '../../index-DgOzPKdr.js';
@@ -1035,7 +1035,8 @@ var addCloudFunction = createResourcePack(
1035
1035
  ]
1036
1036
  }
1037
1037
  }
1038
- ]
1038
+ ],
1039
+ memorySize = 128
1039
1040
  }) => {
1040
1041
  return {
1041
1042
  Resources: {
@@ -1070,7 +1071,8 @@ var addCloudFunction = createResourcePack(
1070
1071
  Role: {
1071
1072
  "Fn::GetAtt": [`${id}Role`, "Arn"]
1072
1073
  },
1073
- Runtime: runtime
1074
+ Runtime: runtime,
1075
+ MemorySize: memorySize
1074
1076
  }
1075
1077
  }
1076
1078
  }
@@ -1,4 +1,4 @@
1
- import { C as CloudFormationTemplate, R as ResourcePackApplier, P as ParameterInfo, a as ParameterGroup, i as index$1, b as index$2 } from './index-DcvJOZ_c.js';
1
+ import { C as CloudFormationTemplate, R as ResourcePackApplier, P as ParameterInfo, a as ParameterGroup, i as index$1, b as index$2 } from './index-DgOzPKdr.js';
2
2
 
3
3
  /**
4
4
  * @packageDocumentation
@@ -4044,7 +4044,13 @@ type DACWildcardSignifier = {
4044
4044
  * A data access control (DAC) constraint.
4045
4045
  * */
4046
4046
  type DACResourcePathPart = LiteralValue | DACWildcardSignifier;
4047
+ /**
4048
+ * An ordered list of resource path segments used in DAC constraints.
4049
+ */
4047
4050
  type DACResourcePath = DACResourcePathPart[];
4051
+ /**
4052
+ * A data access control (DAC) constraint that defines an allow or deny rule for a resource path.
4053
+ */
4048
4054
  type DACConstraint = {
4049
4055
  /**
4050
4056
  * Whether the constraint explicitly allows or denies access.
@@ -235679,6 +235679,14 @@ type AddCloudFunctionConfig = {
235679
235679
  * IAM policy statements to attach to the role.
235680
235680
  */
235681
235681
  policies?: AWS.IAM.Role.Policy[];
235682
+ /**
235683
+ * Lambda function memory size in MB.
235684
+ *
235685
+ * You can configure memory between 128 MB and 10,240 MB in 1-MB increments.
235686
+ *
235687
+ * @default 128
235688
+ */
235689
+ memorySize?: number;
235682
235690
  };
235683
235691
  /**
235684
235692
  * Add a serverless cloud function to run part or all of your API (back-end) without always running servers.
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { i as API } from './index-CK5Qwvfb.js';
1
+ export { i as API } from './index-DbLgMAxB.js';
2
2
  export { i as App } from './index-IokxSNxm.js';
3
- export { i as IaC } from './index-BkFZlfit.js';
3
+ export { i as IaC } from './index-BjFkoQmK.js';
4
4
  export { i as Common } from './index-C3-iD9Mh.js';
5
5
  import '@aws-sdk/client-dynamodb';
6
6
  import '@aws-sdk/client-s3';
@@ -9,5 +9,5 @@ import './Validation-CFP59oIP.js';
9
9
  import './Types-C7XjUjoF.js';
10
10
  import 'react';
11
11
  import 'react/jsx-runtime';
12
- import './index-DcvJOZ_c.js';
12
+ import './index-DgOzPKdr.js';
13
13
  import 'typescript';
package/index.js CHANGED
@@ -9991,7 +9991,8 @@ var addCloudFunction = createResourcePack(
9991
9991
  ]
9992
9992
  }
9993
9993
  }
9994
- ]
9994
+ ],
9995
+ memorySize = 128
9995
9996
  }) => {
9996
9997
  return {
9997
9998
  Resources: {
@@ -10026,7 +10027,8 @@ var addCloudFunction = createResourcePack(
10026
10027
  Role: {
10027
10028
  "Fn::GetAtt": [`${id}Role`, "Arn"]
10028
10029
  },
10029
- Runtime: runtime
10030
+ Runtime: runtime,
10031
+ MemorySize: memorySize
10030
10032
  }
10031
10033
  }
10032
10034
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resistdesign/voltra",
3
- "version": "3.0.0-alpha.5",
3
+ "version": "3.0.0-alpha.6",
4
4
  "description": "With our powers combined!",
5
5
  "homepage": "https://voltra.app",
6
6
  "repository": "git@github.com:resistdesign/voltra.git",