@awboost/cfn-resource-types 0.1.334 → 0.1.335
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-AutoScaling-AutoScalingGroup.d.ts +60 -1
- package/lib/AWS-DataSync-StorageSystem.d.ts +5 -79
- package/lib/AWS-DataSync-StorageSystem.js +1 -1
- package/lib/AWS-ECR-RegistryScanningConfiguration.d.ts +9 -7
- package/lib/AWS-ECR-RegistryScanningConfiguration.js +2 -1
- package/lib/AWS-Logs-Transformer.d.ts +3 -3
- package/lib/AWS-SSM-Document.d.ts +1 -1
- package/package.json +1 -1
|
@@ -30,6 +30,9 @@ export type AutoScalingAutoScalingGroupProperties = {
|
|
|
30
30
|
* Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see [Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html) in the in the *Amazon EC2 Auto Scaling User Guide*.
|
|
31
31
|
*/
|
|
32
32
|
CapacityRebalance?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* The capacity reservation specification.
|
|
35
|
+
*/
|
|
33
36
|
CapacityReservationSpecification?: CapacityReservationSpecification;
|
|
34
37
|
/**
|
|
35
38
|
* Reserved.
|
|
@@ -173,6 +176,13 @@ export type AutoScalingAutoScalingGroupProperties = {
|
|
|
173
176
|
*/
|
|
174
177
|
VPCZoneIdentifier?: string[];
|
|
175
178
|
};
|
|
179
|
+
/**
|
|
180
|
+
* Attribute type definition for `AWS::AutoScaling::AutoScalingGroup`.
|
|
181
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html#aws-resource-autoscaling-autoscalinggroup-return-values}
|
|
182
|
+
*/
|
|
183
|
+
export type AutoScalingAutoScalingGroupAttributes = {
|
|
184
|
+
AutoScalingGroupARN: string;
|
|
185
|
+
};
|
|
176
186
|
/**
|
|
177
187
|
* Type definition for `AWS::AutoScaling::AutoScalingGroup.AcceleratorCountRequest`.
|
|
178
188
|
* ``AcceleratorCountRequest`` is a property of the ``InstanceRequirements`` property of the [AWS::AutoScaling::AutoScalingGroup LaunchTemplateOverrides](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-launchtemplateoverrides.html) property type that describes the minimum and maximum number of accelerators for an instance type.
|
|
@@ -248,32 +258,60 @@ export type BaselineEbsBandwidthMbpsRequest = {
|
|
|
248
258
|
};
|
|
249
259
|
/**
|
|
250
260
|
* Type definition for `AWS::AutoScaling::AutoScalingGroup.BaselinePerformanceFactorsRequest`.
|
|
261
|
+
* The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Auto Scaling uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application.
|
|
262
|
+
Currently, this parameter only supports CPU performance as a baseline performance factor. For example, specifying ``c6i`` uses the CPU performance of the ``c6i`` family as the baseline reference.
|
|
251
263
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-baselineperformancefactorsrequest.html}
|
|
252
264
|
*/
|
|
253
265
|
export type BaselinePerformanceFactorsRequest = {
|
|
266
|
+
/**
|
|
267
|
+
* The CPU performance to consider, using an instance family as the baseline reference.
|
|
268
|
+
*/
|
|
254
269
|
Cpu?: CpuPerformanceFactorRequest;
|
|
255
270
|
};
|
|
256
271
|
/**
|
|
257
272
|
* Type definition for `AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification`.
|
|
273
|
+
* Describes the Capacity Reservation preference and targeting options. If you specify ``open`` or ``none`` for ``CapacityReservationPreference``, do not specify a ``CapacityReservationTarget``.
|
|
258
274
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationspecification.html}
|
|
259
275
|
*/
|
|
260
276
|
export type CapacityReservationSpecification = {
|
|
277
|
+
/**
|
|
278
|
+
* The capacity reservation preference. The following options are available:
|
|
279
|
+
+ ``capacity-reservations-only`` - Auto Scaling will only launch instances into a Capacity Reservation or Capacity Reservation resource group. If capacity isn't available, instances will fail to launch.
|
|
280
|
+
+ ``capacity-reservations-first`` - Auto Scaling will try to launch instances into a Capacity Reservation or Capacity Reservation resource group first. If capacity isn't available, instances will run in On-Demand capacity.
|
|
281
|
+
+ ``none`` - Auto Scaling will not launch instances into a Capacity Reservation. Instances will run in On-Demand capacity.
|
|
282
|
+
+ ``default`` - Auto Scaling uses the Capacity Reservation preference from your launch template or an open Capacity Reservation.
|
|
283
|
+
*/
|
|
261
284
|
CapacityReservationPreference: string;
|
|
285
|
+
/**
|
|
286
|
+
* Describes a target Capacity Reservation or Capacity Reservation resource group.
|
|
287
|
+
*/
|
|
262
288
|
CapacityReservationTarget?: CapacityReservationTarget;
|
|
263
289
|
};
|
|
264
290
|
/**
|
|
265
291
|
* Type definition for `AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget`.
|
|
292
|
+
* The target for the Capacity Reservation. Specify Capacity Reservations IDs or Capacity Reservation resource group ARNs.
|
|
266
293
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationtarget.html}
|
|
267
294
|
*/
|
|
268
295
|
export type CapacityReservationTarget = {
|
|
296
|
+
/**
|
|
297
|
+
* The Capacity Reservation IDs to launch instances into.
|
|
298
|
+
*/
|
|
269
299
|
CapacityReservationIds?: string[];
|
|
300
|
+
/**
|
|
301
|
+
* The resource group ARNs of the Capacity Reservation to launch instances into.
|
|
302
|
+
*/
|
|
270
303
|
CapacityReservationResourceGroupArns?: string[];
|
|
271
304
|
};
|
|
272
305
|
/**
|
|
273
306
|
* Type definition for `AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest`.
|
|
307
|
+
* The CPU performance to consider, using an instance family as the baseline reference.
|
|
274
308
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-cpuperformancefactorrequest.html}
|
|
275
309
|
*/
|
|
276
310
|
export type CpuPerformanceFactorRequest = {
|
|
311
|
+
/**
|
|
312
|
+
* Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
|
|
313
|
+
Currently only one instance family can be specified in the list.
|
|
314
|
+
*/
|
|
277
315
|
References?: PerformanceFactorReferenceRequest[];
|
|
278
316
|
};
|
|
279
317
|
/**
|
|
@@ -369,6 +407,9 @@ export type InstanceRequirements = {
|
|
|
369
407
|
Default: No minimum or maximum limits
|
|
370
408
|
*/
|
|
371
409
|
BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest;
|
|
410
|
+
/**
|
|
411
|
+
* The baseline performance factors for the instance requirements.
|
|
412
|
+
*/
|
|
372
413
|
BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest;
|
|
373
414
|
/**
|
|
374
415
|
* Indicates whether burstable performance instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) in the *Amazon EC2 User Guide for Linux Instances*.
|
|
@@ -784,9 +825,27 @@ export type NotificationConfiguration = {
|
|
|
784
825
|
};
|
|
785
826
|
/**
|
|
786
827
|
* Type definition for `AWS::AutoScaling::AutoScalingGroup.PerformanceFactorReferenceRequest`.
|
|
828
|
+
* Specify an instance family to use as the baseline reference for CPU performance. All instance types that All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences.
|
|
829
|
+
Currently only one instance family can be specified in the list.
|
|
787
830
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-performancefactorreferencerequest.html}
|
|
788
831
|
*/
|
|
789
832
|
export type PerformanceFactorReferenceRequest = {
|
|
833
|
+
/**
|
|
834
|
+
* The instance family to use as a baseline reference.
|
|
835
|
+
Make sure that you specify the correct value for the instance family. The instance family is everything before the period (.) in the instance type name. For example, in the instance ``c6i.large``, the instance family is ``c6i``, not ``c6``. For more information, see [Amazon EC2 instance type naming conventions](https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html) in *Amazon EC2 Instance Types*.
|
|
836
|
+
The following instance types are *not supported* for performance protection.
|
|
837
|
+
+ ``c1``
|
|
838
|
+
+ ``g3| g3s``
|
|
839
|
+
+ ``hpc7g``
|
|
840
|
+
+ ``m1| m2``
|
|
841
|
+
+ ``mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro``
|
|
842
|
+
+ ``p3dn | p4d | p5``
|
|
843
|
+
+ ``t1``
|
|
844
|
+
+ ``u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb``
|
|
845
|
+
|
|
846
|
+
If you performance protection by specifying a supported instance family, the returned instance types will exclude the preceding unsupported instance families.
|
|
847
|
+
If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response.
|
|
848
|
+
*/
|
|
790
849
|
InstanceFamily?: string;
|
|
791
850
|
};
|
|
792
851
|
/**
|
|
@@ -879,7 +938,7 @@ export type VCpuCountRequest = {
|
|
|
879
938
|
For help migrating from launch configurations to launch templates, see [Migrate CloudFormation stacks from launch configurations to launch templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/migrate-launch-configurations-with-cloudformation.html) in the *Amazon EC2 Auto Scaling User Guide*.
|
|
880
939
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-autoscalinggroup.html}
|
|
881
940
|
*/
|
|
882
|
-
export declare class AutoScalingAutoScalingGroup extends $Resource<"AWS::AutoScaling::AutoScalingGroup", AutoScalingAutoScalingGroupProperties,
|
|
941
|
+
export declare class AutoScalingAutoScalingGroup extends $Resource<"AWS::AutoScaling::AutoScalingGroup", AutoScalingAutoScalingGroupProperties, AutoScalingAutoScalingGroupAttributes> {
|
|
883
942
|
static readonly Type = "AWS::AutoScaling::AutoScalingGroup";
|
|
884
943
|
constructor(logicalId: string, properties: AutoScalingAutoScalingGroupProperties, options?: $ResourceOptions);
|
|
885
944
|
}
|
|
@@ -1,45 +1,16 @@
|
|
|
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::DataSync::StorageSystem
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-storagesystem.html}
|
|
6
6
|
*/
|
|
7
7
|
export type DataSyncStorageSystemProperties = {
|
|
8
|
-
/**
|
|
9
|
-
* The ARN of the DataSync agent that connects to and reads from the on-premises storage system's management interface.
|
|
10
|
-
* @minLength `1`
|
|
11
|
-
* @maxLength `1`
|
|
12
|
-
*/
|
|
13
8
|
AgentArns: string[];
|
|
14
|
-
/**
|
|
15
|
-
* The ARN of the Amazon CloudWatch log group used to monitor and log discovery job events.
|
|
16
|
-
* @maxLength `562`
|
|
17
|
-
* @pattern `^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):logs:[a-z\-0-9]+:[0-9]{12}:log-group:([^:\*]*)(:\*)?$`
|
|
18
|
-
*/
|
|
19
9
|
CloudWatchLogGroupArn?: string;
|
|
20
|
-
/**
|
|
21
|
-
* A familiar name for the on-premises storage system.
|
|
22
|
-
* @minLength `1`
|
|
23
|
-
* @maxLength `256`
|
|
24
|
-
* @pattern `^[a-zA-Z0-9\s+=._:@/-]+$`
|
|
25
|
-
*/
|
|
26
10
|
Name?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The server name and network port required to connect with the management interface of the on-premises storage system.
|
|
29
|
-
*/
|
|
30
11
|
ServerConfiguration: ServerConfiguration;
|
|
31
|
-
/**
|
|
32
|
-
* The username and password for accessing your on-premises storage system's management interface.
|
|
33
|
-
*/
|
|
34
12
|
ServerCredentials?: ServerCredentials;
|
|
35
|
-
|
|
36
|
-
* The type of on-premises storage system that DataSync Discovery will analyze.
|
|
37
|
-
*/
|
|
38
|
-
SystemType: "NetAppONTAP";
|
|
39
|
-
/**
|
|
40
|
-
* An array of key-value pairs to apply to this resource.
|
|
41
|
-
* @maxLength `50`
|
|
42
|
-
*/
|
|
13
|
+
SystemType: string;
|
|
43
14
|
Tags?: Tag[];
|
|
44
15
|
};
|
|
45
16
|
/**
|
|
@@ -47,82 +18,37 @@ export type DataSyncStorageSystemProperties = {
|
|
|
47
18
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-storagesystem.html#aws-resource-datasync-storagesystem-return-values}
|
|
48
19
|
*/
|
|
49
20
|
export type DataSyncStorageSystemAttributes = {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
*/
|
|
53
|
-
ConnectivityStatus: "PASS" | "FAIL" | "UNKNOWN";
|
|
54
|
-
/**
|
|
55
|
-
* The ARN of a secret stored by AWS Secrets Manager.
|
|
56
|
-
* @maxLength `2048`
|
|
57
|
-
* @pattern `^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):secretsmanager:[a-z\-0-9]+:[0-9]{12}:secret:.*`
|
|
58
|
-
*/
|
|
21
|
+
ConnectivityStatus: string;
|
|
22
|
+
Id: string;
|
|
59
23
|
SecretsManagerArn: string;
|
|
60
|
-
/**
|
|
61
|
-
* The ARN of the on-premises storage system added to DataSync Discovery.
|
|
62
|
-
* @maxLength `128`
|
|
63
|
-
* @pattern `^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):datasync:[a-z\-0-9]+:[0-9]{12}:system/storage-system-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
|
|
64
|
-
*/
|
|
65
24
|
StorageSystemArn: string;
|
|
66
25
|
};
|
|
67
26
|
/**
|
|
68
27
|
* Type definition for `AWS::DataSync::StorageSystem.ServerConfiguration`.
|
|
69
|
-
* The server name and network port required to connect with the management interface of the on-premises storage system.
|
|
70
28
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-storagesystem-serverconfiguration.html}
|
|
71
29
|
*/
|
|
72
30
|
export type ServerConfiguration = {
|
|
73
|
-
/**
|
|
74
|
-
* The domain name or IP address of the storage system's management interface.
|
|
75
|
-
* @maxLength `255`
|
|
76
|
-
* @pattern `^(([a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9\-]*[A-Za-z0-9])$`
|
|
77
|
-
*/
|
|
78
31
|
ServerHostname: string;
|
|
79
|
-
/**
|
|
80
|
-
* The network port needed to access the system's management interface
|
|
81
|
-
* @min `1`
|
|
82
|
-
* @max `65535`
|
|
83
|
-
*/
|
|
84
32
|
ServerPort?: number;
|
|
85
33
|
};
|
|
86
34
|
/**
|
|
87
35
|
* Type definition for `AWS::DataSync::StorageSystem.ServerCredentials`.
|
|
88
|
-
* The username and password for accessing your on-premises storage system's management interface.
|
|
89
36
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-storagesystem-servercredentials.html}
|
|
90
37
|
*/
|
|
91
38
|
export type ServerCredentials = {
|
|
92
|
-
/**
|
|
93
|
-
* The password for your storage system's management interface
|
|
94
|
-
* @maxLength `1024`
|
|
95
|
-
*/
|
|
96
39
|
Password: string;
|
|
97
|
-
/**
|
|
98
|
-
* The username for your storage system's management interface.
|
|
99
|
-
* @maxLength `1024`
|
|
100
|
-
*/
|
|
101
40
|
Username: string;
|
|
102
41
|
};
|
|
103
42
|
/**
|
|
104
43
|
* Type definition for `AWS::DataSync::StorageSystem.Tag`.
|
|
105
|
-
* A key-value pair to associate with a resource.
|
|
106
44
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-storagesystem-tag.html}
|
|
107
45
|
*/
|
|
108
46
|
export type Tag = {
|
|
109
|
-
/**
|
|
110
|
-
* The key for an AWS resource tag.
|
|
111
|
-
* @minLength `1`
|
|
112
|
-
* @maxLength `256`
|
|
113
|
-
* @pattern `^[a-zA-Z0-9\s+=._:/-]+$`
|
|
114
|
-
*/
|
|
115
47
|
Key: string;
|
|
116
|
-
/**
|
|
117
|
-
* The value for an AWS resource tag.
|
|
118
|
-
* @minLength `1`
|
|
119
|
-
* @maxLength `256`
|
|
120
|
-
* @pattern `^[a-zA-Z0-9\s+=._:@/-]+$`
|
|
121
|
-
*/
|
|
122
48
|
Value: string;
|
|
123
49
|
};
|
|
124
50
|
/**
|
|
125
|
-
* Resource
|
|
51
|
+
* Resource Type definition for AWS::DataSync::StorageSystem
|
|
126
52
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-storagesystem.html}
|
|
127
53
|
*/
|
|
128
54
|
export declare class DataSyncStorageSystem extends $Resource<"AWS::DataSync::StorageSystem", DataSyncStorageSystemProperties, DataSyncStorageSystemAttributes> {
|
|
@@ -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::DataSync::StorageSystem
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datasync-storagesystem.html}
|
|
5
5
|
*/
|
|
6
6
|
export class DataSyncStorageSystem extends $Resource {
|
|
@@ -1,12 +1,13 @@
|
|
|
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
|
-
*
|
|
4
|
+
* Resource type definition for `AWS::ECR::RegistryScanningConfiguration`.
|
|
5
|
+
* The scanning configuration for a private registry.
|
|
5
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registryscanningconfiguration.html}
|
|
6
7
|
*/
|
|
7
8
|
export type ECRRegistryScanningConfigurationProperties = {
|
|
8
9
|
/**
|
|
9
|
-
* The scanning rules associated with the registry.
|
|
10
|
+
* The scanning rules associated with the registry.
|
|
10
11
|
* @minLength `0`
|
|
11
12
|
* @maxLength `2`
|
|
12
13
|
*/
|
|
@@ -35,7 +36,7 @@ export type ECRRegistryScanningConfigurationAttributes = {
|
|
|
35
36
|
export type FilterType = "WILDCARD";
|
|
36
37
|
/**
|
|
37
38
|
* Type definition for `AWS::ECR::RegistryScanningConfiguration.RepositoryFilter`.
|
|
38
|
-
* The
|
|
39
|
+
* The filter settings used with image replication. Specifying a repository filter to a replication rule provides a method for controlling which repositories in a private registry are replicated. If no filters are added, the contents of all repositories are replicated.
|
|
39
40
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-registryscanningconfiguration-repositoryfilter.html}
|
|
40
41
|
*/
|
|
41
42
|
export type RepositoryFilter = {
|
|
@@ -57,18 +58,18 @@ export type RepositoryFilter = {
|
|
|
57
58
|
export type ScanFrequency = "SCAN_ON_PUSH" | "CONTINUOUS_SCAN";
|
|
58
59
|
/**
|
|
59
60
|
* Type definition for `AWS::ECR::RegistryScanningConfiguration.ScanningRule`.
|
|
60
|
-
*
|
|
61
|
+
* The scanning rules associated with the registry.
|
|
61
62
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-registryscanningconfiguration-scanningrule.html}
|
|
62
63
|
*/
|
|
63
64
|
export type ScanningRule = {
|
|
64
65
|
/**
|
|
65
|
-
* The repository filters
|
|
66
|
+
* The details of a scanning repository filter. For more information on how to use filters, see [Using filters](https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html#image-scanning-filters) in the *Amazon Elastic Container Registry User Guide*.
|
|
66
67
|
* @minLength `0`
|
|
67
68
|
* @maxLength `100`
|
|
68
69
|
*/
|
|
69
70
|
RepositoryFilters: RepositoryFilter[];
|
|
70
71
|
/**
|
|
71
|
-
* The frequency that scans are performed.
|
|
72
|
+
* The frequency that scans are performed at for a private registry. When the ``ENHANCED`` scan type is specified, the supported scan frequencies are ``CONTINUOUS_SCAN`` and ``SCAN_ON_PUSH``. When the ``BASIC`` scan type is specified, the ``SCAN_ON_PUSH`` scan frequency is supported. If scan on push is not specified, then the ``MANUAL`` scan frequency is set by default.
|
|
72
73
|
*/
|
|
73
74
|
ScanFrequency: ScanFrequency;
|
|
74
75
|
};
|
|
@@ -79,7 +80,8 @@ export type ScanningRule = {
|
|
|
79
80
|
*/
|
|
80
81
|
export type ScanType = "BASIC" | "ENHANCED";
|
|
81
82
|
/**
|
|
82
|
-
*
|
|
83
|
+
* Resource type definition for `AWS::ECR::RegistryScanningConfiguration`.
|
|
84
|
+
* The scanning configuration for a private registry.
|
|
83
85
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registryscanningconfiguration.html}
|
|
84
86
|
*/
|
|
85
87
|
export declare class ECRRegistryScanningConfiguration extends $Resource<"AWS::ECR::RegistryScanningConfiguration", ECRRegistryScanningConfigurationProperties, ECRRegistryScanningConfigurationAttributes> {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Resource type definition for `AWS::ECR::RegistryScanningConfiguration`.
|
|
4
|
+
* The scanning configuration for a private registry.
|
|
4
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registryscanningconfiguration.html}
|
|
5
6
|
*/
|
|
6
7
|
export class ECRRegistryScanningConfiguration extends $Resource {
|
|
@@ -145,7 +145,7 @@ export type Processor = {
|
|
|
145
145
|
*/
|
|
146
146
|
Columns?: string[];
|
|
147
147
|
/**
|
|
148
|
-
* @maxLength `
|
|
148
|
+
* @maxLength `2`
|
|
149
149
|
*/
|
|
150
150
|
Delimiter?: string;
|
|
151
151
|
/**
|
|
@@ -183,7 +183,7 @@ export type Processor = {
|
|
|
183
183
|
};
|
|
184
184
|
Grok?: {
|
|
185
185
|
/**
|
|
186
|
-
* @maxLength `
|
|
186
|
+
* @maxLength `512`
|
|
187
187
|
*/
|
|
188
188
|
Match: string;
|
|
189
189
|
/**
|
|
@@ -324,7 +324,7 @@ export type RenameKeyEntry = {
|
|
|
324
324
|
*/
|
|
325
325
|
export type SplitStringEntry = {
|
|
326
326
|
/**
|
|
327
|
-
* @maxLength `
|
|
327
|
+
* @maxLength `128`
|
|
328
328
|
*/
|
|
329
329
|
Delimiter: string;
|
|
330
330
|
/**
|
|
@@ -22,7 +22,7 @@ export type SSMDocumentProperties = {
|
|
|
22
22
|
/**
|
|
23
23
|
* The type of document to create.
|
|
24
24
|
*/
|
|
25
|
-
DocumentType?: "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "Automation" | "Automation.ChangeTemplate" | "ChangeCalendar" | "CloudFormation" | "Command" | "DeploymentStrategy" | "Package" | "Policy" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "Session";
|
|
25
|
+
DocumentType?: "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "Automation" | "Automation.ChangeTemplate" | "AutoApprovalPolicy" | "ChangeCalendar" | "CloudFormation" | "Command" | "DeploymentStrategy" | "ManualApprovalPolicy" | "Package" | "Policy" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "Session";
|
|
26
26
|
/**
|
|
27
27
|
* A name for the Systems Manager document.
|
|
28
28
|
* @pattern `^[a-zA-Z0-9_\-.]{3,128}$`
|