@awboost/cfn-resource-types 0.1.214 → 0.1.216
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-Batch-JobDefinition.d.ts +122 -83
- package/lib/AWS-CloudFront-Distribution.d.ts +16 -1
- package/lib/AWS-Connect-Rule.d.ts +43 -43
- package/lib/AWS-Connect-Rule.js +1 -1
- package/lib/AWS-ConnectCampaignsV2-Campaign.d.ts +20 -2
- package/lib/AWS-EC2-CustomerGateway.d.ts +1 -1
- package/lib/AWS-EC2-LaunchTemplate.d.ts +1 -0
- package/lib/AWS-ECS-Service.d.ts +22 -5
- package/lib/AWS-ECS-TaskDefinition.d.ts +3 -0
- package/lib/AWS-IoT-SoftwarePackageVersion.d.ts +3 -0
- package/lib/AWS-Logs-AccountPolicy.d.ts +1 -1
- package/lib/AWS-Logs-Integration.d.ts +1 -1
- package/lib/AWS-M2-Environment.d.ts +6 -0
- package/lib/AWS-Organizations-Policy.d.ts +2 -2
- package/lib/AWS-RAM-ResourceShare.d.ts +40 -3
- package/lib/AWS-RAM-ResourceShare.js +1 -1
- package/lib/AWS-S3Express-DirectoryBucket.d.ts +5 -5
- package/lib/AWS-Transfer-Server.d.ts +6 -0
- package/package.json +1 -1
|
@@ -8,32 +8,23 @@ export type BatchJobDefinitionProperties = {
|
|
|
8
8
|
ContainerProperties?: ContainerProperties;
|
|
9
9
|
EcsProperties?: EcsProperties;
|
|
10
10
|
EksProperties?: EksProperties;
|
|
11
|
+
/**
|
|
12
|
+
* @maxLength `128`
|
|
13
|
+
*/
|
|
11
14
|
JobDefinitionName?: string;
|
|
12
15
|
NodeProperties?: NodeProperties;
|
|
13
|
-
Parameters?: Record<string,
|
|
16
|
+
Parameters?: Record<string, string>;
|
|
14
17
|
PlatformCapabilities?: string[];
|
|
15
18
|
PropagateTags?: boolean;
|
|
16
19
|
RetryStrategy?: RetryStrategy;
|
|
17
20
|
SchedulingPriority?: number;
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
/**
|
|
22
|
+
* A key-value pair to associate with a resource.
|
|
23
|
+
*/
|
|
24
|
+
Tags?: Record<string, string>;
|
|
25
|
+
Timeout?: JobTimeout;
|
|
20
26
|
Type: string;
|
|
21
27
|
};
|
|
22
|
-
/**
|
|
23
|
-
* Attribute type definition for `AWS::Batch::JobDefinition`.
|
|
24
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html#aws-resource-batch-jobdefinition-return-values}
|
|
25
|
-
*/
|
|
26
|
-
export type BatchJobDefinitionAttributes = {
|
|
27
|
-
Id: string;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Type definition for `AWS::Batch::JobDefinition.AuthorizationConfig`.
|
|
31
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-authorizationconfig.html}
|
|
32
|
-
*/
|
|
33
|
-
export type AuthorizationConfig = {
|
|
34
|
-
AccessPointId?: string;
|
|
35
|
-
Iam?: string;
|
|
36
|
-
};
|
|
37
28
|
/**
|
|
38
29
|
* Type definition for `AWS::Batch::JobDefinition.ContainerProperties`.
|
|
39
30
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties.html}
|
|
@@ -43,14 +34,15 @@ export type ContainerProperties = {
|
|
|
43
34
|
Environment?: Environment[];
|
|
44
35
|
EphemeralStorage?: EphemeralStorage;
|
|
45
36
|
ExecutionRoleArn?: string;
|
|
46
|
-
FargatePlatformConfiguration?:
|
|
37
|
+
FargatePlatformConfiguration?: {
|
|
38
|
+
PlatformVersion?: string;
|
|
39
|
+
};
|
|
47
40
|
Image: string;
|
|
48
|
-
InstanceType?: string;
|
|
49
41
|
JobRoleArn?: string;
|
|
50
42
|
LinuxParameters?: LinuxParameters;
|
|
51
43
|
LogConfiguration?: LogConfiguration;
|
|
52
44
|
Memory?: number;
|
|
53
|
-
MountPoints?:
|
|
45
|
+
MountPoints?: MountPoint[];
|
|
54
46
|
NetworkConfiguration?: NetworkConfiguration;
|
|
55
47
|
Privileged?: boolean;
|
|
56
48
|
ReadonlyRootFilesystem?: boolean;
|
|
@@ -61,7 +53,7 @@ export type ContainerProperties = {
|
|
|
61
53
|
Ulimits?: Ulimit[];
|
|
62
54
|
User?: string;
|
|
63
55
|
Vcpus?: number;
|
|
64
|
-
Volumes?:
|
|
56
|
+
Volumes?: Volume[];
|
|
65
57
|
};
|
|
66
58
|
/**
|
|
67
59
|
* Type definition for `AWS::Batch::JobDefinition.Device`.
|
|
@@ -93,14 +85,22 @@ export type EcsTaskProperties = {
|
|
|
93
85
|
PlatformVersion?: string;
|
|
94
86
|
RuntimePlatform?: RuntimePlatform;
|
|
95
87
|
TaskRoleArn?: string;
|
|
96
|
-
Volumes?:
|
|
88
|
+
Volumes?: Volume[];
|
|
97
89
|
};
|
|
98
90
|
/**
|
|
99
|
-
* Type definition for `AWS::Batch::JobDefinition.
|
|
91
|
+
* Type definition for `AWS::Batch::JobDefinition.EFSAuthorizationConfig`.
|
|
92
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsauthorizationconfig.html}
|
|
93
|
+
*/
|
|
94
|
+
export type EFSAuthorizationConfig = {
|
|
95
|
+
AccessPointId?: string;
|
|
96
|
+
Iam?: string;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Type definition for `AWS::Batch::JobDefinition.EFSVolumeConfiguration`.
|
|
100
100
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-efsvolumeconfiguration.html}
|
|
101
101
|
*/
|
|
102
|
-
export type
|
|
103
|
-
AuthorizationConfig?:
|
|
102
|
+
export type EFSVolumeConfiguration = {
|
|
103
|
+
AuthorizationConfig?: EFSAuthorizationConfig;
|
|
104
104
|
FileSystemId: string;
|
|
105
105
|
RootDirectory?: string;
|
|
106
106
|
TransitEncryption?: string;
|
|
@@ -134,8 +134,8 @@ export type EksContainerEnvironmentVariable = {
|
|
|
134
134
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainerresourcerequirements.html}
|
|
135
135
|
*/
|
|
136
136
|
export type EksContainerResourceRequirements = {
|
|
137
|
-
Limits?: Record<string,
|
|
138
|
-
Requests?: Record<string,
|
|
137
|
+
Limits?: Record<string, string>;
|
|
138
|
+
Requests?: Record<string, string>;
|
|
139
139
|
};
|
|
140
140
|
/**
|
|
141
141
|
* Type definition for `AWS::Batch::JobDefinition.EksContainerSecurityContext`.
|
|
@@ -173,12 +173,34 @@ export type EksEmptyDir = {
|
|
|
173
173
|
export type EksHostPath = {
|
|
174
174
|
Path?: string;
|
|
175
175
|
};
|
|
176
|
+
/**
|
|
177
|
+
* Type definition for `AWS::Batch::JobDefinition.EksMetadata`.
|
|
178
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksmetadata.html}
|
|
179
|
+
*/
|
|
180
|
+
export type EksMetadata = {
|
|
181
|
+
Labels?: Record<string, string>;
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* Type definition for `AWS::Batch::JobDefinition.EksPodProperties`.
|
|
185
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekspodproperties.html}
|
|
186
|
+
*/
|
|
187
|
+
export type EksPodProperties = {
|
|
188
|
+
Containers?: EksContainer[];
|
|
189
|
+
DnsPolicy?: string;
|
|
190
|
+
HostNetwork?: boolean;
|
|
191
|
+
ImagePullSecrets?: ImagePullSecret[];
|
|
192
|
+
InitContainers?: EksContainer[];
|
|
193
|
+
Metadata?: EksMetadata;
|
|
194
|
+
ServiceAccountName?: string;
|
|
195
|
+
ShareProcessNamespace?: boolean;
|
|
196
|
+
Volumes?: EksVolume[];
|
|
197
|
+
};
|
|
176
198
|
/**
|
|
177
199
|
* Type definition for `AWS::Batch::JobDefinition.EksProperties`.
|
|
178
200
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-eksproperties.html}
|
|
179
201
|
*/
|
|
180
202
|
export type EksProperties = {
|
|
181
|
-
PodProperties?:
|
|
203
|
+
PodProperties?: EksPodProperties;
|
|
182
204
|
};
|
|
183
205
|
/**
|
|
184
206
|
* Type definition for `AWS::Batch::JobDefinition.EksSecret`.
|
|
@@ -224,18 +246,25 @@ export type EvaluateOnExit = {
|
|
|
224
246
|
OnStatusReason?: string;
|
|
225
247
|
};
|
|
226
248
|
/**
|
|
227
|
-
* Type definition for `AWS::Batch::JobDefinition.
|
|
228
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
249
|
+
* Type definition for `AWS::Batch::JobDefinition.Host`.
|
|
250
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-host.html}
|
|
229
251
|
*/
|
|
230
|
-
export type
|
|
231
|
-
|
|
252
|
+
export type Host = {
|
|
253
|
+
SourcePath?: string;
|
|
232
254
|
};
|
|
233
255
|
/**
|
|
234
256
|
* Type definition for `AWS::Batch::JobDefinition.ImagePullSecret`.
|
|
235
257
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html}
|
|
236
258
|
*/
|
|
237
259
|
export type ImagePullSecret = {
|
|
238
|
-
Name
|
|
260
|
+
Name?: string;
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* Type definition for `AWS::Batch::JobDefinition.JobTimeout`.
|
|
264
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-jobtimeout.html}
|
|
265
|
+
*/
|
|
266
|
+
export type JobTimeout = {
|
|
267
|
+
AttemptDurationSeconds?: number;
|
|
239
268
|
};
|
|
240
269
|
/**
|
|
241
270
|
* Type definition for `AWS::Batch::JobDefinition.LinuxParameters`.
|
|
@@ -255,25 +284,64 @@ export type LinuxParameters = {
|
|
|
255
284
|
*/
|
|
256
285
|
export type LogConfiguration = {
|
|
257
286
|
LogDriver: string;
|
|
258
|
-
Options?: Record<string,
|
|
287
|
+
Options?: Record<string, string>;
|
|
259
288
|
SecretOptions?: Secret[];
|
|
260
289
|
};
|
|
261
290
|
/**
|
|
262
|
-
* Type definition for `AWS::Batch::JobDefinition.
|
|
263
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
264
|
-
*/
|
|
265
|
-
export type Metadata = {
|
|
266
|
-
Labels?: Record<string, any>;
|
|
267
|
-
};
|
|
268
|
-
/**
|
|
269
|
-
* Type definition for `AWS::Batch::JobDefinition.MountPoints`.
|
|
270
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoints.html}
|
|
291
|
+
* Type definition for `AWS::Batch::JobDefinition.MountPoint`.
|
|
292
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-mountpoint.html}
|
|
271
293
|
*/
|
|
272
|
-
export type
|
|
294
|
+
export type MountPoint = {
|
|
273
295
|
ContainerPath?: string;
|
|
274
296
|
ReadOnly?: boolean;
|
|
275
297
|
SourceVolume?: string;
|
|
276
298
|
};
|
|
299
|
+
/**
|
|
300
|
+
* Type definition for `AWS::Batch::JobDefinition.MultiNodeContainerProperties`.
|
|
301
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-multinodecontainerproperties.html}
|
|
302
|
+
*/
|
|
303
|
+
export type MultiNodeContainerProperties = {
|
|
304
|
+
Command?: string[];
|
|
305
|
+
Environment?: Environment[];
|
|
306
|
+
EphemeralStorage?: EphemeralStorage;
|
|
307
|
+
ExecutionRoleArn?: string;
|
|
308
|
+
Image: string;
|
|
309
|
+
InstanceType?: string;
|
|
310
|
+
JobRoleArn?: string;
|
|
311
|
+
LinuxParameters?: LinuxParameters;
|
|
312
|
+
LogConfiguration?: LogConfiguration;
|
|
313
|
+
Memory?: number;
|
|
314
|
+
MountPoints?: MountPoint[];
|
|
315
|
+
Privileged?: boolean;
|
|
316
|
+
ReadonlyRootFilesystem?: boolean;
|
|
317
|
+
RepositoryCredentials?: RepositoryCredentials;
|
|
318
|
+
ResourceRequirements?: ResourceRequirement[];
|
|
319
|
+
RuntimePlatform?: RuntimePlatform;
|
|
320
|
+
Secrets?: Secret[];
|
|
321
|
+
Ulimits?: Ulimit[];
|
|
322
|
+
User?: string;
|
|
323
|
+
Vcpus?: number;
|
|
324
|
+
Volumes?: Volume[];
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* Type definition for `AWS::Batch::JobDefinition.MultiNodeEcsProperties`.
|
|
328
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-multinodeecsproperties.html}
|
|
329
|
+
*/
|
|
330
|
+
export type MultiNodeEcsProperties = {
|
|
331
|
+
TaskProperties: MultiNodeEcsTaskProperties[];
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* Type definition for `AWS::Batch::JobDefinition.MultiNodeEcsTaskProperties`.
|
|
335
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-multinodeecstaskproperties.html}
|
|
336
|
+
*/
|
|
337
|
+
export type MultiNodeEcsTaskProperties = {
|
|
338
|
+
Containers?: TaskContainerProperties[];
|
|
339
|
+
ExecutionRoleArn?: string;
|
|
340
|
+
IpcMode?: string;
|
|
341
|
+
PidMode?: string;
|
|
342
|
+
TaskRoleArn?: string;
|
|
343
|
+
Volumes?: Volume[];
|
|
344
|
+
};
|
|
277
345
|
/**
|
|
278
346
|
* Type definition for `AWS::Batch::JobDefinition.NetworkConfiguration`.
|
|
279
347
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-networkconfiguration.html}
|
|
@@ -295,27 +363,12 @@ export type NodeProperties = {
|
|
|
295
363
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-noderangeproperty.html}
|
|
296
364
|
*/
|
|
297
365
|
export type NodeRangeProperty = {
|
|
298
|
-
Container?:
|
|
299
|
-
EcsProperties?:
|
|
366
|
+
Container?: MultiNodeContainerProperties;
|
|
367
|
+
EcsProperties?: MultiNodeEcsProperties;
|
|
300
368
|
EksProperties?: EksProperties;
|
|
301
369
|
InstanceTypes?: string[];
|
|
302
370
|
TargetNodes: string;
|
|
303
371
|
};
|
|
304
|
-
/**
|
|
305
|
-
* Type definition for `AWS::Batch::JobDefinition.PodProperties`.
|
|
306
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html}
|
|
307
|
-
*/
|
|
308
|
-
export type PodProperties = {
|
|
309
|
-
Containers?: EksContainer[];
|
|
310
|
-
DnsPolicy?: string;
|
|
311
|
-
HostNetwork?: boolean;
|
|
312
|
-
ImagePullSecrets?: ImagePullSecret[];
|
|
313
|
-
InitContainers?: EksContainer[];
|
|
314
|
-
Metadata?: Metadata;
|
|
315
|
-
ServiceAccountName?: string;
|
|
316
|
-
ShareProcessNamespace?: boolean;
|
|
317
|
-
Volumes?: EksVolume[];
|
|
318
|
-
};
|
|
319
372
|
/**
|
|
320
373
|
* Type definition for `AWS::Batch::JobDefinition.RepositoryCredentials`.
|
|
321
374
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-repositorycredentials.html}
|
|
@@ -375,7 +428,7 @@ export type TaskContainerProperties = {
|
|
|
375
428
|
Image: string;
|
|
376
429
|
LinuxParameters?: LinuxParameters;
|
|
377
430
|
LogConfiguration?: LogConfiguration;
|
|
378
|
-
MountPoints?:
|
|
431
|
+
MountPoints?: MountPoint[];
|
|
379
432
|
Name?: string;
|
|
380
433
|
Privileged?: boolean;
|
|
381
434
|
ReadonlyRootFilesystem?: boolean;
|
|
@@ -385,13 +438,6 @@ export type TaskContainerProperties = {
|
|
|
385
438
|
Ulimits?: Ulimit[];
|
|
386
439
|
User?: string;
|
|
387
440
|
};
|
|
388
|
-
/**
|
|
389
|
-
* Type definition for `AWS::Batch::JobDefinition.Timeout`.
|
|
390
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-timeout.html}
|
|
391
|
-
*/
|
|
392
|
-
export type Timeout = {
|
|
393
|
-
AttemptDurationSeconds?: number;
|
|
394
|
-
};
|
|
395
441
|
/**
|
|
396
442
|
* Type definition for `AWS::Batch::JobDefinition.Tmpfs`.
|
|
397
443
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-tmpfs.html}
|
|
@@ -411,26 +457,19 @@ export type Ulimit = {
|
|
|
411
457
|
SoftLimit: number;
|
|
412
458
|
};
|
|
413
459
|
/**
|
|
414
|
-
* Type definition for `AWS::Batch::JobDefinition.
|
|
415
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-
|
|
460
|
+
* Type definition for `AWS::Batch::JobDefinition.Volume`.
|
|
461
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volume.html}
|
|
416
462
|
*/
|
|
417
|
-
export type
|
|
418
|
-
EfsVolumeConfiguration?:
|
|
419
|
-
Host?:
|
|
463
|
+
export type Volume = {
|
|
464
|
+
EfsVolumeConfiguration?: EFSVolumeConfiguration;
|
|
465
|
+
Host?: Host;
|
|
420
466
|
Name?: string;
|
|
421
467
|
};
|
|
422
|
-
/**
|
|
423
|
-
* Type definition for `AWS::Batch::JobDefinition.VolumesHost`.
|
|
424
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-volumeshost.html}
|
|
425
|
-
*/
|
|
426
|
-
export type VolumesHost = {
|
|
427
|
-
SourcePath?: string;
|
|
428
|
-
};
|
|
429
468
|
/**
|
|
430
469
|
* Resource Type definition for AWS::Batch::JobDefinition
|
|
431
470
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html}
|
|
432
471
|
*/
|
|
433
|
-
export declare class BatchJobDefinition extends $Resource<"AWS::Batch::JobDefinition", BatchJobDefinitionProperties,
|
|
472
|
+
export declare class BatchJobDefinition extends $Resource<"AWS::Batch::JobDefinition", BatchJobDefinitionProperties, Record<string, never>> {
|
|
434
473
|
static readonly Type = "AWS::Batch::JobDefinition";
|
|
435
474
|
constructor(logicalId: string, properties: BatchJobDefinitionProperties, options?: $ResourceOptions);
|
|
436
475
|
}
|
|
@@ -82,6 +82,7 @@ export type CacheBehavior = {
|
|
|
82
82
|
* A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the ``LIVE`` stage to associate them with a cache behavior.
|
|
83
83
|
*/
|
|
84
84
|
FunctionAssociations?: FunctionAssociation[];
|
|
85
|
+
GrpcConfig?: GrpcConfig;
|
|
85
86
|
/**
|
|
86
87
|
* A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.
|
|
87
88
|
*/
|
|
@@ -301,6 +302,7 @@ export type DefaultCacheBehavior = {
|
|
|
301
302
|
* A list of CloudFront functions that are associated with this cache behavior. Your functions must be published to the ``LIVE`` stage to associate them with a cache behavior.
|
|
302
303
|
*/
|
|
303
304
|
FunctionAssociations?: FunctionAssociation[];
|
|
305
|
+
GrpcConfig?: GrpcConfig;
|
|
304
306
|
/**
|
|
305
307
|
* A complex type that contains zero or more Lambda@Edge function associations for a cache behavior.
|
|
306
308
|
*/
|
|
@@ -554,6 +556,13 @@ export type GeoRestriction = {
|
|
|
554
556
|
*/
|
|
555
557
|
RestrictionType: string;
|
|
556
558
|
};
|
|
559
|
+
/**
|
|
560
|
+
* Type definition for `AWS::CloudFront::Distribution.GrpcConfig`.
|
|
561
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-grpcconfig.html}
|
|
562
|
+
*/
|
|
563
|
+
export type GrpcConfig = {
|
|
564
|
+
Enabled: boolean;
|
|
565
|
+
};
|
|
557
566
|
/**
|
|
558
567
|
* Type definition for `AWS::CloudFront::Distribution.LambdaFunctionAssociation`.
|
|
559
568
|
* A complex type that contains a Lambda@Edge function association.
|
|
@@ -633,7 +642,7 @@ export type Logging = {
|
|
|
633
642
|
/**
|
|
634
643
|
* The Amazon S3 bucket to store the access logs in, for example, ``myawslogbucket.s3.amazonaws.com``.
|
|
635
644
|
*/
|
|
636
|
-
Bucket
|
|
645
|
+
Bucket?: string;
|
|
637
646
|
/**
|
|
638
647
|
* Specifies whether you want CloudFront to include cookies in access logs, specify ``true`` for ``IncludeCookies``. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify ``false`` for ``IncludeCookies``.
|
|
639
648
|
*/
|
|
@@ -743,6 +752,7 @@ export type OriginGroup = {
|
|
|
743
752
|
* A complex type that contains information about the origins in an origin group.
|
|
744
753
|
*/
|
|
745
754
|
Members: OriginGroupMembers;
|
|
755
|
+
SelectionCriteria?: OriginGroupSelectionCriteria;
|
|
746
756
|
};
|
|
747
757
|
/**
|
|
748
758
|
* Type definition for `AWS::CloudFront::Distribution.OriginGroupFailoverCriteria`.
|
|
@@ -796,6 +806,11 @@ export type OriginGroups = {
|
|
|
796
806
|
*/
|
|
797
807
|
Quantity: number;
|
|
798
808
|
};
|
|
809
|
+
/**
|
|
810
|
+
* Type definition for `AWS::CloudFront::Distribution.OriginGroupSelectionCriteria`.
|
|
811
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origingroupselectioncriteria.html}
|
|
812
|
+
*/
|
|
813
|
+
export type OriginGroupSelectionCriteria = "default" | "media-quality-based";
|
|
799
814
|
/**
|
|
800
815
|
* Type definition for `AWS::CloudFront::Distribution.OriginShield`.
|
|
801
816
|
* CloudFront Origin Shield.
|
|
@@ -2,16 +2,16 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
|
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
4
|
* Resource type definition for `AWS::Connect::Rule`.
|
|
5
|
-
*
|
|
5
|
+
* Creates a rule for the specified CON instance.
|
|
6
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html}
|
|
7
7
|
*/
|
|
8
8
|
export type ConnectRuleProperties = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* A list of actions to be run when the rule is triggered.
|
|
11
11
|
*/
|
|
12
12
|
Actions: Actions;
|
|
13
13
|
/**
|
|
14
|
-
* The conditions of
|
|
14
|
+
* The conditions of the rule.
|
|
15
15
|
*/
|
|
16
16
|
Function: string;
|
|
17
17
|
/**
|
|
@@ -25,16 +25,17 @@ export type ConnectRuleProperties = {
|
|
|
25
25
|
*/
|
|
26
26
|
Name: string;
|
|
27
27
|
/**
|
|
28
|
-
* The publish status of
|
|
28
|
+
* The publish status of the rule.
|
|
29
|
+
*Allowed values*: ``DRAFT`` | ``PUBLISHED``
|
|
29
30
|
*/
|
|
30
31
|
PublishStatus: "DRAFT" | "PUBLISHED";
|
|
31
32
|
/**
|
|
32
|
-
*
|
|
33
|
+
* The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
|
|
33
34
|
* @maxLength `50`
|
|
34
35
|
*/
|
|
35
36
|
Tags?: Tag[];
|
|
36
37
|
/**
|
|
37
|
-
* The event source
|
|
38
|
+
* The event source to trigger the rule.
|
|
38
39
|
*/
|
|
39
40
|
TriggerEventSource: RuleTriggerEventSource;
|
|
40
41
|
};
|
|
@@ -44,19 +45,18 @@ export type ConnectRuleProperties = {
|
|
|
44
45
|
*/
|
|
45
46
|
export type ConnectRuleAttributes = {
|
|
46
47
|
/**
|
|
47
|
-
* The Amazon Resource Name (ARN) of the rule.
|
|
48
48
|
* @pattern `^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]/*rule/[-a-zA-Z0-9]*$`
|
|
49
49
|
*/
|
|
50
50
|
RuleArn: string;
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
53
|
* Type definition for `AWS::Connect::Rule.Actions`.
|
|
54
|
-
*
|
|
54
|
+
* A list of actions to be run when the rule is triggered.
|
|
55
55
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html}
|
|
56
56
|
*/
|
|
57
57
|
export type Actions = {
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* Information about the contact category action. The syntax can be empty, for example, ``{}``.
|
|
60
60
|
* @minLength `1`
|
|
61
61
|
* @maxLength `1`
|
|
62
62
|
*/
|
|
@@ -74,13 +74,13 @@ export type Actions = {
|
|
|
74
74
|
*/
|
|
75
75
|
EndAssociatedTasksActions?: EndAssociatedTasksAction[];
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* Information about the EV action.
|
|
78
78
|
* @minLength `1`
|
|
79
79
|
* @maxLength `1`
|
|
80
80
|
*/
|
|
81
81
|
EventBridgeActions?: EventBridgeAction[];
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* Information about the send notification action.
|
|
84
84
|
* @minLength `1`
|
|
85
85
|
* @maxLength `1`
|
|
86
86
|
*/
|
|
@@ -92,7 +92,7 @@ export type Actions = {
|
|
|
92
92
|
*/
|
|
93
93
|
SubmitAutoEvaluationActions?: SubmitAutoEvaluationAction[];
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* Information about the task action. This field is required if ``TriggerEventSource`` is one of the following values: ``OnZendeskTicketCreate`` | ``OnZendeskTicketStatusUpdate`` | ``OnSalesforceCaseCreate``
|
|
96
96
|
* @minLength `1`
|
|
97
97
|
* @maxLength `1`
|
|
98
98
|
*/
|
|
@@ -112,7 +112,6 @@ export type Actions = {
|
|
|
112
112
|
export type AssignContactCategoryAction = Record<string, any>;
|
|
113
113
|
/**
|
|
114
114
|
* Type definition for `AWS::Connect::Rule.CreateCaseAction`.
|
|
115
|
-
* The definition for create case action.
|
|
116
115
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-createcaseaction.html}
|
|
117
116
|
*/
|
|
118
117
|
export type CreateCaseAction = {
|
|
@@ -123,7 +122,6 @@ export type CreateCaseAction = {
|
|
|
123
122
|
*/
|
|
124
123
|
Fields: Field[];
|
|
125
124
|
/**
|
|
126
|
-
* The Id of template.
|
|
127
125
|
* @minLength `1`
|
|
128
126
|
* @maxLength `500`
|
|
129
127
|
*/
|
|
@@ -137,36 +135,34 @@ export type CreateCaseAction = {
|
|
|
137
135
|
export type EndAssociatedTasksAction = Record<string, any>;
|
|
138
136
|
/**
|
|
139
137
|
* Type definition for `AWS::Connect::Rule.EventBridgeAction`.
|
|
140
|
-
* The
|
|
138
|
+
* The EV action definition.
|
|
141
139
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-eventbridgeaction.html}
|
|
142
140
|
*/
|
|
143
141
|
export type EventBridgeAction = {
|
|
144
142
|
/**
|
|
145
|
-
* The name
|
|
143
|
+
* The name.
|
|
146
144
|
* @pattern `^[a-zA-Z0-9._-]{1,100}$`
|
|
147
145
|
*/
|
|
148
146
|
Name: string;
|
|
149
147
|
};
|
|
150
148
|
/**
|
|
151
149
|
* Type definition for `AWS::Connect::Rule.Field`.
|
|
152
|
-
* The field of the case.
|
|
153
150
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-field.html}
|
|
154
151
|
*/
|
|
155
152
|
export type Field = {
|
|
156
153
|
/**
|
|
157
|
-
* The Id of the field
|
|
158
154
|
* @minLength `1`
|
|
159
155
|
* @maxLength `500`
|
|
160
156
|
*/
|
|
161
157
|
Id: string;
|
|
162
158
|
/**
|
|
163
|
-
*
|
|
159
|
+
* Object for case field values.
|
|
164
160
|
*/
|
|
165
161
|
Value: FieldValue;
|
|
166
162
|
};
|
|
167
163
|
/**
|
|
168
164
|
* Type definition for `AWS::Connect::Rule.FieldValue`.
|
|
169
|
-
*
|
|
165
|
+
* Object for case field values.
|
|
170
166
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html}
|
|
171
167
|
*/
|
|
172
168
|
export type FieldValue = {
|
|
@@ -182,70 +178,77 @@ export type FieldValue = {
|
|
|
182
178
|
*/
|
|
183
179
|
export type NotificationRecipientType = {
|
|
184
180
|
/**
|
|
185
|
-
* The
|
|
181
|
+
* The Amazon Resource Name (ARN) of the user account.
|
|
186
182
|
* @minLength `1`
|
|
187
183
|
* @maxLength `5`
|
|
188
184
|
*/
|
|
189
185
|
UserArns?: string[];
|
|
190
186
|
/**
|
|
191
|
-
* The
|
|
187
|
+
* The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. CON users with the specified tags will be notified.
|
|
192
188
|
*/
|
|
193
189
|
UserTags?: Record<string, string>;
|
|
194
190
|
};
|
|
195
191
|
/**
|
|
196
192
|
* Type definition for `AWS::Connect::Rule.Reference`.
|
|
197
|
-
*
|
|
193
|
+
* Information about the reference when the ``referenceType`` is ``URL``. Otherwise, null. (Supports variable injection in the ``Value`` field.)
|
|
198
194
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-reference.html}
|
|
199
195
|
*/
|
|
200
196
|
export type Reference = {
|
|
197
|
+
/**
|
|
198
|
+
* The type of the reference. ``DATE`` must be of type Epoch timestamp.
|
|
199
|
+
*Allowed values*: ``URL`` | ``ATTACHMENT`` | ``NUMBER`` | ``STRING`` | ``DATE`` | ``EMAIL``
|
|
200
|
+
*/
|
|
201
201
|
Type: "URL" | "ATTACHMENT" | "NUMBER" | "STRING" | "DATE" | "EMAIL";
|
|
202
202
|
/**
|
|
203
|
+
* A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).
|
|
203
204
|
* @pattern `^(/|https:)`
|
|
204
205
|
*/
|
|
205
206
|
Value: string;
|
|
206
207
|
};
|
|
207
208
|
/**
|
|
208
209
|
* Type definition for `AWS::Connect::Rule.RuleTriggerEventSource`.
|
|
209
|
-
* The
|
|
210
|
+
* The name of the event source.
|
|
210
211
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-ruletriggereventsource.html}
|
|
211
212
|
*/
|
|
212
213
|
export type RuleTriggerEventSource = {
|
|
213
214
|
/**
|
|
214
|
-
* The name of event source.
|
|
215
|
+
* The name of the event source.
|
|
215
216
|
*/
|
|
216
217
|
EventSourceName: "OnContactEvaluationSubmit" | "OnPostCallAnalysisAvailable" | "OnRealTimeCallAnalysisAvailable" | "OnRealTimeChatAnalysisAvailable" | "OnPostChatAnalysisAvailable" | "OnZendeskTicketCreate" | "OnZendeskTicketStatusUpdate" | "OnSalesforceCaseCreate" | "OnMetricDataUpdate" | "OnCaseCreate" | "OnCaseUpdate";
|
|
217
218
|
/**
|
|
218
|
-
* The Amazon Resource Name (ARN)
|
|
219
|
+
* The Amazon Resource Name (ARN) of the integration association. ``IntegrationAssociationArn`` is required if ``TriggerEventSource`` is one of the following values: ``OnZendeskTicketCreate`` | ``OnZendeskTicketStatusUpdate`` | ``OnSalesforceCaseCreate``
|
|
219
220
|
* @pattern `^$|arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]/*integration-association/[-a-zA-Z0-9]*$`
|
|
220
221
|
*/
|
|
221
222
|
IntegrationAssociationArn?: string;
|
|
222
223
|
};
|
|
223
224
|
/**
|
|
224
225
|
* Type definition for `AWS::Connect::Rule.SendNotificationAction`.
|
|
225
|
-
*
|
|
226
|
+
* Information about the send notification action.
|
|
226
227
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-sendnotificationaction.html}
|
|
227
228
|
*/
|
|
228
229
|
export type SendNotificationAction = {
|
|
229
230
|
/**
|
|
230
|
-
*
|
|
231
|
+
* Notification content. Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Administrators Guide*.
|
|
231
232
|
* @minLength `1`
|
|
232
233
|
* @maxLength `1024`
|
|
233
234
|
*/
|
|
234
235
|
Content: string;
|
|
235
236
|
/**
|
|
236
|
-
*
|
|
237
|
+
* Content type format.
|
|
238
|
+
*Allowed value*: ``PLAIN_TEXT``
|
|
237
239
|
*/
|
|
238
240
|
ContentType: "PLAIN_TEXT";
|
|
239
241
|
/**
|
|
240
|
-
*
|
|
242
|
+
* Notification delivery method.
|
|
243
|
+
*Allowed value*: ``EMAIL``
|
|
241
244
|
*/
|
|
242
245
|
DeliveryMethod: "EMAIL";
|
|
243
246
|
/**
|
|
244
|
-
*
|
|
247
|
+
* Notification recipient.
|
|
245
248
|
*/
|
|
246
249
|
Recipient: NotificationRecipientType;
|
|
247
250
|
/**
|
|
248
|
-
* The subject of
|
|
251
|
+
* The subject of the email if the delivery method is ``EMAIL``. Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Administrators Guide*.
|
|
249
252
|
* @minLength `1`
|
|
250
253
|
* @maxLength `200`
|
|
251
254
|
*/
|
|
@@ -253,12 +256,10 @@ export type SendNotificationAction = {
|
|
|
253
256
|
};
|
|
254
257
|
/**
|
|
255
258
|
* Type definition for `AWS::Connect::Rule.SubmitAutoEvaluationAction`.
|
|
256
|
-
* The definition of submit auto evaluation action.
|
|
257
259
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-submitautoevaluationaction.html}
|
|
258
260
|
*/
|
|
259
261
|
export type SubmitAutoEvaluationAction = {
|
|
260
262
|
/**
|
|
261
|
-
* The Amazon Resource Name (ARN) of the evaluation form.
|
|
262
263
|
* @pattern `^$|arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]/*evaluation-form/[-a-zA-Z0-9]*$`
|
|
263
264
|
*/
|
|
264
265
|
EvaluationFormArn: string;
|
|
@@ -270,49 +271,48 @@ export type SubmitAutoEvaluationAction = {
|
|
|
270
271
|
*/
|
|
271
272
|
export type Tag = {
|
|
272
273
|
/**
|
|
273
|
-
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and
|
|
274
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -
|
|
274
275
|
* @minLength `1`
|
|
275
276
|
* @maxLength `128`
|
|
276
277
|
* @pattern `^(?!aws:)[a-zA-Z+-=._:/]+$`
|
|
277
278
|
*/
|
|
278
279
|
Key: string;
|
|
279
280
|
/**
|
|
280
|
-
* The value for the tag. You can specify a value that
|
|
281
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -
|
|
281
282
|
* @maxLength `256`
|
|
282
283
|
*/
|
|
283
284
|
Value: string;
|
|
284
285
|
};
|
|
285
286
|
/**
|
|
286
287
|
* Type definition for `AWS::Connect::Rule.TaskAction`.
|
|
287
|
-
*
|
|
288
|
+
* Information about the task action. This field is required if ``TriggerEventSource`` is one of the following values: ``OnZendeskTicketCreate`` | ``OnZendeskTicketStatusUpdate`` | ``OnSalesforceCaseCreate``
|
|
288
289
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-taskaction.html}
|
|
289
290
|
*/
|
|
290
291
|
export type TaskAction = {
|
|
291
292
|
/**
|
|
292
|
-
* The Amazon Resource Name (ARN) of the
|
|
293
|
+
* The Amazon Resource Name (ARN) of the flow.
|
|
293
294
|
* @pattern `^$|arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]/*contact-flow/[-a-zA-Z0-9]*$`
|
|
294
295
|
*/
|
|
295
296
|
ContactFlowArn: string;
|
|
296
297
|
/**
|
|
297
|
-
* The description
|
|
298
|
+
* The description. Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Administrators Guide*.
|
|
298
299
|
* @minLength `0`
|
|
299
300
|
* @maxLength `4096`
|
|
300
301
|
*/
|
|
301
302
|
Description?: string;
|
|
302
303
|
/**
|
|
303
|
-
* The name
|
|
304
|
+
* The name. Supports variable injection. For more information, see [JSONPath reference](https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-variable-injection.html) in the *Administrators Guide*.
|
|
304
305
|
* @minLength `1`
|
|
305
306
|
* @maxLength `512`
|
|
306
307
|
*/
|
|
307
308
|
Name: string;
|
|
308
309
|
/**
|
|
309
|
-
*
|
|
310
|
+
* Information about the reference when the ``referenceType`` is ``URL``. Otherwise, null. ``URL`` is the only accepted type. (Supports variable injection in the ``Value`` field.)
|
|
310
311
|
*/
|
|
311
312
|
References?: Record<string, Reference>;
|
|
312
313
|
};
|
|
313
314
|
/**
|
|
314
315
|
* Type definition for `AWS::Connect::Rule.UpdateCaseAction`.
|
|
315
|
-
* The definition for update case action.
|
|
316
316
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-updatecaseaction.html}
|
|
317
317
|
*/
|
|
318
318
|
export type UpdateCaseAction = {
|
|
@@ -325,7 +325,7 @@ export type UpdateCaseAction = {
|
|
|
325
325
|
};
|
|
326
326
|
/**
|
|
327
327
|
* Resource type definition for `AWS::Connect::Rule`.
|
|
328
|
-
*
|
|
328
|
+
* Creates a rule for the specified CON instance.
|
|
329
329
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html}
|
|
330
330
|
*/
|
|
331
331
|
export declare class ConnectRule extends $Resource<"AWS::Connect::Rule", ConnectRuleProperties, ConnectRuleAttributes> {
|
package/lib/AWS-Connect-Rule.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
3
|
* Resource type definition for `AWS::Connect::Rule`.
|
|
4
|
-
*
|
|
4
|
+
* Creates a rule for the specified CON instance.
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html}
|
|
6
6
|
*/
|
|
7
7
|
export class ConnectRule extends $Resource {
|
|
@@ -42,7 +42,7 @@ export type ConnectCampaignsV2CampaignProperties = {
|
|
|
42
42
|
*/
|
|
43
43
|
Schedule?: Schedule;
|
|
44
44
|
/**
|
|
45
|
-
* The possible
|
|
45
|
+
* The possible source of the campaign
|
|
46
46
|
*/
|
|
47
47
|
Source?: Source;
|
|
48
48
|
/**
|
|
@@ -254,6 +254,20 @@ export type EmailOutboundMode = {
|
|
|
254
254
|
*/
|
|
255
255
|
AgentlessConfig?: AgentlessConfig;
|
|
256
256
|
};
|
|
257
|
+
/**
|
|
258
|
+
* Type definition for `AWS::ConnectCampaignsV2::Campaign.EventTrigger`.
|
|
259
|
+
* The event trigger of the campaign
|
|
260
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-eventtrigger.html}
|
|
261
|
+
*/
|
|
262
|
+
export type EventTrigger = {
|
|
263
|
+
/**
|
|
264
|
+
* Arn
|
|
265
|
+
* @minLength `20`
|
|
266
|
+
* @maxLength `500`
|
|
267
|
+
* @pattern `^arn:.*$`
|
|
268
|
+
*/
|
|
269
|
+
CustomerProfilesDomainArn?: string;
|
|
270
|
+
};
|
|
257
271
|
/**
|
|
258
272
|
* Type definition for `AWS::ConnectCampaignsV2::Campaign.LocalTimeZoneConfig`.
|
|
259
273
|
* Local time zone config
|
|
@@ -424,7 +438,7 @@ export type SmsOutboundMode = {
|
|
|
424
438
|
};
|
|
425
439
|
/**
|
|
426
440
|
* Type definition for `AWS::ConnectCampaignsV2::Campaign.Source`.
|
|
427
|
-
* The possible
|
|
441
|
+
* The possible source of the campaign
|
|
428
442
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-source.html}
|
|
429
443
|
*/
|
|
430
444
|
export type Source = {
|
|
@@ -435,6 +449,10 @@ export type Source = {
|
|
|
435
449
|
* @pattern `^arn:.*$`
|
|
436
450
|
*/
|
|
437
451
|
CustomerProfilesSegmentArn?: string;
|
|
452
|
+
/**
|
|
453
|
+
* The event trigger of the campaign
|
|
454
|
+
*/
|
|
455
|
+
EventTrigger?: EventTrigger;
|
|
438
456
|
};
|
|
439
457
|
/**
|
|
440
458
|
* Type definition for `AWS::ConnectCampaignsV2::Campaign.Tag`.
|
|
@@ -21,7 +21,7 @@ export type EC2CustomerGatewayProperties = {
|
|
|
21
21
|
BgpAsnExtended?: number;
|
|
22
22
|
/**
|
|
23
23
|
* The Amazon Resource Name (ARN) for the customer gateway certificate.
|
|
24
|
-
* @pattern `^arn:(aws[a-zA-Z-]*)?:acm:[a-z]{2}((-gov)|(-iso(
|
|
24
|
+
* @pattern `^arn:(aws[a-zA-Z-]*)?:acm:[a-z]{2}((-gov)|(-iso([a-z]{1})?))?-[a-z]+-\d{1}:\d{12}:certificate\/[a-zA-Z0-9-_]+$`
|
|
25
25
|
*/
|
|
26
26
|
CertificateArn?: string;
|
|
27
27
|
/**
|
package/lib/AWS-ECS-Service.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
7
7
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html}
|
|
8
8
|
*/
|
|
9
9
|
export type ECSServiceProperties = {
|
|
10
|
+
/**
|
|
11
|
+
* Indicates whether to use Availability Zone rebalancing for the service.
|
|
12
|
+
For more information, see [Balancing an Amazon ECS service across Availability Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) in the *Amazon Elastic Container Service Developer Guide*.
|
|
13
|
+
*/
|
|
10
14
|
AvailabilityZoneRebalancing?: "ENABLED" | "DISABLED";
|
|
11
15
|
/**
|
|
12
16
|
* The capacity provider strategy to use for the service.
|
|
@@ -42,9 +46,8 @@ export type ECSServiceProperties = {
|
|
|
42
46
|
*/
|
|
43
47
|
EnableExecuteCommand?: boolean;
|
|
44
48
|
/**
|
|
45
|
-
* The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing
|
|
46
|
-
If you
|
|
47
|
-
If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health check status. This grace period can prevent the service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.
|
|
49
|
+
* The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you don't specify a health check grace period value, the default value of ``0`` is used. If you don't use any of the health checks, then ``healthCheckGracePeriodSeconds`` is unused.
|
|
50
|
+
If your service's tasks take a while to start and respond to health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health check status. This grace period can prevent the service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.
|
|
48
51
|
*/
|
|
49
52
|
HealthCheckGracePeriodSeconds?: number;
|
|
50
53
|
/**
|
|
@@ -128,6 +131,9 @@ export type ECSServiceProperties = {
|
|
|
128
131
|
* The configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume.
|
|
129
132
|
*/
|
|
130
133
|
VolumeConfigurations?: ServiceVolumeConfiguration[];
|
|
134
|
+
/**
|
|
135
|
+
* The VPC Lattice configuration for the service being created.
|
|
136
|
+
*/
|
|
131
137
|
VpcLatticeConfigurations?: VpcLatticeConfiguration[];
|
|
132
138
|
};
|
|
133
139
|
/**
|
|
@@ -145,7 +151,7 @@ export type ECSServiceAttributes = {
|
|
|
145
151
|
*/
|
|
146
152
|
export type AwsVpcConfiguration = {
|
|
147
153
|
/**
|
|
148
|
-
* Whether the task's elastic network interface receives a public IP address. The default value is ``
|
|
154
|
+
* Whether the task's elastic network interface receives a public IP address. The default value is ``ENABLED``.
|
|
149
155
|
*/
|
|
150
156
|
AssignPublicIp?: "DISABLED" | "ENABLED";
|
|
151
157
|
/**
|
|
@@ -265,7 +271,7 @@ export type DeploymentConfiguration = {
|
|
|
265
271
|
};
|
|
266
272
|
/**
|
|
267
273
|
* Type definition for `AWS::ECS::Service.DeploymentController`.
|
|
268
|
-
* The deployment controller to use for the service.
|
|
274
|
+
* The deployment controller to use for the service.
|
|
269
275
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentcontroller.html}
|
|
270
276
|
*/
|
|
271
277
|
export type DeploymentController = {
|
|
@@ -709,11 +715,22 @@ export type TimeoutConfiguration = {
|
|
|
709
715
|
};
|
|
710
716
|
/**
|
|
711
717
|
* Type definition for `AWS::ECS::Service.VpcLatticeConfiguration`.
|
|
718
|
+
* The VPC Lattice configuration for your service that holds the information for the target group(s) Amazon ECS tasks will be registered to.
|
|
712
719
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-vpclatticeconfiguration.html}
|
|
713
720
|
*/
|
|
714
721
|
export type VpcLatticeConfiguration = {
|
|
722
|
+
/**
|
|
723
|
+
* The name of the port mapping to register in the VPC Lattice target group. This is the name of the ``portMapping`` you defined in your task definition.
|
|
724
|
+
*/
|
|
715
725
|
PortName: string;
|
|
726
|
+
/**
|
|
727
|
+
* The ARN of the IAM role to associate with this VPC Lattice configuration. This is the Amazon ECS
|
|
728
|
+
infrastructure IAM role that is used to manage your VPC Lattice infrastructure.
|
|
729
|
+
*/
|
|
716
730
|
RoleArn: string;
|
|
731
|
+
/**
|
|
732
|
+
* The full Amazon Resource Name (ARN) of the target group or groups associated with the VPC Lattice configuration that the Amazon ECS tasks will be registered to.
|
|
733
|
+
*/
|
|
717
734
|
TargetGroupArn: string;
|
|
718
735
|
};
|
|
719
736
|
/**
|
|
@@ -405,6 +405,9 @@ export type ContainerDefinition = {
|
|
|
405
405
|
This parameter is not supported for Windows containers.
|
|
406
406
|
*/
|
|
407
407
|
User?: string;
|
|
408
|
+
/**
|
|
409
|
+
* Specifies whether Amazon ECS will resolve the container image tag provided in the container definition to an image digest. By default, the value is ``enabled``. If you set the value for a container as ``disabled``, Amazon ECS will not resolve the provided container image tag to a digest and will use the original image URI specified in the container definition for deployment. For more information about container image resolution, see [Container image resolution](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability) in the *Amazon ECS Developer Guide*.
|
|
410
|
+
*/
|
|
408
411
|
VersionConsistency?: "enabled" | "disabled";
|
|
409
412
|
/**
|
|
410
413
|
* Data volumes to mount from another container. This parameter maps to ``VolumesFrom`` in the docker container create command and the ``--volumes-from`` option to docker run.
|
|
@@ -27,7 +27,7 @@ export type LogsAccountPolicyProperties = {
|
|
|
27
27
|
/**
|
|
28
28
|
* Type of the policy.
|
|
29
29
|
*/
|
|
30
|
-
PolicyType: "DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY";
|
|
30
|
+
PolicyType: "DATA_PROTECTION_POLICY" | "SUBSCRIPTION_FILTER_POLICY" | "FIELD_INDEX_POLICY" | "TRANSFORMER_POLICY";
|
|
31
31
|
/**
|
|
32
32
|
* Scope for policy application
|
|
33
33
|
*/
|
|
@@ -40,6 +40,7 @@ export type M2EnvironmentProperties = {
|
|
|
40
40
|
* @pattern `^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$`
|
|
41
41
|
*/
|
|
42
42
|
Name: string;
|
|
43
|
+
NetworkType?: NetworkType;
|
|
43
44
|
/**
|
|
44
45
|
* Configures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
|
|
45
46
|
* @pattern `^\S{1,50}$`
|
|
@@ -134,6 +135,11 @@ export type HighAvailabilityConfig = {
|
|
|
134
135
|
*/
|
|
135
136
|
DesiredCapacity: number;
|
|
136
137
|
};
|
|
138
|
+
/**
|
|
139
|
+
* Type definition for `AWS::M2::Environment.NetworkType`.
|
|
140
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-m2-environment-networktype.html}
|
|
141
|
+
*/
|
|
142
|
+
export type NetworkType = "ipv4" | "dual";
|
|
137
143
|
/**
|
|
138
144
|
* Type definition for `AWS::M2::Environment.StorageConfiguration`.
|
|
139
145
|
* Defines the storage configuration for an environment.
|
|
@@ -32,9 +32,9 @@ export type OrganizationsPolicyProperties = {
|
|
|
32
32
|
*/
|
|
33
33
|
TargetIds?: string[];
|
|
34
34
|
/**
|
|
35
|
-
* The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICY, CHATBOT_POLICY, RESOURCE_CONTROL_POLICY
|
|
35
|
+
* The type of policy to create. You can specify one of the following values: AISERVICES_OPT_OUT_POLICY, BACKUP_POLICY, SERVICE_CONTROL_POLICY, TAG_POLICY, CHATBOT_POLICY, RESOURCE_CONTROL_POLICY,DECLARATIVE_POLICY_EC2
|
|
36
36
|
*/
|
|
37
|
-
Type: "SERVICE_CONTROL_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "BACKUP_POLICY" | "TAG_POLICY" | "CHATBOT_POLICY" | "RESOURCE_CONTROL_POLICY";
|
|
37
|
+
Type: "SERVICE_CONTROL_POLICY" | "AISERVICES_OPT_OUT_POLICY" | "BACKUP_POLICY" | "TAG_POLICY" | "CHATBOT_POLICY" | "RESOURCE_CONTROL_POLICY" | "DECLARATIVE_POLICY_EC2";
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* Attribute type definition for `AWS::Organizations::Policy`.
|
|
@@ -1,16 +1,47 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
* Resource
|
|
4
|
+
* Resource type definition for AWS::RAM::ResourceShare
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html}
|
|
6
6
|
*/
|
|
7
7
|
export type RAMResourceShareProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* Specifies whether principals outside your organization in AWS Organizations can be associated with a resource share. A value of `true` lets you share with individual AWS accounts that are not in your organization. A value of `false` only has meaning if your account is a member of an AWS Organization. The default value is `true`.
|
|
10
|
+
*/
|
|
8
11
|
AllowExternalPrincipals?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Specifies the name of the resource share.
|
|
14
|
+
*/
|
|
9
15
|
Name: string;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) of the AWS RAM permission to associate with the resource share. If you do not specify an ARN for the permission, AWS RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
|
|
18
|
+
*/
|
|
10
19
|
PermissionArns?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* Specifies the principals to associate with the resource share. The possible values are:
|
|
22
|
+
|
|
23
|
+
- An AWS account ID
|
|
24
|
+
|
|
25
|
+
- An Amazon Resource Name (ARN) of an organization in AWS Organizations
|
|
26
|
+
|
|
27
|
+
- An ARN of an organizational unit (OU) in AWS Organizations
|
|
28
|
+
|
|
29
|
+
- An ARN of an IAM role
|
|
30
|
+
|
|
31
|
+
- An ARN of an IAM user
|
|
32
|
+
*/
|
|
11
33
|
Principals?: string[];
|
|
34
|
+
/**
|
|
35
|
+
* Specifies a list of one or more ARNs of the resources to associate with the resource share.
|
|
36
|
+
*/
|
|
12
37
|
ResourceArns?: string[];
|
|
38
|
+
/**
|
|
39
|
+
* Specifies from which source accounts the service principal has access to the resources in this resource share.
|
|
40
|
+
*/
|
|
13
41
|
Sources?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* Specifies one or more tags to attach to the resource share itself. It doesn't attach the tags to the resources associated with the resource share.
|
|
44
|
+
*/
|
|
14
45
|
Tags?: Tag[];
|
|
15
46
|
};
|
|
16
47
|
/**
|
|
@@ -19,18 +50,24 @@ export type RAMResourceShareProperties = {
|
|
|
19
50
|
*/
|
|
20
51
|
export type RAMResourceShareAttributes = {
|
|
21
52
|
Arn: string;
|
|
22
|
-
Id: string;
|
|
23
53
|
};
|
|
24
54
|
/**
|
|
25
55
|
* Type definition for `AWS::RAM::ResourceShare.Tag`.
|
|
56
|
+
* A key-value pair to associate with a resource.
|
|
26
57
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ram-resourceshare-tag.html}
|
|
27
58
|
*/
|
|
28
59
|
export type Tag = {
|
|
60
|
+
/**
|
|
61
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
62
|
+
*/
|
|
29
63
|
Key: string;
|
|
64
|
+
/**
|
|
65
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
66
|
+
*/
|
|
30
67
|
Value: string;
|
|
31
68
|
};
|
|
32
69
|
/**
|
|
33
|
-
* Resource
|
|
70
|
+
* Resource type definition for AWS::RAM::ResourceShare
|
|
34
71
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html}
|
|
35
72
|
*/
|
|
36
73
|
export declare class RAMResourceShare extends $Resource<"AWS::RAM::ResourceShare", RAMResourceShareProperties, RAMResourceShareAttributes> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
3
|
+
* Resource type definition for AWS::RAM::ResourceShare
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html}
|
|
5
5
|
*/
|
|
6
6
|
export class RAMResourceShare extends $Resource {
|
|
@@ -10,21 +10,21 @@ export type S3ExpressDirectoryBucketProperties = {
|
|
|
10
10
|
*/
|
|
11
11
|
BucketEncryption?: BucketEncryption;
|
|
12
12
|
/**
|
|
13
|
-
* Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone. The bucket name must also follow the format 'bucket_base_name--
|
|
13
|
+
* Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone or Local Zone. The bucket name must also follow the format 'bucket_base_name--zone_id--x-s3'. The zone_id can be the ID of an Availability Zone or a Local Zone. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
|
|
14
14
|
* @maxLength `63`
|
|
15
15
|
* @pattern `^[a-z0-9][a-z0-9//.//-]*[a-z0-9]$`
|
|
16
16
|
*/
|
|
17
17
|
BucketName?: string;
|
|
18
18
|
/**
|
|
19
|
-
* Specifies the number of Availability Zone that's used for redundancy for the bucket.
|
|
19
|
+
* Specifies the number of Availability Zone or Local Zone that's used for redundancy for the bucket.
|
|
20
20
|
*/
|
|
21
|
-
DataRedundancy: "SingleAvailabilityZone";
|
|
21
|
+
DataRedundancy: "SingleAvailabilityZone" | "SingleLocalZone";
|
|
22
22
|
/**
|
|
23
23
|
* Lifecycle rules that define how Amazon S3 Express manages objects during their lifetime.
|
|
24
24
|
*/
|
|
25
25
|
LifecycleConfiguration?: LifecycleConfiguration;
|
|
26
26
|
/**
|
|
27
|
-
* Specifies the
|
|
27
|
+
* Specifies the Zone ID of the Availability Zone or Local Zone where the directory bucket will be created. An example Availability Zone ID value is 'use1-az5'.
|
|
28
28
|
*/
|
|
29
29
|
LocationName: string;
|
|
30
30
|
};
|
|
@@ -38,7 +38,7 @@ export type S3ExpressDirectoryBucketAttributes = {
|
|
|
38
38
|
*/
|
|
39
39
|
Arn: string;
|
|
40
40
|
/**
|
|
41
|
-
* Returns the code for the Availability Zone where the directory bucket was created.
|
|
41
|
+
* Returns the code for the Availability Zone or Local Zone where the directory bucket was created. An example for the code of an Availability Zone is 'us-east-1f'.
|
|
42
42
|
*/
|
|
43
43
|
AvailabilityZoneName: string;
|
|
44
44
|
};
|
|
@@ -79,6 +79,7 @@ export type TransferServerAttributes = {
|
|
|
79
79
|
* @pattern `^s-([0-9a-f]{17})$`
|
|
80
80
|
*/
|
|
81
81
|
ServerId: string;
|
|
82
|
+
State: State;
|
|
82
83
|
};
|
|
83
84
|
/**
|
|
84
85
|
* Type definition for `AWS::Transfer::Server.As2Transport`.
|
|
@@ -195,6 +196,11 @@ export type SetStatOption = "DEFAULT" | "ENABLE_NO_OP";
|
|
|
195
196
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-sftpauthenticationmethods.html}
|
|
196
197
|
*/
|
|
197
198
|
export type SftpAuthenticationMethods = "PASSWORD" | "PUBLIC_KEY" | "PUBLIC_KEY_OR_PASSWORD" | "PUBLIC_KEY_AND_PASSWORD";
|
|
199
|
+
/**
|
|
200
|
+
* Type definition for `AWS::Transfer::Server.State`.
|
|
201
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-state.html}
|
|
202
|
+
*/
|
|
203
|
+
export type State = "OFFLINE" | "ONLINE" | "STARTING" | "STOPPING" | "START_FAILED" | "STOP_FAILED";
|
|
198
204
|
/**
|
|
199
205
|
* Type definition for `AWS::Transfer::Server.Tag`.
|
|
200
206
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-tag.html}
|