@horietakehiro/aws-cdk-utul 0.33.21 → 0.33.23

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 (35) hide show
  1. package/lib/types/cfn-resource-types/aws-applicationsignals-discovery.d.ts +10 -0
  2. package/lib/types/cfn-resource-types/aws-applicationsignals-discovery.js +3 -0
  3. package/lib/types/cfn-resource-types/aws-athena-datacatalog.d.ts +14 -2
  4. package/lib/types/cfn-resource-types/aws-athena-datacatalog.js +1 -1
  5. package/lib/types/cfn-resource-types/aws-batch-jobdefinition.d.ts +247 -246
  6. package/lib/types/cfn-resource-types/aws-batch-jobdefinition.js +1 -1
  7. package/lib/types/cfn-resource-types/aws-bedrock-agent.d.ts +7 -0
  8. package/lib/types/cfn-resource-types/aws-bedrock-agent.js +1 -1
  9. package/lib/types/cfn-resource-types/aws-chatbot-microsoftteamschannelconfiguration.d.ts +4 -0
  10. package/lib/types/cfn-resource-types/aws-chatbot-microsoftteamschannelconfiguration.js +1 -1
  11. package/lib/types/cfn-resource-types/aws-dynamodb-globaltable.d.ts +99 -99
  12. package/lib/types/cfn-resource-types/aws-dynamodb-globaltable.js +1 -1
  13. package/lib/types/cfn-resource-types/aws-dynamodb-table.d.ts +2 -2
  14. package/lib/types/cfn-resource-types/aws-dynamodb-table.js +1 -1
  15. package/lib/types/cfn-resource-types/aws-ec2-launchtemplate.d.ts +21 -14
  16. package/lib/types/cfn-resource-types/aws-ec2-launchtemplate.js +1 -1
  17. package/lib/types/cfn-resource-types/aws-ec2-vpcendpointservice.d.ts +5 -0
  18. package/lib/types/cfn-resource-types/aws-ec2-vpcendpointservice.js +1 -1
  19. package/lib/types/cfn-resource-types/aws-ecr-pullthroughcacherule.d.ts +12 -4
  20. package/lib/types/cfn-resource-types/aws-ecr-pullthroughcacherule.js +1 -1
  21. package/lib/types/cfn-resource-types/aws-elasticloadbalancingv2-listener.d.ts +4 -1
  22. package/lib/types/cfn-resource-types/aws-elasticloadbalancingv2-listener.js +1 -1
  23. package/lib/types/cfn-resource-types/aws-elasticloadbalancingv2-loadbalancer.d.ts +2 -1
  24. package/lib/types/cfn-resource-types/aws-elasticloadbalancingv2-loadbalancer.js +1 -1
  25. package/lib/types/cfn-resource-types/aws-iot-softwarepackageversion.d.ts +40 -0
  26. package/lib/types/cfn-resource-types/aws-iot-softwarepackageversion.js +1 -1
  27. package/lib/types/cfn-resource-types/aws-rum-appmonitor.d.ts +16 -0
  28. package/lib/types/cfn-resource-types/aws-rum-appmonitor.js +1 -1
  29. package/lib/types/cfn-resource-types/aws-sagemaker-inferencecomponent.d.ts +41 -0
  30. package/lib/types/cfn-resource-types/aws-sagemaker-inferencecomponent.js +1 -1
  31. package/lib/types/cfn-resource-types/aws-xray-transactionsearchconfig.d.ts +15 -0
  32. package/lib/types/cfn-resource-types/aws-xray-transactionsearchconfig.js +3 -0
  33. package/lib/types/cfn-resource-types.d.ts +4 -0
  34. package/lib/types/cfn-resource-types.js +32 -28
  35. package/package.json +1 -1
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The identifier for the specified AWS account.
3
+ */
4
+ export type AccountId = string;
5
+ /**
6
+ * Resource Type definition for AWS::ApplicationSignals::Discovery
7
+ */
8
+ export interface _AWS_APPLICATIONSIGNALS_DISCOVERY {
9
+ AccountId?: AccountId;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzLWFwcGxpY2F0aW9uc2lnbmFscy1kaXNjb3ZlcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJhd3MtYXBwbGljYXRpb25zaWduYWxzLWRpc2NvdmVyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBUaGUgaWRlbnRpZmllciBmb3IgdGhlIHNwZWNpZmllZCBBV1MgYWNjb3VudC5cbiAqL1xuZXhwb3J0IHR5cGUgQWNjb3VudElkID0gc3RyaW5nXG5cbi8qKlxuICogUmVzb3VyY2UgVHlwZSBkZWZpbml0aW9uIGZvciBBV1M6OkFwcGxpY2F0aW9uU2lnbmFsczo6RGlzY292ZXJ5XG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgX0FXU19BUFBMSUNBVElPTlNJR05BTFNfRElTQ09WRVJZIHtcbkFjY291bnRJZD86IEFjY291bnRJZFxufVxuIl19
@@ -26,9 +26,21 @@ export interface _AWS_ATHENA_DATACATALOG {
26
26
  };
27
27
  Tags?: Tags;
28
28
  /**
29
- * The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.
29
+ * The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. FEDERATED is a federated catalog for which Athena creates the connection and the Lambda function for you based on the parameters that you pass.
30
30
  */
31
- Type: ("LAMBDA" | "GLUE" | "HIVE");
31
+ Type: ("LAMBDA" | "GLUE" | "HIVE" | "FEDERATED");
32
+ /**
33
+ * The status of the creation or deletion of the data catalog. LAMBDA, GLUE, and HIVE data catalog types are created synchronously. Their status is either CREATE_COMPLETE or CREATE_FAILED. The FEDERATED data catalog type is created asynchronously.
34
+ */
35
+ Status?: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "CREATE_FAILED_CLEANUP_IN_PROGRESS" | "CREATE_FAILED_CLEANUP_COMPLETE" | "CREATE_FAILED_CLEANUP_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED");
36
+ /**
37
+ * The type of connection for a FEDERATED data catalog
38
+ */
39
+ ConnectionType?: string;
40
+ /**
41
+ * Text of the error that occurred during data catalog creation or deletion.
42
+ */
43
+ Error?: string;
32
44
  }
33
45
  export interface Tag {
34
46
  Key: string;
@@ -1,3 +1,3 @@
1
1
  "use str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URV9GQUlMRURcIilcbi8qKlxuICogVGhlIHR5cGUgb2YgY29ubmVjdGlvbiBmb3IgYSBGRURFUkFURUQgZGF0YSBjYXRhbG9nXG4gKi9cbkNvbm5lY3Rpb25UeXBlPzogc3RyaW5nXG4vKipcbiAqIFRleHQgb2YgdGhlIGVycm9yIHRoYXQgb2NjdXJyZWQgZHVyaW5nIGRhdGEgY2F0YWxvZyBjcmVhdGlvbiBvciBkZWxldGlvbi5cbiAqL1xuRXJyb3I/OiBzdHJpbmdcbn1cbmV4cG9ydCBpbnRlcmZhY2UgVGFnIHtcbktleTogc3RyaW5nXG5WYWx1ZTogc3RyaW5nXG59XG4iXX0=
@@ -2,6 +2,12 @@
2
2
  * Resource Type definition for AWS::Batch::JobDefinition
3
3
  */
4
4
  export interface _AWS_BATCH_JOBDEFINITION {
5
+ ContainerProperties?: ContainerProperties;
6
+ EcsProperties?: EcsProperties;
7
+ NodeProperties?: NodeProperties;
8
+ JobDefinitionName?: string;
9
+ JobDefinitionArn?: string;
10
+ SchedulingPriority?: number;
5
11
  Parameters?: {
6
12
  /**
7
13
  * This interface was referenced by `undefined`'s JSON-Schema definition
@@ -9,18 +15,11 @@ export interface _AWS_BATCH_JOBDEFINITION {
9
15
  */
10
16
  [k: string]: string;
11
17
  };
12
- Timeout?: JobTimeout;
13
- JobDefinitionName?: string;
14
- PropagateTags?: boolean;
15
18
  PlatformCapabilities?: string[];
16
- EksProperties?: EksProperties;
17
- ConsumableResourceProperties?: ConsumableResourceProperties;
18
- Type: string;
19
- NodeProperties?: NodeProperties;
20
- SchedulingPriority?: number;
21
- ContainerProperties?: ContainerProperties;
22
- EcsProperties?: EcsProperties;
19
+ PropagateTags?: boolean;
23
20
  RetryStrategy?: RetryStrategy;
21
+ Timeout?: JobTimeout;
22
+ Type: string;
24
23
  /**
25
24
  * A key-value pair to associate with a resource.
26
25
  */
@@ -31,321 +30,323 @@ export interface _AWS_BATCH_JOBDEFINITION {
31
30
  */
32
31
  [k: string]: string;
33
32
  };
33
+ EksProperties?: EksProperties;
34
+ ConsumableResourceProperties?: ConsumableResourceProperties;
34
35
  }
35
- export interface JobTimeout {
36
- AttemptDurationSeconds?: number;
37
- }
38
- export interface EksProperties {
39
- PodProperties?: EksPodProperties;
40
- }
41
- export interface EksPodProperties {
42
- InitContainers?: EksContainer[];
43
- Volumes?: EksVolume[];
44
- DnsPolicy?: string;
45
- Containers?: EksContainer[];
46
- Metadata?: EksMetadata;
47
- ServiceAccountName?: string;
48
- ImagePullSecrets?: ImagePullSecret[];
49
- HostNetwork?: boolean;
50
- ShareProcessNamespace?: boolean;
51
- }
52
- export interface EksContainer {
53
- Args?: string[];
54
- VolumeMounts?: EksContainerVolumeMount[];
55
- ImagePullPolicy?: string;
36
+ export interface ContainerProperties {
56
37
  Command?: string[];
57
- SecurityContext?: EksContainerSecurityContext;
58
- Resources?: EksContainerResourceRequirements;
38
+ Environment?: Environment[];
59
39
  Image: string;
60
- Env?: EksContainerEnvironmentVariable[];
40
+ JobRoleArn?: string;
41
+ Memory?: number;
42
+ MountPoints?: MountPoint[];
43
+ Privileged?: boolean;
44
+ ReadonlyRootFilesystem?: boolean;
45
+ Ulimits?: Ulimit[];
46
+ User?: string;
47
+ Vcpus?: number;
48
+ Volumes?: Volume[];
49
+ ResourceRequirements?: ResourceRequirement[];
50
+ LinuxParameters?: LinuxParameters;
51
+ LogConfiguration?: LogConfiguration;
52
+ ExecutionRoleArn?: string;
53
+ Secrets?: Secret[];
54
+ NetworkConfiguration?: NetworkConfiguration;
55
+ FargatePlatformConfiguration?: {
56
+ PlatformVersion?: string;
57
+ };
58
+ EphemeralStorage?: EphemeralStorage;
59
+ RuntimePlatform?: RuntimePlatform;
60
+ RepositoryCredentials?: RepositoryCredentials;
61
+ }
62
+ export interface Environment {
61
63
  Name?: string;
64
+ Value?: string;
62
65
  }
63
- export interface EksContainerVolumeMount {
64
- MountPath?: string;
66
+ export interface MountPoint {
67
+ ContainerPath?: string;
65
68
  ReadOnly?: boolean;
66
- SubPath?: string;
69
+ SourceVolume?: string;
70
+ }
71
+ export interface Ulimit {
72
+ HardLimit: number;
73
+ Name: string;
74
+ SoftLimit: number;
75
+ }
76
+ export interface Volume {
77
+ Host?: Host;
78
+ EfsVolumeConfiguration?: EFSVolumeConfiguration;
67
79
  Name?: string;
68
80
  }
69
- export interface EksContainerSecurityContext {
70
- RunAsUser?: number;
71
- AllowPrivilegeEscalation?: boolean;
72
- RunAsNonRoot?: boolean;
73
- Privileged?: boolean;
74
- ReadOnlyRootFilesystem?: boolean;
75
- RunAsGroup?: number;
81
+ export interface Host {
82
+ SourcePath?: string;
76
83
  }
77
- export interface EksContainerResourceRequirements {
78
- Limits?: {
79
- /**
80
- * This interface was referenced by `undefined`'s JSON-Schema definition
81
- * via the `patternProperty` ".*".
82
- */
83
- [k: string]: string;
84
- };
85
- Requests?: {
84
+ export interface EFSVolumeConfiguration {
85
+ FileSystemId: string;
86
+ RootDirectory?: string;
87
+ TransitEncryption?: string;
88
+ TransitEncryptionPort?: number;
89
+ AuthorizationConfig?: EFSAuthorizationConfig;
90
+ }
91
+ export interface EFSAuthorizationConfig {
92
+ AccessPointId?: string;
93
+ Iam?: string;
94
+ }
95
+ export interface ResourceRequirement {
96
+ Type?: string;
97
+ Value?: string;
98
+ }
99
+ export interface LinuxParameters {
100
+ Devices?: Device[];
101
+ InitProcessEnabled?: boolean;
102
+ MaxSwap?: number;
103
+ Swappiness?: number;
104
+ SharedMemorySize?: number;
105
+ Tmpfs?: Tmpfs[];
106
+ }
107
+ export interface Device {
108
+ HostPath?: string;
109
+ ContainerPath?: string;
110
+ Permissions?: string[];
111
+ }
112
+ export interface Tmpfs {
113
+ ContainerPath: string;
114
+ Size: number;
115
+ MountOptions?: string[];
116
+ }
117
+ export interface LogConfiguration {
118
+ LogDriver: string;
119
+ Options?: {
86
120
  /**
87
121
  * This interface was referenced by `undefined`'s JSON-Schema definition
88
122
  * via the `patternProperty` ".*".
89
123
  */
90
124
  [k: string]: string;
91
125
  };
126
+ SecretOptions?: Secret[];
92
127
  }
93
- export interface EksContainerEnvironmentVariable {
94
- Value?: string;
128
+ export interface Secret {
95
129
  Name: string;
130
+ ValueFrom: string;
96
131
  }
97
- export interface EksVolume {
98
- Secret?: EksSecret;
99
- EmptyDir?: EksEmptyDir;
100
- HostPath?: EksHostPath;
101
- PersistentVolumeClaim?: EksPersistentVolumeClaim;
102
- Name: string;
132
+ export interface NetworkConfiguration {
133
+ AssignPublicIp?: string;
103
134
  }
104
- export interface EksSecret {
105
- SecretName: string;
106
- Optional?: boolean;
135
+ export interface EphemeralStorage {
136
+ SizeInGiB: number;
107
137
  }
108
- export interface EksEmptyDir {
109
- Medium?: string;
110
- SizeLimit?: string;
138
+ export interface RuntimePlatform {
139
+ OperatingSystemFamily?: string;
140
+ CpuArchitecture?: string;
111
141
  }
112
- export interface EksHostPath {
113
- Path?: string;
142
+ export interface RepositoryCredentials {
143
+ CredentialsParameter: string;
114
144
  }
115
- export interface EksPersistentVolumeClaim {
116
- ReadOnly?: boolean;
117
- ClaimName: string;
145
+ export interface EcsProperties {
146
+ TaskProperties: EcsTaskProperties[];
118
147
  }
119
- export interface EksMetadata {
120
- Annotations?: {
121
- /**
122
- * This interface was referenced by `undefined`'s JSON-Schema definition
123
- * via the `patternProperty` ".*".
124
- */
125
- [k: string]: string;
126
- };
127
- Labels?: {
128
- /**
129
- * This interface was referenced by `undefined`'s JSON-Schema definition
130
- * via the `patternProperty` ".*".
131
- */
132
- [k: string]: string;
133
- };
134
- Namespace?: string;
148
+ export interface EcsTaskProperties {
149
+ Containers?: TaskContainerProperties[];
150
+ EphemeralStorage?: EphemeralStorage;
151
+ ExecutionRoleArn?: string;
152
+ RuntimePlatform?: RuntimePlatform;
153
+ NetworkConfiguration?: NetworkConfiguration;
154
+ Volumes?: Volume[];
155
+ PidMode?: string;
156
+ IpcMode?: string;
157
+ PlatformVersion?: string;
158
+ TaskRoleArn?: string;
135
159
  }
136
- export interface ImagePullSecret {
160
+ export interface TaskContainerProperties {
161
+ Command?: string[];
162
+ Environment?: Environment[];
163
+ DependsOn?: TaskContainerDependency[];
137
164
  Name?: string;
165
+ Image: string;
166
+ LinuxParameters?: LinuxParameters;
167
+ LogConfiguration?: LogConfiguration;
168
+ MountPoints?: MountPoint[];
169
+ Essential?: boolean;
170
+ Privileged?: boolean;
171
+ ReadonlyRootFilesystem?: boolean;
172
+ Ulimits?: Ulimit[];
173
+ User?: string;
174
+ Secrets?: Secret[];
175
+ RepositoryCredentials?: RepositoryCredentials;
176
+ ResourceRequirements?: ResourceRequirement[];
138
177
  }
139
- export interface ConsumableResourceProperties {
140
- ConsumableResourceList: ConsumableResourceRequirement[];
141
- }
142
- export interface ConsumableResourceRequirement {
143
- /**
144
- * The ARN of the consumable resource the job definition should consume.
145
- */
146
- ConsumableResource: string;
147
- Quantity: number;
178
+ export interface TaskContainerDependency {
179
+ ContainerName: string;
180
+ Condition: string;
148
181
  }
149
182
  export interface NodeProperties {
183
+ NumNodes: number;
150
184
  MainNode: number;
151
185
  NodeRangeProperties: NodeRangeProperty[];
152
- NumNodes: number;
153
186
  }
154
187
  export interface NodeRangeProperty {
155
- Container?: MultiNodeContainerProperties;
156
188
  TargetNodes: string;
189
+ Container?: MultiNodeContainerProperties;
157
190
  EcsProperties?: MultiNodeEcsProperties;
158
- InstanceTypes?: string[];
159
191
  EksProperties?: EksProperties;
160
192
  ConsumableResourceProperties?: ConsumableResourceProperties;
193
+ InstanceTypes?: string[];
161
194
  }
162
195
  export interface MultiNodeContainerProperties {
163
- RepositoryCredentials?: RepositoryCredentials;
164
- User?: string;
165
- Secrets?: Secret[];
196
+ Command?: string[];
197
+ Environment?: Environment[];
198
+ Image: string;
199
+ JobRoleArn?: string;
166
200
  Memory?: number;
201
+ MountPoints?: MountPoint[];
167
202
  Privileged?: boolean;
168
- LinuxParameters?: LinuxParameters;
169
- JobRoleArn?: string;
170
203
  ReadonlyRootFilesystem?: boolean;
204
+ Ulimits?: Ulimit[];
205
+ User?: string;
171
206
  Vcpus?: number;
172
- Image: string;
207
+ Volumes?: Volume[];
208
+ InstanceType?: string;
173
209
  ResourceRequirements?: ResourceRequirement[];
210
+ LinuxParameters?: LinuxParameters;
174
211
  LogConfiguration?: LogConfiguration;
175
- MountPoints?: MountPoint[];
176
212
  ExecutionRoleArn?: string;
177
- RuntimePlatform?: RuntimePlatform;
178
- Volumes?: Volume[];
179
- Command?: string[];
180
- Environment?: Environment[];
181
- Ulimits?: Ulimit[];
182
- InstanceType?: string;
213
+ Secrets?: Secret[];
183
214
  EphemeralStorage?: EphemeralStorage;
215
+ RuntimePlatform?: RuntimePlatform;
216
+ RepositoryCredentials?: RepositoryCredentials;
184
217
  }
185
- export interface RepositoryCredentials {
186
- CredentialsParameter: string;
218
+ export interface MultiNodeEcsProperties {
219
+ TaskProperties: MultiNodeEcsTaskProperties[];
187
220
  }
188
- export interface Secret {
189
- ValueFrom: string;
190
- Name: string;
221
+ export interface MultiNodeEcsTaskProperties {
222
+ Containers?: TaskContainerProperties[];
223
+ ExecutionRoleArn?: string;
224
+ Volumes?: Volume[];
225
+ PidMode?: string;
226
+ IpcMode?: string;
227
+ TaskRoleArn?: string;
191
228
  }
192
- export interface LinuxParameters {
193
- Swappiness?: number;
194
- Tmpfs?: Tmpfs[];
195
- SharedMemorySize?: number;
196
- Devices?: Device[];
197
- InitProcessEnabled?: boolean;
198
- MaxSwap?: number;
229
+ export interface EksProperties {
230
+ PodProperties?: EksPodProperties;
199
231
  }
200
- export interface Tmpfs {
201
- Size: number;
202
- ContainerPath: string;
203
- MountOptions?: string[];
232
+ export interface EksPodProperties {
233
+ ServiceAccountName?: string;
234
+ HostNetwork?: boolean;
235
+ DnsPolicy?: string;
236
+ InitContainers?: EksContainer[];
237
+ Containers?: EksContainer[];
238
+ Volumes?: EksVolume[];
239
+ ImagePullSecrets?: ImagePullSecret[];
240
+ Metadata?: EksMetadata;
241
+ ShareProcessNamespace?: boolean;
204
242
  }
205
- export interface Device {
206
- HostPath?: string;
207
- Permissions?: string[];
208
- ContainerPath?: string;
243
+ export interface EksContainer {
244
+ Name?: string;
245
+ Image: string;
246
+ ImagePullPolicy?: string;
247
+ Command?: string[];
248
+ Args?: string[];
249
+ Env?: EksContainerEnvironmentVariable[];
250
+ Resources?: EksContainerResourceRequirements;
251
+ VolumeMounts?: EksContainerVolumeMount[];
252
+ SecurityContext?: EksContainerSecurityContext;
209
253
  }
210
- export interface ResourceRequirement {
211
- Type?: string;
254
+ export interface EksContainerEnvironmentVariable {
255
+ Name: string;
212
256
  Value?: string;
213
257
  }
214
- export interface LogConfiguration {
215
- SecretOptions?: Secret[];
216
- Options?: {
258
+ export interface EksContainerResourceRequirements {
259
+ Limits?: {
260
+ /**
261
+ * This interface was referenced by `undefined`'s JSON-Schema definition
262
+ * via the `patternProperty` ".*".
263
+ */
264
+ [k: string]: string;
265
+ };
266
+ Requests?: {
217
267
  /**
218
268
  * This interface was referenced by `undefined`'s JSON-Schema definition
219
269
  * via the `patternProperty` ".*".
220
270
  */
221
271
  [k: string]: string;
222
272
  };
223
- LogDriver: string;
224
- }
225
- export interface MountPoint {
226
- ReadOnly?: boolean;
227
- SourceVolume?: string;
228
- ContainerPath?: string;
229
- }
230
- export interface RuntimePlatform {
231
- OperatingSystemFamily?: string;
232
- CpuArchitecture?: string;
233
273
  }
234
- export interface Volume {
235
- Host?: Host;
236
- EfsVolumeConfiguration?: EFSVolumeConfiguration;
274
+ export interface EksContainerVolumeMount {
237
275
  Name?: string;
276
+ MountPath?: string;
277
+ SubPath?: string;
278
+ ReadOnly?: boolean;
238
279
  }
239
- export interface Host {
240
- SourcePath?: string;
241
- }
242
- export interface EFSVolumeConfiguration {
243
- TransitEncryption?: string;
244
- AuthorizationConfig?: EFSAuthorizationConfig;
245
- FileSystemId: string;
246
- RootDirectory?: string;
247
- TransitEncryptionPort?: number;
248
- }
249
- export interface EFSAuthorizationConfig {
250
- Iam?: string;
251
- AccessPointId?: string;
252
- }
253
- export interface Environment {
254
- Value?: string;
255
- Name?: string;
280
+ export interface EksContainerSecurityContext {
281
+ RunAsUser?: number;
282
+ RunAsGroup?: number;
283
+ Privileged?: boolean;
284
+ AllowPrivilegeEscalation?: boolean;
285
+ ReadOnlyRootFilesystem?: boolean;
286
+ RunAsNonRoot?: boolean;
256
287
  }
257
- export interface Ulimit {
258
- SoftLimit: number;
259
- HardLimit: number;
288
+ export interface EksVolume {
260
289
  Name: string;
290
+ HostPath?: EksHostPath;
291
+ EmptyDir?: EksEmptyDir;
292
+ Secret?: EksSecret;
293
+ PersistentVolumeClaim?: EksPersistentVolumeClaim;
261
294
  }
262
- export interface EphemeralStorage {
263
- SizeInGiB: number;
295
+ export interface EksHostPath {
296
+ Path?: string;
264
297
  }
265
- export interface MultiNodeEcsProperties {
266
- TaskProperties: MultiNodeEcsTaskProperties[];
298
+ export interface EksEmptyDir {
299
+ Medium?: string;
300
+ SizeLimit?: string;
267
301
  }
268
- export interface MultiNodeEcsTaskProperties {
269
- ExecutionRoleArn?: string;
270
- TaskRoleArn?: string;
271
- IpcMode?: string;
272
- Volumes?: Volume[];
273
- Containers?: TaskContainerProperties[];
274
- PidMode?: string;
302
+ export interface EksSecret {
303
+ SecretName: string;
304
+ Optional?: boolean;
275
305
  }
276
- export interface TaskContainerProperties {
277
- RepositoryCredentials?: RepositoryCredentials;
278
- User?: string;
279
- Secrets?: Secret[];
280
- Privileged?: boolean;
281
- LinuxParameters?: LinuxParameters;
282
- ReadonlyRootFilesystem?: boolean;
283
- Image: string;
284
- LogConfiguration?: LogConfiguration;
285
- Essential?: boolean;
286
- ResourceRequirements?: ResourceRequirement[];
287
- Name?: string;
288
- MountPoints?: MountPoint[];
289
- DependsOn?: TaskContainerDependency[];
290
- Command?: string[];
291
- Environment?: Environment[];
292
- Ulimits?: Ulimit[];
306
+ export interface EksPersistentVolumeClaim {
307
+ ClaimName: string;
308
+ ReadOnly?: boolean;
293
309
  }
294
- export interface TaskContainerDependency {
295
- Condition: string;
296
- ContainerName: string;
310
+ export interface ImagePullSecret {
311
+ Name?: string;
297
312
  }
298
- export interface ContainerProperties {
299
- RepositoryCredentials?: RepositoryCredentials;
300
- User?: string;
301
- Secrets?: Secret[];
302
- Memory?: number;
303
- Privileged?: boolean;
304
- LinuxParameters?: LinuxParameters;
305
- FargatePlatformConfiguration?: {
306
- PlatformVersion?: string;
313
+ export interface EksMetadata {
314
+ Labels?: {
315
+ /**
316
+ * This interface was referenced by `undefined`'s JSON-Schema definition
317
+ * via the `patternProperty` ".*".
318
+ */
319
+ [k: string]: string;
307
320
  };
308
- JobRoleArn?: string;
309
- ReadonlyRootFilesystem?: boolean;
310
- Vcpus?: number;
311
- Image: string;
312
- ResourceRequirements?: ResourceRequirement[];
313
- LogConfiguration?: LogConfiguration;
314
- MountPoints?: MountPoint[];
315
- ExecutionRoleArn?: string;
316
- RuntimePlatform?: RuntimePlatform;
317
- Volumes?: Volume[];
318
- Command?: string[];
319
- Environment?: Environment[];
320
- Ulimits?: Ulimit[];
321
- NetworkConfiguration?: NetworkConfiguration;
322
- EphemeralStorage?: EphemeralStorage;
323
- }
324
- export interface NetworkConfiguration {
325
- AssignPublicIp?: string;
321
+ Annotations?: {
322
+ /**
323
+ * This interface was referenced by `undefined`'s JSON-Schema definition
324
+ * via the `patternProperty` ".*".
325
+ */
326
+ [k: string]: string;
327
+ };
328
+ Namespace?: string;
326
329
  }
327
- export interface EcsProperties {
328
- TaskProperties: EcsTaskProperties[];
330
+ export interface ConsumableResourceProperties {
331
+ ConsumableResourceList: ConsumableResourceRequirement[];
329
332
  }
330
- export interface EcsTaskProperties {
331
- PlatformVersion?: string;
332
- ExecutionRoleArn?: string;
333
- RuntimePlatform?: RuntimePlatform;
334
- TaskRoleArn?: string;
335
- IpcMode?: string;
336
- Volumes?: Volume[];
337
- Containers?: TaskContainerProperties[];
338
- NetworkConfiguration?: NetworkConfiguration;
339
- PidMode?: string;
340
- EphemeralStorage?: EphemeralStorage;
333
+ export interface ConsumableResourceRequirement {
334
+ /**
335
+ * The ARN of the consumable resource the job definition should consume.
336
+ */
337
+ ConsumableResource: string;
338
+ Quantity: number;
341
339
  }
342
340
  export interface RetryStrategy {
343
- EvaluateOnExit?: EvaluateOnExit[];
344
341
  Attempts?: number;
342
+ EvaluateOnExit?: EvaluateOnExit[];
345
343
  }
346
344
  export interface EvaluateOnExit {
347
- Action: string;
348
345
  OnExitCode?: string;
349
- OnReason?: string;
350
346
  OnStatusReason?: string;
347
+ OnReason?: string;
348
+ Action: string;
349
+ }
350
+ export interface JobTimeout {
351
+ AttemptDurationSeconds?: number;
351
352
  }