@awboost/cfn-resource-types 0.1.489 → 0.1.491
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/lib/AWS-DevOpsAgent-AgentSpace.d.ts +53 -0
- package/lib/AWS-DevOpsAgent-AgentSpace.js +12 -0
- package/lib/AWS-DevOpsAgent-Association.d.ts +450 -0
- package/lib/AWS-DevOpsAgent-Association.js +12 -0
- package/lib/AWS-Lambda-CapacityProvider.d.ts +208 -0
- package/lib/AWS-Lambda-CapacityProvider.js +12 -0
- package/lib/AWS-Lambda-Function.d.ts +72 -0
- package/lib/AWS-Lambda-Version.d.ts +21 -0
- package/lib/AWS-S3-StorageLens.d.ts +61 -0
- package/package.json +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::DevOpsAgent::AgentSpace
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-agentspace.html}
|
|
6
|
+
*/
|
|
7
|
+
export type DevOpsAgentAgentSpaceProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The description of the AgentSpace.
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
* @maxLength `1000`
|
|
12
|
+
*/
|
|
13
|
+
Description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The name of the AgentSpace.
|
|
16
|
+
* @minLength `1`
|
|
17
|
+
* @maxLength `255`
|
|
18
|
+
*/
|
|
19
|
+
Name: string;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Attribute type definition for `AWS::DevOpsAgent::AgentSpace`.
|
|
23
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-agentspace.html#aws-resource-devopsagent-agentspace-return-values}
|
|
24
|
+
*/
|
|
25
|
+
export type DevOpsAgentAgentSpaceAttributes = {
|
|
26
|
+
/**
|
|
27
|
+
* The unique identifier of the AgentSpace
|
|
28
|
+
* @minLength `1`
|
|
29
|
+
* @maxLength `255`
|
|
30
|
+
*/
|
|
31
|
+
AgentSpaceId: string;
|
|
32
|
+
/**
|
|
33
|
+
* The Amazon Resource Name (ARN) of the AgentSpace.
|
|
34
|
+
*/
|
|
35
|
+
Arn: string;
|
|
36
|
+
/**
|
|
37
|
+
* The timestamp when the resource was created.
|
|
38
|
+
*/
|
|
39
|
+
CreatedAt: string;
|
|
40
|
+
/**
|
|
41
|
+
* The timestamp when the resource was last updated.
|
|
42
|
+
*/
|
|
43
|
+
UpdatedAt: string;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Resource Type definition for AWS::DevOpsAgent::AgentSpace
|
|
47
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-agentspace.html}
|
|
48
|
+
*/
|
|
49
|
+
export declare class DevOpsAgentAgentSpace extends $Resource<"AWS::DevOpsAgent::AgentSpace", DevOpsAgentAgentSpaceProperties, DevOpsAgentAgentSpaceAttributes> {
|
|
50
|
+
static readonly Type = "AWS::DevOpsAgent::AgentSpace";
|
|
51
|
+
constructor(logicalId: string, properties: DevOpsAgentAgentSpaceProperties, options?: $ResourceOptions);
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=AWS-DevOpsAgent-AgentSpace.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Type definition for AWS::DevOpsAgent::AgentSpace
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-agentspace.html}
|
|
5
|
+
*/
|
|
6
|
+
export class DevOpsAgentAgentSpace extends $Resource {
|
|
7
|
+
static Type = "AWS::DevOpsAgent::AgentSpace";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, DevOpsAgentAgentSpace.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-DevOpsAgent-AgentSpace.js.map
|
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::DevOpsAgent::Association defining how the AgentSpace interacts with external services like GitHub, Slack, AWS accounts, and others.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-association.html}
|
|
6
|
+
*/
|
|
7
|
+
export type DevOpsAgentAssociationProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The unique identifier of the AgentSpace
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
* @maxLength `255`
|
|
12
|
+
*/
|
|
13
|
+
AgentSpaceId: string;
|
|
14
|
+
/**
|
|
15
|
+
* The configuration that directs how AgentSpace interacts with the given service
|
|
16
|
+
*/
|
|
17
|
+
Configuration: ServiceConfiguration;
|
|
18
|
+
/**
|
|
19
|
+
* The identifier for the associated service
|
|
20
|
+
* @minLength `1`
|
|
21
|
+
* @maxLength `255`
|
|
22
|
+
*/
|
|
23
|
+
ServiceId: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Attribute type definition for `AWS::DevOpsAgent::Association`.
|
|
27
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-association.html#aws-resource-devopsagent-association-return-values}
|
|
28
|
+
*/
|
|
29
|
+
export type DevOpsAgentAssociationAttributes = {
|
|
30
|
+
/**
|
|
31
|
+
* The unique identifier of the association
|
|
32
|
+
* @minLength `1`
|
|
33
|
+
* @maxLength `255`
|
|
34
|
+
*/
|
|
35
|
+
AssociationId: string;
|
|
36
|
+
/**
|
|
37
|
+
* The timestamp when the association was created
|
|
38
|
+
*/
|
|
39
|
+
CreatedAt: string;
|
|
40
|
+
/**
|
|
41
|
+
* The timestamp when the association was last updated
|
|
42
|
+
*/
|
|
43
|
+
UpdatedAt: string;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Type definition for `AWS::DevOpsAgent::Association.AWSConfiguration`.
|
|
47
|
+
* AWS association for 'monitor' account
|
|
48
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsconfiguration.html}
|
|
49
|
+
*/
|
|
50
|
+
export type AWSConfiguration = {
|
|
51
|
+
/**
|
|
52
|
+
* AWS Account Id corresponding to provided resources
|
|
53
|
+
* @pattern `\d{12}`
|
|
54
|
+
*/
|
|
55
|
+
AccountId: string;
|
|
56
|
+
/**
|
|
57
|
+
* Account Type 'monitor' for DevOpsAgent monitoring
|
|
58
|
+
*/
|
|
59
|
+
AccountType: "monitor";
|
|
60
|
+
/**
|
|
61
|
+
* Role ARN to be assumed by DevOpsAgent to operate on behalf of customer
|
|
62
|
+
*/
|
|
63
|
+
AssumableRoleArn: string;
|
|
64
|
+
/**
|
|
65
|
+
* List of AWS resources
|
|
66
|
+
*/
|
|
67
|
+
Resources?: AWSResource[];
|
|
68
|
+
/**
|
|
69
|
+
* List of AWS tags as key-value pairs
|
|
70
|
+
*/
|
|
71
|
+
Tags?: KeyValuePair[];
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Type definition for `AWS::DevOpsAgent::Association.AWSResource`.
|
|
75
|
+
* AWS resource definition
|
|
76
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-awsresource.html}
|
|
77
|
+
*/
|
|
78
|
+
export type AWSResource = {
|
|
79
|
+
/**
|
|
80
|
+
* The Amazon Resource Name (ARN) of the resource
|
|
81
|
+
*/
|
|
82
|
+
ResourceArn: string;
|
|
83
|
+
/**
|
|
84
|
+
* Additional metadata for the resource
|
|
85
|
+
*/
|
|
86
|
+
ResourceMetadata?: Record<string, any>;
|
|
87
|
+
/**
|
|
88
|
+
* Resource type
|
|
89
|
+
*/
|
|
90
|
+
ResourceType?: "AWS::CloudFormation::Stack" | "AWS::ECR::Repository" | "AWS::S3::Bucket" | "AWS::S3::Object";
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Type definition for `AWS::DevOpsAgent::Association.DynatraceConfiguration`.
|
|
94
|
+
* Dynatrace monitoring configuration
|
|
95
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-dynatraceconfiguration.html}
|
|
96
|
+
*/
|
|
97
|
+
export type DynatraceConfiguration = {
|
|
98
|
+
/**
|
|
99
|
+
* When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service
|
|
100
|
+
*/
|
|
101
|
+
EnableWebhookUpdates?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Dynatrace environment id
|
|
104
|
+
*/
|
|
105
|
+
EnvId: string;
|
|
106
|
+
/**
|
|
107
|
+
* List of Dynatrace resources to monitor
|
|
108
|
+
*/
|
|
109
|
+
Resources?: string[];
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Type definition for `AWS::DevOpsAgent::Association.EventChannelConfiguration`.
|
|
113
|
+
* EventChannelconfiguration
|
|
114
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-eventchannelconfiguration.html}
|
|
115
|
+
*/
|
|
116
|
+
export type EventChannelConfiguration = {
|
|
117
|
+
/**
|
|
118
|
+
* When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service
|
|
119
|
+
*/
|
|
120
|
+
EnableWebhookUpdates?: boolean;
|
|
121
|
+
};
|
|
122
|
+
/**
|
|
123
|
+
* Type definition for `AWS::DevOpsAgent::Association.GitHubConfiguration`.
|
|
124
|
+
* GitHub repository integration configuration
|
|
125
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-githubconfiguration.html}
|
|
126
|
+
*/
|
|
127
|
+
export type GitHubConfiguration = {
|
|
128
|
+
/**
|
|
129
|
+
* Repository owner
|
|
130
|
+
*/
|
|
131
|
+
Owner: string;
|
|
132
|
+
/**
|
|
133
|
+
* Type of repository owner
|
|
134
|
+
*/
|
|
135
|
+
OwnerType: "organization" | "user";
|
|
136
|
+
/**
|
|
137
|
+
* Associated Github repo ID
|
|
138
|
+
*/
|
|
139
|
+
RepoId: string;
|
|
140
|
+
/**
|
|
141
|
+
* Associated Github repo name
|
|
142
|
+
*/
|
|
143
|
+
RepoName: string;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* Type definition for `AWS::DevOpsAgent::Association.GitLabConfiguration`.
|
|
147
|
+
* GitLab project integration configuration
|
|
148
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-gitlabconfiguration.html}
|
|
149
|
+
*/
|
|
150
|
+
export type GitLabConfiguration = {
|
|
151
|
+
/**
|
|
152
|
+
* When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service
|
|
153
|
+
*/
|
|
154
|
+
EnableWebhookUpdates?: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* GitLab instance identifier
|
|
157
|
+
*/
|
|
158
|
+
InstanceIdentifier?: string;
|
|
159
|
+
/**
|
|
160
|
+
* GitLab numeric project ID
|
|
161
|
+
*/
|
|
162
|
+
ProjectId: string;
|
|
163
|
+
/**
|
|
164
|
+
* Full GitLab project path (e.g., namespace/project-name)
|
|
165
|
+
*/
|
|
166
|
+
ProjectPath: string;
|
|
167
|
+
};
|
|
168
|
+
/**
|
|
169
|
+
* Type definition for `AWS::DevOpsAgent::Association.KeyValuePair`.
|
|
170
|
+
* A key-value pair for tags
|
|
171
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-keyvaluepair.html}
|
|
172
|
+
*/
|
|
173
|
+
export type KeyValuePair = {
|
|
174
|
+
/**
|
|
175
|
+
* @minLength `1`
|
|
176
|
+
* @maxLength `512`
|
|
177
|
+
* @pattern `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`
|
|
178
|
+
*/
|
|
179
|
+
Key: string;
|
|
180
|
+
/**
|
|
181
|
+
* @minLength `1`
|
|
182
|
+
* @maxLength `512`
|
|
183
|
+
* @pattern `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`
|
|
184
|
+
*/
|
|
185
|
+
Value: string;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Type definition for `AWS::DevOpsAgent::Association.MCPServerConfiguration`.
|
|
189
|
+
* MCP server configuration
|
|
190
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverconfiguration.html}
|
|
191
|
+
*/
|
|
192
|
+
export type MCPServerConfiguration = {
|
|
193
|
+
/**
|
|
194
|
+
* The description of the MCP server
|
|
195
|
+
*/
|
|
196
|
+
Description?: string;
|
|
197
|
+
/**
|
|
198
|
+
* When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service
|
|
199
|
+
*/
|
|
200
|
+
EnableWebhookUpdates?: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* MCP server endpoint URL
|
|
203
|
+
* @pattern `^https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?$`
|
|
204
|
+
*/
|
|
205
|
+
Endpoint: string;
|
|
206
|
+
/**
|
|
207
|
+
* The name of the MCP server
|
|
208
|
+
* @pattern `^[a-zA-Z0-9_-]+$`
|
|
209
|
+
*/
|
|
210
|
+
Name: string;
|
|
211
|
+
/**
|
|
212
|
+
* List of MCP tools that can be used with the association
|
|
213
|
+
*/
|
|
214
|
+
Tools: string[];
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* Type definition for `AWS::DevOpsAgent::Association.MCPServerDatadogConfiguration`.
|
|
218
|
+
* Datadog MCP server configuration
|
|
219
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserverdatadogconfiguration.html}
|
|
220
|
+
*/
|
|
221
|
+
export type MCPServerDatadogConfiguration = {
|
|
222
|
+
/**
|
|
223
|
+
* The description of the MCP server
|
|
224
|
+
*/
|
|
225
|
+
Description?: string;
|
|
226
|
+
/**
|
|
227
|
+
* When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service
|
|
228
|
+
*/
|
|
229
|
+
EnableWebhookUpdates?: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* MCP server endpoint URL
|
|
232
|
+
* @pattern `^https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?$`
|
|
233
|
+
*/
|
|
234
|
+
Endpoint: string;
|
|
235
|
+
/**
|
|
236
|
+
* The name of the MCP server
|
|
237
|
+
* @pattern `^[a-zA-Z0-9_-]+$`
|
|
238
|
+
*/
|
|
239
|
+
Name: string;
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* Type definition for `AWS::DevOpsAgent::Association.MCPServerNewRelicConfiguration`.
|
|
243
|
+
* NewRelic MCP server configuration
|
|
244
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpservernewrelicconfiguration.html}
|
|
245
|
+
*/
|
|
246
|
+
export type MCPServerNewRelicConfiguration = {
|
|
247
|
+
/**
|
|
248
|
+
* New Relic Account ID
|
|
249
|
+
* @minLength `6`
|
|
250
|
+
* @pattern `^[0-9]+$`
|
|
251
|
+
*/
|
|
252
|
+
AccountId: string;
|
|
253
|
+
/**
|
|
254
|
+
* MCP server endpoint URL (e.g., https://mcp.newrelic.com/mcp/)
|
|
255
|
+
* @pattern `^https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?$`
|
|
256
|
+
*/
|
|
257
|
+
Endpoint: string;
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* Type definition for `AWS::DevOpsAgent::Association.MCPServerSplunkConfiguration`.
|
|
261
|
+
* Splunk MCP server configuration
|
|
262
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-mcpserversplunkconfiguration.html}
|
|
263
|
+
*/
|
|
264
|
+
export type MCPServerSplunkConfiguration = {
|
|
265
|
+
/**
|
|
266
|
+
* The description of the MCP server
|
|
267
|
+
*/
|
|
268
|
+
Description?: string;
|
|
269
|
+
/**
|
|
270
|
+
* When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service
|
|
271
|
+
*/
|
|
272
|
+
EnableWebhookUpdates?: boolean;
|
|
273
|
+
/**
|
|
274
|
+
* MCP server endpoint URL
|
|
275
|
+
* @pattern `^https://[a-zA-Z0-9.-]+(?::[0-9]+)?(?:/.*)?$`
|
|
276
|
+
*/
|
|
277
|
+
Endpoint: string;
|
|
278
|
+
/**
|
|
279
|
+
* The name of the MCP server
|
|
280
|
+
* @pattern `^[a-zA-Z0-9_-]+$`
|
|
281
|
+
*/
|
|
282
|
+
Name: string;
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* Type definition for `AWS::DevOpsAgent::Association.ServiceConfiguration`.
|
|
286
|
+
* The configuration that directs how AgentSpace interacts with the given service
|
|
287
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-serviceconfiguration.html}
|
|
288
|
+
*/
|
|
289
|
+
export type ServiceConfiguration = {
|
|
290
|
+
/**
|
|
291
|
+
* AWS association for 'source' account
|
|
292
|
+
*/
|
|
293
|
+
SourceAws: SourceAwsConfiguration;
|
|
294
|
+
} | {
|
|
295
|
+
/**
|
|
296
|
+
* AWS association for 'monitor' account
|
|
297
|
+
*/
|
|
298
|
+
Aws: AWSConfiguration;
|
|
299
|
+
} | {
|
|
300
|
+
/**
|
|
301
|
+
* GitHub repository integration configuration
|
|
302
|
+
*/
|
|
303
|
+
GitHub: GitHubConfiguration;
|
|
304
|
+
} | {
|
|
305
|
+
/**
|
|
306
|
+
* Slack workspace integration configuration
|
|
307
|
+
*/
|
|
308
|
+
Slack: SlackConfiguration;
|
|
309
|
+
} | {
|
|
310
|
+
/**
|
|
311
|
+
* Dynatrace monitoring configuration
|
|
312
|
+
*/
|
|
313
|
+
Dynatrace: DynatraceConfiguration;
|
|
314
|
+
} | {
|
|
315
|
+
/**
|
|
316
|
+
* ServiceNow integration configuration
|
|
317
|
+
*/
|
|
318
|
+
ServiceNow: ServiceNowConfiguration;
|
|
319
|
+
} | {
|
|
320
|
+
/**
|
|
321
|
+
* MCP server configuration
|
|
322
|
+
*/
|
|
323
|
+
MCPServer: MCPServerConfiguration;
|
|
324
|
+
} | {
|
|
325
|
+
/**
|
|
326
|
+
* GitLab project integration configuration
|
|
327
|
+
*/
|
|
328
|
+
GitLab: GitLabConfiguration;
|
|
329
|
+
} | {
|
|
330
|
+
/**
|
|
331
|
+
* Datadog MCP server configuration
|
|
332
|
+
*/
|
|
333
|
+
MCPServerDatadog: MCPServerDatadogConfiguration;
|
|
334
|
+
} | {
|
|
335
|
+
/**
|
|
336
|
+
* Splunk MCP server configuration
|
|
337
|
+
*/
|
|
338
|
+
MCPServerSplunk: MCPServerSplunkConfiguration;
|
|
339
|
+
} | {
|
|
340
|
+
/**
|
|
341
|
+
* NewRelic MCP server configuration
|
|
342
|
+
*/
|
|
343
|
+
MCPServerNewRelic: MCPServerNewRelicConfiguration;
|
|
344
|
+
} | {
|
|
345
|
+
/**
|
|
346
|
+
* EventChannelconfiguration
|
|
347
|
+
*/
|
|
348
|
+
EventChannel: EventChannelConfiguration;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Type definition for `AWS::DevOpsAgent::Association.ServiceNowConfiguration`.
|
|
352
|
+
* ServiceNow integration configuration
|
|
353
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-servicenowconfiguration.html}
|
|
354
|
+
*/
|
|
355
|
+
export type ServiceNowConfiguration = {
|
|
356
|
+
/**
|
|
357
|
+
* When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service
|
|
358
|
+
*/
|
|
359
|
+
EnableWebhookUpdates?: boolean;
|
|
360
|
+
/**
|
|
361
|
+
* ServiceNow instance ID
|
|
362
|
+
*/
|
|
363
|
+
InstanceId?: string;
|
|
364
|
+
};
|
|
365
|
+
/**
|
|
366
|
+
* Type definition for `AWS::DevOpsAgent::Association.SlackChannel`.
|
|
367
|
+
* Slack channel configuration
|
|
368
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackchannel.html}
|
|
369
|
+
*/
|
|
370
|
+
export type SlackChannel = {
|
|
371
|
+
/**
|
|
372
|
+
* Slack channel ID
|
|
373
|
+
* @minLength `8`
|
|
374
|
+
* @maxLength `16`
|
|
375
|
+
* @pattern `^[CGD][A-Z0-9]+$`
|
|
376
|
+
*/
|
|
377
|
+
ChannelId: string;
|
|
378
|
+
/**
|
|
379
|
+
* Slack channel name
|
|
380
|
+
*/
|
|
381
|
+
ChannelName?: string;
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* Type definition for `AWS::DevOpsAgent::Association.SlackConfiguration`.
|
|
385
|
+
* Slack workspace integration configuration
|
|
386
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slackconfiguration.html}
|
|
387
|
+
*/
|
|
388
|
+
export type SlackConfiguration = {
|
|
389
|
+
/**
|
|
390
|
+
* Transmission targets for agent notifications
|
|
391
|
+
*/
|
|
392
|
+
TransmissionTarget: SlackTransmissionTarget;
|
|
393
|
+
/**
|
|
394
|
+
* Associated Slack workspace ID
|
|
395
|
+
* @pattern `^[TE][A-Z0-9]+$`
|
|
396
|
+
*/
|
|
397
|
+
WorkspaceId: string;
|
|
398
|
+
/**
|
|
399
|
+
* Associated Slack workspace name
|
|
400
|
+
*/
|
|
401
|
+
WorkspaceName: string;
|
|
402
|
+
};
|
|
403
|
+
/**
|
|
404
|
+
* Type definition for `AWS::DevOpsAgent::Association.SlackTransmissionTarget`.
|
|
405
|
+
* Transmission targets for agent notifications
|
|
406
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-slacktransmissiontarget.html}
|
|
407
|
+
*/
|
|
408
|
+
export type SlackTransmissionTarget = {
|
|
409
|
+
/**
|
|
410
|
+
* Destination for IncidentResponse agent.
|
|
411
|
+
*/
|
|
412
|
+
IncidentResponseTarget: SlackChannel;
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* Type definition for `AWS::DevOpsAgent::Association.SourceAwsConfiguration`.
|
|
416
|
+
* AWS association for 'source' account
|
|
417
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-devopsagent-association-sourceawsconfiguration.html}
|
|
418
|
+
*/
|
|
419
|
+
export type SourceAwsConfiguration = {
|
|
420
|
+
/**
|
|
421
|
+
* AWS Account Id corresponding to provided resources
|
|
422
|
+
* @pattern `\d{12}`
|
|
423
|
+
*/
|
|
424
|
+
AccountId: string;
|
|
425
|
+
/**
|
|
426
|
+
* Account Type 'source' for DevOpsAgent monitoring
|
|
427
|
+
*/
|
|
428
|
+
AccountType: "source";
|
|
429
|
+
/**
|
|
430
|
+
* Role ARN to be assumed by DevOpsAgent to operate on behalf of customer
|
|
431
|
+
*/
|
|
432
|
+
AssumableRoleArn: string;
|
|
433
|
+
/**
|
|
434
|
+
* List of AWS resources
|
|
435
|
+
*/
|
|
436
|
+
Resources?: AWSResource[];
|
|
437
|
+
/**
|
|
438
|
+
* List of AWS tags as key-value pairs
|
|
439
|
+
*/
|
|
440
|
+
Tags?: KeyValuePair[];
|
|
441
|
+
};
|
|
442
|
+
/**
|
|
443
|
+
* Resource Type definition for AWS::DevOpsAgent::Association defining how the AgentSpace interacts with external services like GitHub, Slack, AWS accounts, and others.
|
|
444
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-association.html}
|
|
445
|
+
*/
|
|
446
|
+
export declare class DevOpsAgentAssociation extends $Resource<"AWS::DevOpsAgent::Association", DevOpsAgentAssociationProperties, DevOpsAgentAssociationAttributes> {
|
|
447
|
+
static readonly Type = "AWS::DevOpsAgent::Association";
|
|
448
|
+
constructor(logicalId: string, properties: DevOpsAgentAssociationProperties, options?: $ResourceOptions);
|
|
449
|
+
}
|
|
450
|
+
//# sourceMappingURL=AWS-DevOpsAgent-Association.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Type definition for AWS::DevOpsAgent::Association defining how the AgentSpace interacts with external services like GitHub, Slack, AWS accounts, and others.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-association.html}
|
|
5
|
+
*/
|
|
6
|
+
export class DevOpsAgentAssociation extends $Resource {
|
|
7
|
+
static Type = "AWS::DevOpsAgent::Association";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, DevOpsAgentAssociation.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-DevOpsAgent-Association.js.map
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::Lambda::CapacityProvider
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html}
|
|
6
|
+
*/
|
|
7
|
+
export type LambdaCapacityProviderProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The name of the capacity provider. The name must be unique within your AWS account and region. If you don't specify a name, CloudFormation generates one.
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
* @maxLength `140`
|
|
12
|
+
* @pattern `^(arn:aws[a-zA-Z-]*:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:capacity-provider:[a-zA-Z0-9-_]+)|[a-zA-Z0-9-_]+$`
|
|
13
|
+
*/
|
|
14
|
+
CapacityProviderName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The scaling configuration for the capacity provider.
|
|
17
|
+
*/
|
|
18
|
+
CapacityProviderScalingConfig?: CapacityProviderScalingConfig;
|
|
19
|
+
/**
|
|
20
|
+
* Specifications for the types of EC2 instances that the capacity provider can use.
|
|
21
|
+
*/
|
|
22
|
+
InstanceRequirements?: InstanceRequirements;
|
|
23
|
+
/**
|
|
24
|
+
* The ARN of the AWS Key Management Service (KMS) key used by the capacity provider.
|
|
25
|
+
* @minLength `0`
|
|
26
|
+
* @maxLength `10000`
|
|
27
|
+
* @pattern `^(arn:(aws[a-zA-Z-]*)?:[a-z0-9-.]+:.*)|()$`
|
|
28
|
+
*/
|
|
29
|
+
KmsKeyArn?: string;
|
|
30
|
+
/**
|
|
31
|
+
* IAM permissions configuration for the capacity provider.
|
|
32
|
+
*/
|
|
33
|
+
PermissionsConfig: CapacityProviderPermissionsConfig;
|
|
34
|
+
/**
|
|
35
|
+
* A list of tags to apply to the capacity provider.
|
|
36
|
+
*/
|
|
37
|
+
Tags?: Tag[];
|
|
38
|
+
/**
|
|
39
|
+
* VPC configuration for the capacity provider.
|
|
40
|
+
*/
|
|
41
|
+
VpcConfig: CapacityProviderVpcConfig;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Attribute type definition for `AWS::Lambda::CapacityProvider`.
|
|
45
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html#aws-resource-lambda-capacityprovider-return-values}
|
|
46
|
+
*/
|
|
47
|
+
export type LambdaCapacityProviderAttributes = {
|
|
48
|
+
/**
|
|
49
|
+
* The Amazon Resource Name (ARN) of the capacity provider. This is a read-only property that is automatically generated when the capacity provider is created.
|
|
50
|
+
* @minLength `1`
|
|
51
|
+
* @maxLength `140`
|
|
52
|
+
* @pattern `^arn:aws[a-zA-Z-]*:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:capacity-provider:[a-zA-Z0-9-_]+$`
|
|
53
|
+
*/
|
|
54
|
+
Arn: string;
|
|
55
|
+
/**
|
|
56
|
+
* The current state of the capacity provider.
|
|
57
|
+
*/
|
|
58
|
+
State: CapacityProviderState;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Type definition for `AWS::Lambda::CapacityProvider.Architecture`.
|
|
62
|
+
* Specifications for the types of EC2 instances that the capacity provider can use.
|
|
63
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-architecture.html}
|
|
64
|
+
*/
|
|
65
|
+
export type Architecture = "x86_64" | "arm64";
|
|
66
|
+
/**
|
|
67
|
+
* Type definition for `AWS::Lambda::CapacityProvider.CapacityProviderPermissionsConfig`.
|
|
68
|
+
* IAM permissions configuration for the capacity provider.
|
|
69
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderpermissionsconfig.html}
|
|
70
|
+
*/
|
|
71
|
+
export type CapacityProviderPermissionsConfig = {
|
|
72
|
+
/**
|
|
73
|
+
* The ARN of the IAM role that Lambda assumes to manage the capacity provider.
|
|
74
|
+
* @minLength `0`
|
|
75
|
+
* @maxLength `10000`
|
|
76
|
+
* @pattern `^arn:(aws[a-zA-Z-]*)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$`
|
|
77
|
+
*/
|
|
78
|
+
CapacityProviderOperatorRoleArn: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Type definition for `AWS::Lambda::CapacityProvider.CapacityProviderPredefinedMetricType`.
|
|
82
|
+
* The predefined metric for target tracking.
|
|
83
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderpredefinedmetrictype.html}
|
|
84
|
+
*/
|
|
85
|
+
export type CapacityProviderPredefinedMetricType = "LambdaCapacityProviderAverageCPUUtilization";
|
|
86
|
+
/**
|
|
87
|
+
* Type definition for `AWS::Lambda::CapacityProvider.CapacityProviderScalingConfig`.
|
|
88
|
+
* The scaling configuration for the capacity provider.
|
|
89
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingconfig.html}
|
|
90
|
+
*/
|
|
91
|
+
export type CapacityProviderScalingConfig = {
|
|
92
|
+
/**
|
|
93
|
+
* The maximum number of EC2 instances that the capacity provider can scale up to.
|
|
94
|
+
* @min `2`
|
|
95
|
+
* @max `15000`
|
|
96
|
+
*/
|
|
97
|
+
MaxVCpuCount?: number;
|
|
98
|
+
/**
|
|
99
|
+
* The scaling mode for the capacity provider.
|
|
100
|
+
*/
|
|
101
|
+
ScalingMode?: CapacityProviderScalingMode;
|
|
102
|
+
/**
|
|
103
|
+
* A list of target tracking scaling policies for the capacity provider.
|
|
104
|
+
* @minLength `1`
|
|
105
|
+
* @maxLength `10`
|
|
106
|
+
*/
|
|
107
|
+
ScalingPolicies?: TargetTrackingScalingPolicy[];
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Type definition for `AWS::Lambda::CapacityProvider.CapacityProviderScalingMode`.
|
|
111
|
+
* The scaling mode for the capacity provider.
|
|
112
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingmode.html}
|
|
113
|
+
*/
|
|
114
|
+
export type CapacityProviderScalingMode = "Auto" | "Manual";
|
|
115
|
+
/**
|
|
116
|
+
* Type definition for `AWS::Lambda::CapacityProvider.CapacityProviderState`.
|
|
117
|
+
* The current state of the capacity provider. Indicates whether the provider is being created, is active and ready for use, has failed, or is being deleted.
|
|
118
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderstate.html}
|
|
119
|
+
*/
|
|
120
|
+
export type CapacityProviderState = "Pending" | "Active" | "Failed" | "Deleting";
|
|
121
|
+
/**
|
|
122
|
+
* Type definition for `AWS::Lambda::CapacityProvider.CapacityProviderVpcConfig`.
|
|
123
|
+
* VPC configuration for the capacity provider.
|
|
124
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityprovidervpcconfig.html}
|
|
125
|
+
*/
|
|
126
|
+
export type CapacityProviderVpcConfig = {
|
|
127
|
+
/**
|
|
128
|
+
* A list of security group IDs to associate with EC2 instances.
|
|
129
|
+
* @minLength `0`
|
|
130
|
+
* @maxLength `5`
|
|
131
|
+
*/
|
|
132
|
+
SecurityGroupIds: string[];
|
|
133
|
+
/**
|
|
134
|
+
* A list of subnet IDs where the capacity provider can launch EC2 instances.
|
|
135
|
+
* @minLength `1`
|
|
136
|
+
* @maxLength `16`
|
|
137
|
+
*/
|
|
138
|
+
SubnetIds: string[];
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Type definition for `AWS::Lambda::CapacityProvider.InstanceRequirements`.
|
|
142
|
+
* Specifications for the types of EC2 instances that the capacity provider can use.
|
|
143
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-instancerequirements.html}
|
|
144
|
+
*/
|
|
145
|
+
export type InstanceRequirements = {
|
|
146
|
+
/**
|
|
147
|
+
* A list of instance types that the capacity provider can use. Supports wildcards (for example, m5.*).
|
|
148
|
+
* @minLength `0`
|
|
149
|
+
* @maxLength `400`
|
|
150
|
+
*/
|
|
151
|
+
AllowedInstanceTypes?: string[];
|
|
152
|
+
/**
|
|
153
|
+
* The instruction set architecture for EC2 instances. Specify either x86_64 or arm64.
|
|
154
|
+
* @minLength `1`
|
|
155
|
+
* @maxLength `1`
|
|
156
|
+
*/
|
|
157
|
+
Architectures?: Architecture[];
|
|
158
|
+
/**
|
|
159
|
+
* A list of instance types that the capacity provider should not use. Takes precedence over AllowedInstanceTypes.
|
|
160
|
+
* @minLength `0`
|
|
161
|
+
* @maxLength `400`
|
|
162
|
+
*/
|
|
163
|
+
ExcludedInstanceTypes?: string[];
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Type definition for `AWS::Lambda::CapacityProvider.Tag`.
|
|
167
|
+
* A key-value pair that provides metadata for the capacity provider.
|
|
168
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-tag.html}
|
|
169
|
+
*/
|
|
170
|
+
export type Tag = {
|
|
171
|
+
/**
|
|
172
|
+
* The key name of the tag.
|
|
173
|
+
* @minLength `1`
|
|
174
|
+
* @maxLength `128`
|
|
175
|
+
*/
|
|
176
|
+
Key: string;
|
|
177
|
+
/**
|
|
178
|
+
* The value for the tag.
|
|
179
|
+
* @minLength `0`
|
|
180
|
+
* @maxLength `256`
|
|
181
|
+
*/
|
|
182
|
+
Value?: string;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* Type definition for `AWS::Lambda::CapacityProvider.TargetTrackingScalingPolicy`.
|
|
186
|
+
* A target tracking scaling policy for the capacity provider.
|
|
187
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-targettrackingscalingpolicy.html}
|
|
188
|
+
*/
|
|
189
|
+
export type TargetTrackingScalingPolicy = {
|
|
190
|
+
/**
|
|
191
|
+
* The predefined metric for target tracking.
|
|
192
|
+
*/
|
|
193
|
+
PredefinedMetricType: CapacityProviderPredefinedMetricType;
|
|
194
|
+
/**
|
|
195
|
+
* The target value for the metric as a percentage (for example, 70.0 for 70%).
|
|
196
|
+
* @min `0`
|
|
197
|
+
*/
|
|
198
|
+
TargetValue: number;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Resource Type definition for AWS::Lambda::CapacityProvider
|
|
202
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html}
|
|
203
|
+
*/
|
|
204
|
+
export declare class LambdaCapacityProvider extends $Resource<"AWS::Lambda::CapacityProvider", LambdaCapacityProviderProperties, LambdaCapacityProviderAttributes> {
|
|
205
|
+
static readonly Type = "AWS::Lambda::CapacityProvider";
|
|
206
|
+
constructor(logicalId: string, properties: LambdaCapacityProviderProperties, options?: $ResourceOptions);
|
|
207
|
+
}
|
|
208
|
+
//# sourceMappingURL=AWS-Lambda-CapacityProvider.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Type definition for AWS::Lambda::CapacityProvider
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-capacityprovider.html}
|
|
5
|
+
*/
|
|
6
|
+
export class LambdaCapacityProvider extends $Resource {
|
|
7
|
+
static Type = "AWS::Lambda::CapacityProvider";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, LambdaCapacityProvider.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-Lambda-CapacityProvider.js.map
|
|
@@ -17,6 +17,7 @@ export type LambdaFunctionProperties = {
|
|
|
17
17
|
* @maxLength `1`
|
|
18
18
|
*/
|
|
19
19
|
Architectures?: ("x86_64" | "arm64")[];
|
|
20
|
+
CapacityProviderConfig?: CapacityProviderConfig;
|
|
20
21
|
/**
|
|
21
22
|
* The code for the function. You can define your function code in multiple ways:
|
|
22
23
|
+ For .zip deployment packages, you can specify the S3 location of the .zip file in the ``S3Bucket``, ``S3Key``, and ``S3ObjectVersion`` properties.
|
|
@@ -38,6 +39,7 @@ export type LambdaFunctionProperties = {
|
|
|
38
39
|
* @maxLength `256`
|
|
39
40
|
*/
|
|
40
41
|
Description?: string;
|
|
42
|
+
DurableConfig?: DurableConfig;
|
|
41
43
|
/**
|
|
42
44
|
* Environment variables that are accessible from function code during execution.
|
|
43
45
|
*/
|
|
@@ -58,6 +60,7 @@ export type LambdaFunctionProperties = {
|
|
|
58
60
|
* @minLength `1`
|
|
59
61
|
*/
|
|
60
62
|
FunctionName?: string;
|
|
63
|
+
FunctionScalingConfig?: FunctionScalingConfig;
|
|
61
64
|
/**
|
|
62
65
|
* The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see [Lambda programming model](https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html).
|
|
63
66
|
* @maxLength `128`
|
|
@@ -95,6 +98,7 @@ export type LambdaFunctionProperties = {
|
|
|
95
98
|
* The type of deployment package. Set to ``Image`` for container image and set ``Zip`` for .zip file archive.
|
|
96
99
|
*/
|
|
97
100
|
PackageType?: "Image" | "Zip";
|
|
101
|
+
PublishToLatestPublished?: boolean;
|
|
98
102
|
/**
|
|
99
103
|
* The status of your function's recursive loop detection configuration.
|
|
100
104
|
When this value is set to ``Allow``and Lambda detects your function being invoked as part of a recursive loop, it doesn't take any action.
|
|
@@ -165,6 +169,13 @@ export type LambdaFunctionAttributes = {
|
|
|
165
169
|
OptimizationStatus: "On" | "Off";
|
|
166
170
|
};
|
|
167
171
|
};
|
|
172
|
+
/**
|
|
173
|
+
* Type definition for `AWS::Lambda::Function.CapacityProviderConfig`.
|
|
174
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-capacityproviderconfig.html}
|
|
175
|
+
*/
|
|
176
|
+
export type CapacityProviderConfig = {
|
|
177
|
+
LambdaManagedInstancesCapacityProviderConfig: LambdaManagedInstancesCapacityProviderConfig;
|
|
178
|
+
};
|
|
168
179
|
/**
|
|
169
180
|
* Type definition for `AWS::Lambda::Function.Code`.
|
|
170
181
|
* The [deployment package](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html) for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template.
|
|
@@ -221,6 +232,24 @@ export type DeadLetterConfig = {
|
|
|
221
232
|
*/
|
|
222
233
|
TargetArn?: string;
|
|
223
234
|
};
|
|
235
|
+
/**
|
|
236
|
+
* Type definition for `AWS::Lambda::Function.DurableConfig`.
|
|
237
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-durableconfig.html}
|
|
238
|
+
*/
|
|
239
|
+
export type DurableConfig = {
|
|
240
|
+
/**
|
|
241
|
+
* The amount of time (in seconds) that Lambda allows a durable function to run before stopping it. The maximum is one 366-day year or 31,622,400 seconds.
|
|
242
|
+
* @min `1`
|
|
243
|
+
* @max `31622400`
|
|
244
|
+
*/
|
|
245
|
+
ExecutionTimeout: number;
|
|
246
|
+
/**
|
|
247
|
+
* The number of days after a durable execution is closed that Lambda retains its history, from one to 90 days. The default is 14 days.
|
|
248
|
+
* @min `1`
|
|
249
|
+
* @max `90`
|
|
250
|
+
*/
|
|
251
|
+
RetentionPeriodInDays?: number;
|
|
252
|
+
};
|
|
224
253
|
/**
|
|
225
254
|
* Type definition for `AWS::Lambda::Function.Environment`.
|
|
226
255
|
* A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
|
|
@@ -265,6 +294,24 @@ export type FileSystemConfig = {
|
|
|
265
294
|
*/
|
|
266
295
|
LocalMountPath: string;
|
|
267
296
|
};
|
|
297
|
+
/**
|
|
298
|
+
* Type definition for `AWS::Lambda::Function.FunctionScalingConfig`.
|
|
299
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-functionscalingconfig.html}
|
|
300
|
+
*/
|
|
301
|
+
export type FunctionScalingConfig = {
|
|
302
|
+
/**
|
|
303
|
+
* The maximum number of execution environments that can be provisioned for the function.
|
|
304
|
+
* @min `0`
|
|
305
|
+
* @max `15000`
|
|
306
|
+
*/
|
|
307
|
+
MaxExecutionEnvironments?: number;
|
|
308
|
+
/**
|
|
309
|
+
* The minimum number of execution environments to maintain for the function.
|
|
310
|
+
* @min `0`
|
|
311
|
+
* @max `15000`
|
|
312
|
+
*/
|
|
313
|
+
MinExecutionEnvironments?: number;
|
|
314
|
+
};
|
|
268
315
|
/**
|
|
269
316
|
* Type definition for `AWS::Lambda::Function.ImageConfig`.
|
|
270
317
|
* Configuration values that override the container image Dockerfile settings. For more information, see [Container image settings](https://docs.aws.amazon.com/lambda/latest/dg/images-create.html#images-parms).
|
|
@@ -286,6 +333,31 @@ export type ImageConfig = {
|
|
|
286
333
|
*/
|
|
287
334
|
WorkingDirectory?: string;
|
|
288
335
|
};
|
|
336
|
+
/**
|
|
337
|
+
* Type definition for `AWS::Lambda::Function.LambdaManagedInstancesCapacityProviderConfig`.
|
|
338
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-lambdamanagedinstancescapacityproviderconfig.html}
|
|
339
|
+
*/
|
|
340
|
+
export type LambdaManagedInstancesCapacityProviderConfig = {
|
|
341
|
+
/**
|
|
342
|
+
* The Amazon Resource Name (ARN) of the capacity provider.
|
|
343
|
+
* @minLength `1`
|
|
344
|
+
* @maxLength `140`
|
|
345
|
+
* @pattern `^arn:aws[a-zA-Z-]*:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:capacity-provider:[a-zA-Z0-9-_]+$`
|
|
346
|
+
*/
|
|
347
|
+
CapacityProviderArn: string;
|
|
348
|
+
/**
|
|
349
|
+
* The amount of memory in GiB allocated per vCPU for execution environments.
|
|
350
|
+
* @min `2`
|
|
351
|
+
* @max `8`
|
|
352
|
+
*/
|
|
353
|
+
ExecutionEnvironmentMemoryGiBPerVCpu?: number;
|
|
354
|
+
/**
|
|
355
|
+
* The maximum number of concurrent execution environments that can run on each compute instance.
|
|
356
|
+
* @min `1`
|
|
357
|
+
* @max `1600`
|
|
358
|
+
*/
|
|
359
|
+
PerExecutionEnvironmentMaxConcurrency?: number;
|
|
360
|
+
};
|
|
289
361
|
/**
|
|
290
362
|
* Type definition for `AWS::Lambda::Function.LoggingConfig`.
|
|
291
363
|
* The function's Amazon CloudWatch Logs configuration settings.
|
|
@@ -22,6 +22,10 @@ export type LambdaVersionProperties = {
|
|
|
22
22
|
* @pattern `^(arn:(aws[a-zA-Z-]*)?:lambda:)?((eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?$`
|
|
23
23
|
*/
|
|
24
24
|
FunctionName: string;
|
|
25
|
+
/**
|
|
26
|
+
* The scaling configuration to apply to the function, including minimum and maximum execution environment limits.
|
|
27
|
+
*/
|
|
28
|
+
FunctionScalingConfig?: FunctionScalingConfig;
|
|
25
29
|
/**
|
|
26
30
|
* Specifies a provisioned concurrency configuration for a function's version. Updates are not supported for this property.
|
|
27
31
|
*/
|
|
@@ -46,6 +50,23 @@ export type LambdaVersionAttributes = {
|
|
|
46
50
|
*/
|
|
47
51
|
Version: string;
|
|
48
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* Type definition for `AWS::Lambda::Version.FunctionScalingConfig`.
|
|
55
|
+
* Configuration that defines the scaling behavior for a Lambda Managed Instances function, including the minimum and maximum number of execution environments that can be provisioned.
|
|
56
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-version-functionscalingconfig.html}
|
|
57
|
+
*/
|
|
58
|
+
export type FunctionScalingConfig = {
|
|
59
|
+
/**
|
|
60
|
+
* The maximum number of execution environments that can be provisioned for the function.
|
|
61
|
+
* @min `0`
|
|
62
|
+
*/
|
|
63
|
+
MaxExecutionEnvironments?: number;
|
|
64
|
+
/**
|
|
65
|
+
* The minimum number of execution environments to maintain for the function.
|
|
66
|
+
* @min `0`
|
|
67
|
+
*/
|
|
68
|
+
MinExecutionEnvironments?: number;
|
|
69
|
+
};
|
|
49
70
|
/**
|
|
50
71
|
* Type definition for `AWS::Lambda::Version.ProvisionedConcurrencyConfiguration`.
|
|
51
72
|
* A provisioned concurrency configuration for a function's version.
|
|
@@ -33,6 +33,10 @@ export type AccountLevel = {
|
|
|
33
33
|
* Enables advanced data protection metrics.
|
|
34
34
|
*/
|
|
35
35
|
AdvancedDataProtectionMetrics?: AdvancedDataProtectionMetrics;
|
|
36
|
+
/**
|
|
37
|
+
* Advanced Performance Metrics.
|
|
38
|
+
*/
|
|
39
|
+
AdvancedPerformanceMetrics?: AdvancedPerformanceMetrics;
|
|
36
40
|
/**
|
|
37
41
|
* Bucket-level metrics configurations.
|
|
38
42
|
*/
|
|
@@ -79,6 +83,17 @@ export type AdvancedDataProtectionMetrics = {
|
|
|
79
83
|
*/
|
|
80
84
|
IsEnabled?: boolean;
|
|
81
85
|
};
|
|
86
|
+
/**
|
|
87
|
+
* Type definition for `AWS::S3::StorageLens.AdvancedPerformanceMetrics`.
|
|
88
|
+
* Advanced Performance Metrics.
|
|
89
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-advancedperformancemetrics.html}
|
|
90
|
+
*/
|
|
91
|
+
export type AdvancedPerformanceMetrics = {
|
|
92
|
+
/**
|
|
93
|
+
* Specifies whether the Advanced Performance Metrics is enabled or disabled.
|
|
94
|
+
*/
|
|
95
|
+
IsEnabled?: boolean;
|
|
96
|
+
};
|
|
82
97
|
/**
|
|
83
98
|
* Type definition for `AWS::S3::StorageLens.AwsOrg`.
|
|
84
99
|
* The AWS Organizations ARN to use in the Amazon S3 Storage Lens configuration.
|
|
@@ -108,6 +123,10 @@ export type BucketLevel = {
|
|
|
108
123
|
* Enables advanced data protection metrics.
|
|
109
124
|
*/
|
|
110
125
|
AdvancedDataProtectionMetrics?: AdvancedDataProtectionMetrics;
|
|
126
|
+
/**
|
|
127
|
+
* Advanced Performance Metrics.
|
|
128
|
+
*/
|
|
129
|
+
AdvancedPerformanceMetrics?: AdvancedPerformanceMetrics;
|
|
111
130
|
/**
|
|
112
131
|
* Enables detailed status codes metrics.
|
|
113
132
|
*/
|
|
@@ -151,6 +170,10 @@ export type DataExport = {
|
|
|
151
170
|
* S3 bucket destination settings for the Amazon S3 Storage Lens metrics export.
|
|
152
171
|
*/
|
|
153
172
|
S3BucketDestination?: S3BucketDestination;
|
|
173
|
+
/**
|
|
174
|
+
* S3 Tables destination settings for the Amazon S3 Storage Lens metrics export.
|
|
175
|
+
*/
|
|
176
|
+
StorageLensTableDestination?: StorageLensTableDestination;
|
|
154
177
|
};
|
|
155
178
|
/**
|
|
156
179
|
* Type definition for `AWS::S3::StorageLens.DetailedStatusCodesMetrics`.
|
|
@@ -284,6 +307,10 @@ export type StorageLensConfiguration = {
|
|
|
284
307
|
* S3 buckets and Regions to include/exclude in the Amazon S3 Storage Lens configuration.
|
|
285
308
|
*/
|
|
286
309
|
Exclude?: BucketsAndRegions;
|
|
310
|
+
/**
|
|
311
|
+
* Expanded Prefixes Data Export.
|
|
312
|
+
*/
|
|
313
|
+
ExpandedPrefixesDataExport?: StorageLensExpandedPrefixesDataExport;
|
|
287
314
|
/**
|
|
288
315
|
* The ID that identifies the Amazon S3 Storage Lens configuration.
|
|
289
316
|
* @minLength `1`
|
|
@@ -299,6 +326,25 @@ export type StorageLensConfiguration = {
|
|
|
299
326
|
* Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled.
|
|
300
327
|
*/
|
|
301
328
|
IsEnabled: boolean;
|
|
329
|
+
/**
|
|
330
|
+
* The delimiter to divide S3 key into hierarchy of prefixes.
|
|
331
|
+
*/
|
|
332
|
+
PrefixDelimiter?: string;
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* Type definition for `AWS::S3::StorageLens.StorageLensExpandedPrefixesDataExport`.
|
|
336
|
+
* Expanded Prefixes Data Export.
|
|
337
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensexpandedprefixesdataexport.html}
|
|
338
|
+
*/
|
|
339
|
+
export type StorageLensExpandedPrefixesDataExport = {
|
|
340
|
+
/**
|
|
341
|
+
* S3 bucket destination settings for the Amazon S3 Storage Lens metrics export.
|
|
342
|
+
*/
|
|
343
|
+
S3BucketDestination?: S3BucketDestination;
|
|
344
|
+
/**
|
|
345
|
+
* S3 Tables destination settings for the Amazon S3 Storage Lens metrics export.
|
|
346
|
+
*/
|
|
347
|
+
StorageLensTableDestination?: StorageLensTableDestination;
|
|
302
348
|
};
|
|
303
349
|
/**
|
|
304
350
|
* Type definition for `AWS::S3::StorageLens.StorageLensGroupLevel`.
|
|
@@ -320,6 +366,21 @@ export type StorageLensGroupSelectionCriteria = {
|
|
|
320
366
|
Exclude?: string[];
|
|
321
367
|
Include?: string[];
|
|
322
368
|
};
|
|
369
|
+
/**
|
|
370
|
+
* Type definition for `AWS::S3::StorageLens.StorageLensTableDestination`.
|
|
371
|
+
* S3 Tables destination settings for the Amazon S3 Storage Lens metrics export.
|
|
372
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelenstabledestination.html}
|
|
373
|
+
*/
|
|
374
|
+
export type StorageLensTableDestination = {
|
|
375
|
+
/**
|
|
376
|
+
* Configures the server-side encryption for Amazon S3 Storage Lens report files with either S3-managed keys (SSE-S3) or KMS-managed keys (SSE-KMS).
|
|
377
|
+
*/
|
|
378
|
+
Encryption?: Encryption;
|
|
379
|
+
/**
|
|
380
|
+
* Specifies whether the export to S3 Tables is enabled or disabled.
|
|
381
|
+
*/
|
|
382
|
+
IsEnabled: boolean;
|
|
383
|
+
};
|
|
323
384
|
/**
|
|
324
385
|
* Type definition for `AWS::S3::StorageLens.Tag`.
|
|
325
386
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-tag.html}
|