@gradientedge/cdk-utils 9.39.0 → 9.39.1

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.
@@ -92,7 +92,7 @@ class AzureFunctionManager {
92
92
  if (!resourceGroup)
93
93
  throw `Resource group undefined for ${id}`;
94
94
  const functionApp = new resource_1.Resource(scope, `${id}-fa`, {
95
- type: 'Microsoft.Web/sites@2023-12-01',
95
+ type: 'Microsoft.Web/sites@2024-04-01',
96
96
  name: `${props.name}-${scope.props.stage}`,
97
97
  location: resourceGroup.location,
98
98
  parentId: resourceGroup.id,
@@ -137,6 +137,7 @@ class AzureFunctionManager {
137
137
  value: props.storageConnectionString,
138
138
  },
139
139
  ]),
140
+ connectionStrings: props.connectionStrings,
140
141
  },
141
142
  },
142
143
  },
@@ -8,9 +8,11 @@ export interface FunctionAppFlexConsumptionProps {
8
8
  appServicePlanId: string;
9
9
  appSettings: any;
10
10
  blobEndpoint: string;
11
+ connectionStrings: any;
11
12
  containerName: string;
12
13
  deploymentAuthenticationType?: string;
13
14
  deploymentStorageType?: string;
15
+ deploySource: string;
14
16
  httpsOnly?: string;
15
17
  instanceMemory?: number;
16
18
  kind?: string;
@@ -22,5 +24,4 @@ export interface FunctionAppFlexConsumptionProps {
22
24
  storageAccountConnectionStringName?: string;
23
25
  storageConnectionString: string;
24
26
  sourceCodeHash: string;
25
- deploySource: string;
26
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "9.39.0",
3
+ "version": "9.39.1",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -104,7 +104,7 @@ export class AzureFunctionManager {
104
104
  if (!resourceGroup) throw `Resource group undefined for ${id}`
105
105
 
106
106
  const functionApp = new Resource(scope, `${id}-fa`, {
107
- type: 'Microsoft.Web/sites@2023-12-01',
107
+ type: 'Microsoft.Web/sites@2024-04-01',
108
108
  name: `${props.name}-${scope.props.stage}`,
109
109
  location: resourceGroup.location,
110
110
  parentId: resourceGroup.id,
@@ -154,6 +154,7 @@ export class AzureFunctionManager {
154
154
  value: props.storageConnectionString,
155
155
  },
156
156
  ]),
157
+ connectionStrings: props.connectionStrings,
157
158
  },
158
159
  },
159
160
  },
@@ -10,9 +10,11 @@ export interface FunctionAppFlexConsumptionProps {
10
10
  appServicePlanId: string
11
11
  appSettings: any
12
12
  blobEndpoint: string
13
+ connectionStrings: any
13
14
  containerName: string
14
15
  deploymentAuthenticationType?: string
15
16
  deploymentStorageType?: string
17
+ deploySource: string
16
18
  httpsOnly?: string
17
19
  instanceMemory?: number
18
20
  kind?: string
@@ -24,5 +26,4 @@ export interface FunctionAppFlexConsumptionProps {
24
26
  storageAccountConnectionStringName?: string
25
27
  storageConnectionString: string
26
28
  sourceCodeHash: string
27
- deploySource: string
28
29
  }