@awboost/cfn-resource-types 0.1.236 → 0.1.238
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-CodePipeline-Pipeline.d.ts +4 -0
- package/lib/AWS-EKS-Nodegroup.d.ts +4 -0
- package/lib/AWS-NotificationsContacts-EmailContact.d.ts +85 -0
- package/lib/AWS-NotificationsContacts-EmailContact.js +12 -0
- package/lib/AWS-RDS-DBShardGroup.d.ts +29 -17
- package/lib/AWS-RDS-DBShardGroup.js +3 -1
- package/lib/AWS-SecurityHub-AutomationRule.d.ts +8 -48
- package/lib/AWS-SecurityHub-FindingAggregator.d.ts +6 -8
- package/package.json +1 -1
|
@@ -392,6 +392,10 @@ export type PipelineTriggerDeclaration = {
|
|
|
392
392
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-ruledeclaration.html}
|
|
393
393
|
*/
|
|
394
394
|
export type RuleDeclaration = {
|
|
395
|
+
/**
|
|
396
|
+
* The shell commands to run with your compute action in CodePipeline.
|
|
397
|
+
*/
|
|
398
|
+
Commands?: string[];
|
|
395
399
|
/**
|
|
396
400
|
* The rule's configuration. These are key-value pairs that specify input values for a rule.
|
|
397
401
|
*/
|
|
@@ -186,6 +186,10 @@ export type UpdateConfig = {
|
|
|
186
186
|
* @max `100`
|
|
187
187
|
*/
|
|
188
188
|
MaxUnavailablePercentage?: number;
|
|
189
|
+
/**
|
|
190
|
+
* The configuration for the behavior to follow during an node group version update of this managed node group. You choose between two possible strategies for replacing nodes during an UpdateNodegroupVersion action.
|
|
191
|
+
*/
|
|
192
|
+
UpdateStrategy?: string;
|
|
189
193
|
};
|
|
190
194
|
/**
|
|
191
195
|
* Resource schema for AWS::EKS::Nodegroup
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Definition of AWS::NotificationsContacts::EmailContact Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notificationscontacts-emailcontact.html}
|
|
6
|
+
*/
|
|
7
|
+
export type NotificationsContactsEmailContactProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* @minLength `6`
|
|
10
|
+
* @maxLength `254`
|
|
11
|
+
* @pattern `^(.+)@(.+)$`
|
|
12
|
+
*/
|
|
13
|
+
EmailAddress: string;
|
|
14
|
+
/**
|
|
15
|
+
* @minLength `1`
|
|
16
|
+
* @maxLength `64`
|
|
17
|
+
* @pattern `[\w-.~]+`
|
|
18
|
+
*/
|
|
19
|
+
Name: string;
|
|
20
|
+
/**
|
|
21
|
+
* A list of tags that are attached to the role.
|
|
22
|
+
*/
|
|
23
|
+
Tags?: Tag[];
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Attribute type definition for `AWS::NotificationsContacts::EmailContact`.
|
|
27
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notificationscontacts-emailcontact.html#aws-resource-notificationscontacts-emailcontact-return-values}
|
|
28
|
+
*/
|
|
29
|
+
export type NotificationsContactsEmailContactAttributes = {
|
|
30
|
+
/**
|
|
31
|
+
* @pattern `^arn:aws:notifications-contacts::[0-9]{12}:emailcontact/[a-z0-9]{27}$`
|
|
32
|
+
*/
|
|
33
|
+
Arn: string;
|
|
34
|
+
EmailContact: {
|
|
35
|
+
/**
|
|
36
|
+
* @minLength `6`
|
|
37
|
+
* @maxLength `254`
|
|
38
|
+
* @pattern `^(.+)@(.+)$`
|
|
39
|
+
*/
|
|
40
|
+
Address: string;
|
|
41
|
+
/**
|
|
42
|
+
* @pattern `^arn:aws:notifications-contacts::[0-9]{12}:emailcontact/[a-z0-9]{27}$`
|
|
43
|
+
*/
|
|
44
|
+
Arn: string;
|
|
45
|
+
CreationTime: string;
|
|
46
|
+
/**
|
|
47
|
+
* @minLength `1`
|
|
48
|
+
* @maxLength `64`
|
|
49
|
+
* @pattern `[\w-.~]+`
|
|
50
|
+
*/
|
|
51
|
+
Name: string;
|
|
52
|
+
Status: EmailContactStatus;
|
|
53
|
+
UpdateTime: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Type definition for `AWS::NotificationsContacts::EmailContact.EmailContactStatus`.
|
|
58
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-emailcontactstatus.html}
|
|
59
|
+
*/
|
|
60
|
+
export type EmailContactStatus = "inactive" | "active";
|
|
61
|
+
/**
|
|
62
|
+
* Type definition for `AWS::NotificationsContacts::EmailContact.Tag`.
|
|
63
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-notificationscontacts-emailcontact-tag.html}
|
|
64
|
+
*/
|
|
65
|
+
export type Tag = {
|
|
66
|
+
/**
|
|
67
|
+
* @minLength `1`
|
|
68
|
+
* @maxLength `128`
|
|
69
|
+
*/
|
|
70
|
+
Key: string;
|
|
71
|
+
/**
|
|
72
|
+
* @minLength `0`
|
|
73
|
+
* @maxLength `256`
|
|
74
|
+
*/
|
|
75
|
+
Value: string;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Definition of AWS::NotificationsContacts::EmailContact Resource Type
|
|
79
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notificationscontacts-emailcontact.html}
|
|
80
|
+
*/
|
|
81
|
+
export declare class NotificationsContactsEmailContact extends $Resource<"AWS::NotificationsContacts::EmailContact", NotificationsContactsEmailContactProperties, NotificationsContactsEmailContactAttributes> {
|
|
82
|
+
static readonly Type = "AWS::NotificationsContacts::EmailContact";
|
|
83
|
+
constructor(logicalId: string, properties: NotificationsContactsEmailContactProperties, options?: $ResourceOptions);
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=AWS-NotificationsContacts-EmailContact.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Definition of AWS::NotificationsContacts::EmailContact Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notificationscontacts-emailcontact.html}
|
|
5
|
+
*/
|
|
6
|
+
export class NotificationsContactsEmailContact extends $Resource {
|
|
7
|
+
static Type = "AWS::NotificationsContacts::EmailContact";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, NotificationsContactsEmailContact.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-NotificationsContacts-EmailContact.js.map
|
|
@@ -1,14 +1,19 @@
|
|
|
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::RDS::DBShardGroup`.
|
|
5
|
+
* Creates a new DB shard group for Aurora Limitless Database. You must enable Aurora Limitless Database to create a DB shard group.
|
|
6
|
+
Valid for: Aurora DB clusters only
|
|
5
7
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html}
|
|
6
8
|
*/
|
|
7
9
|
export type RDSDBShardGroupProperties = {
|
|
8
10
|
/**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
* Specifies whether to create standby DB shard groups for the DB shard group. Valid values are the following:
|
|
12
|
+
+ 0 - Creates a DB shard group without a standby DB shard group. This is the default value.
|
|
13
|
+
+ 1 - Creates a DB shard group with a standby DB shard group in a different Availability Zone (AZ).
|
|
14
|
+
+ 2 - Creates a DB shard group with two standby DB shard groups in two different AZs.
|
|
15
|
+
* @min `0`
|
|
16
|
+
*/
|
|
12
17
|
ComputeRedundancy?: number;
|
|
13
18
|
/**
|
|
14
19
|
* The name of the primary DB cluster for the DB shard group.
|
|
@@ -31,11 +36,21 @@ export type RDSDBShardGroupProperties = {
|
|
|
31
36
|
*/
|
|
32
37
|
MinACU?: number;
|
|
33
38
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
39
|
+
* Specifies whether the DB shard group is publicly accessible.
|
|
40
|
+
When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB shard group's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB shard group's VPC. Access to the DB shard group is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB shard group doesn't permit it.
|
|
41
|
+
When the DB shard group isn't publicly accessible, it is an internal DB shard group with a DNS name that resolves to a private IP address.
|
|
42
|
+
Default: The default behavior varies depending on whether ``DBSubnetGroupName`` is specified.
|
|
43
|
+
If ``DBSubnetGroupName`` isn't specified, and ``PubliclyAccessible`` isn't specified, the following applies:
|
|
44
|
+
+ If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB shard group is private.
|
|
45
|
+
+ If the default VPC in the target Region has an internet gateway attached to it, the DB shard group is public.
|
|
46
|
+
|
|
47
|
+
If ``DBSubnetGroupName`` is specified, and ``PubliclyAccessible`` isn't specified, the following applies:
|
|
48
|
+
+ If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB shard group is private.
|
|
49
|
+
+ If the subnets are part of a VPC that has an internet gateway attached to it, the DB shard group is public.
|
|
50
|
+
*/
|
|
36
51
|
PubliclyAccessible?: boolean;
|
|
37
52
|
/**
|
|
38
|
-
* An
|
|
53
|
+
* An optional set of key-value pairs to associate arbitrary data of your choosing with the DB shard group.
|
|
39
54
|
* @maxLength `50`
|
|
40
55
|
*/
|
|
41
56
|
Tags?: Tag[];
|
|
@@ -45,36 +60,33 @@ export type RDSDBShardGroupProperties = {
|
|
|
45
60
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html#aws-resource-rds-dbshardgroup-return-values}
|
|
46
61
|
*/
|
|
47
62
|
export type RDSDBShardGroupAttributes = {
|
|
48
|
-
/**
|
|
49
|
-
* The Amazon Web Services Region-unique, immutable identifier for the DB shard group.
|
|
50
|
-
*/
|
|
51
63
|
DBShardGroupResourceId: string;
|
|
52
|
-
/**
|
|
53
|
-
* The connection endpoint for the DB shard group.
|
|
54
|
-
*/
|
|
55
64
|
Endpoint: string;
|
|
56
65
|
};
|
|
57
66
|
/**
|
|
58
67
|
* Type definition for `AWS::RDS::DBShardGroup.Tag`.
|
|
59
|
-
*
|
|
68
|
+
* Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
|
|
69
|
+
For more information, see [Tagging Amazon RDS resources](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html) in the *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS resources](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html) in the *Amazon Aurora User Guide*.
|
|
60
70
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbshardgroup-tag.html}
|
|
61
71
|
*/
|
|
62
72
|
export type Tag = {
|
|
63
73
|
/**
|
|
64
|
-
*
|
|
74
|
+
* A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with ``aws:`` or ``rds:``. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").
|
|
65
75
|
* @minLength `1`
|
|
66
76
|
* @maxLength `128`
|
|
67
77
|
*/
|
|
68
78
|
Key: string;
|
|
69
79
|
/**
|
|
70
|
-
*
|
|
80
|
+
* A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with ``aws:`` or ``rds:``. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").
|
|
71
81
|
* @minLength `0`
|
|
72
82
|
* @maxLength `256`
|
|
73
83
|
*/
|
|
74
84
|
Value?: string;
|
|
75
85
|
};
|
|
76
86
|
/**
|
|
77
|
-
*
|
|
87
|
+
* Resource type definition for `AWS::RDS::DBShardGroup`.
|
|
88
|
+
* Creates a new DB shard group for Aurora Limitless Database. You must enable Aurora Limitless Database to create a DB shard group.
|
|
89
|
+
Valid for: Aurora DB clusters only
|
|
78
90
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html}
|
|
79
91
|
*/
|
|
80
92
|
export declare class RDSDBShardGroup extends $Resource<"AWS::RDS::DBShardGroup", RDSDBShardGroupProperties, RDSDBShardGroupAttributes> {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Resource type definition for `AWS::RDS::DBShardGroup`.
|
|
4
|
+
* Creates a new DB shard group for Aurora Limitless Database. You must enable Aurora Limitless Database to create a DB shard group.
|
|
5
|
+
Valid for: Aurora DB clusters only
|
|
4
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbshardgroup.html}
|
|
5
7
|
*/
|
|
6
8
|
export class RDSDBShardGroup extends $Resource {
|
|
@@ -186,13 +186,7 @@ export type AutomationRulesFindingFilters = {
|
|
|
186
186
|
Confidence?: NumberFilter[];
|
|
187
187
|
/**
|
|
188
188
|
* A timestamp that indicates when this finding record was created.
|
|
189
|
-
|
|
190
|
-
+ ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``)
|
|
191
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``)
|
|
192
|
-
+ ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``)
|
|
193
|
-
+ ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``)
|
|
194
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``)
|
|
195
|
-
|
|
189
|
+
For more information about the validation and formatting of timestamp fields in ASHlong, see [Timestamps](https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps).
|
|
196
190
|
Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
|
197
191
|
* @maxLength `20`
|
|
198
192
|
*/
|
|
@@ -211,13 +205,7 @@ export type AutomationRulesFindingFilters = {
|
|
|
211
205
|
Description?: StringFilter[];
|
|
212
206
|
/**
|
|
213
207
|
* A timestamp that indicates when the potential security issue captured by a finding was first observed by the security findings product.
|
|
214
|
-
|
|
215
|
-
+ ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``)
|
|
216
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``)
|
|
217
|
-
+ ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``)
|
|
218
|
-
+ ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``)
|
|
219
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``)
|
|
220
|
-
|
|
208
|
+
For more information about the validation and formatting of timestamp fields in ASHlong, see [Timestamps](https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps).
|
|
221
209
|
Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
|
222
210
|
* @maxLength `20`
|
|
223
211
|
*/
|
|
@@ -235,14 +223,8 @@ export type AutomationRulesFindingFilters = {
|
|
|
235
223
|
*/
|
|
236
224
|
Id?: StringFilter[];
|
|
237
225
|
/**
|
|
238
|
-
* A timestamp that indicates when the
|
|
239
|
-
|
|
240
|
-
+ ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``)
|
|
241
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``)
|
|
242
|
-
+ ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``)
|
|
243
|
-
+ ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``)
|
|
244
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``)
|
|
245
|
-
|
|
226
|
+
* A timestamp that indicates when the security findings provider most recently observed a change in the resource that is involved in the finding.
|
|
227
|
+
For more information about the validation and formatting of timestamp fields in ASHlong, see [Timestamps](https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps).
|
|
246
228
|
Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
|
247
229
|
* @maxLength `20`
|
|
248
230
|
*/
|
|
@@ -255,13 +237,7 @@ export type AutomationRulesFindingFilters = {
|
|
|
255
237
|
NoteText?: StringFilter[];
|
|
256
238
|
/**
|
|
257
239
|
* The timestamp of when the note was updated.
|
|
258
|
-
|
|
259
|
-
+ ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``)
|
|
260
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``)
|
|
261
|
-
+ ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``)
|
|
262
|
-
+ ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``)
|
|
263
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``)
|
|
264
|
-
|
|
240
|
+
For more information about the validation and formatting of timestamp fields in ASHlong, see [Timestamps](https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps).
|
|
265
241
|
Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
|
266
242
|
* @maxLength `20`
|
|
267
243
|
*/
|
|
@@ -364,13 +340,7 @@ export type AutomationRulesFindingFilters = {
|
|
|
364
340
|
Type?: StringFilter[];
|
|
365
341
|
/**
|
|
366
342
|
* A timestamp that indicates when the finding record was most recently updated.
|
|
367
|
-
|
|
368
|
-
+ ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``)
|
|
369
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``)
|
|
370
|
-
+ ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``)
|
|
371
|
-
+ ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``)
|
|
372
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``)
|
|
373
|
-
|
|
343
|
+
For more information about the validation and formatting of timestamp fields in ASHlong, see [Timestamps](https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps).
|
|
374
344
|
Array Members: Minimum number of 1 item. Maximum number of 20 items.
|
|
375
345
|
* @maxLength `20`
|
|
376
346
|
*/
|
|
@@ -406,23 +376,13 @@ export type DateFilter = {
|
|
|
406
376
|
DateRange?: DateRange;
|
|
407
377
|
/**
|
|
408
378
|
* A timestamp that provides the end date for the date filter.
|
|
409
|
-
|
|
410
|
-
+ ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``)
|
|
411
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``)
|
|
412
|
-
+ ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``)
|
|
413
|
-
+ ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``)
|
|
414
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``)
|
|
379
|
+
For more information about the validation and formatting of timestamp fields in ASHlong, see [Timestamps](https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps).
|
|
415
380
|
* @pattern `^(\d\d\d\d)-([0][1-9]|[1][0-2])-([0][1-9]|[1-2](\d)|[3][0-1])[T](?:([0-1](\d)|[2][0-3]):[0-5](\d):[0-5](\d)|23:59:60)(?:\.(\d)+)?([Z]|[+-](\d\d)(:?(\d\d))?)$`
|
|
416
381
|
*/
|
|
417
382
|
End?: string;
|
|
418
383
|
/**
|
|
419
384
|
* A timestamp that provides the start date for the date filter.
|
|
420
|
-
|
|
421
|
-
+ ``YYYY-MM-DDTHH:MM:SSZ`` (for example, ``2019-01-31T23:00:00Z``)
|
|
422
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ`` (for example, ``2019-01-31T23:00:00.123456789Z``)
|
|
423
|
-
+ ``YYYY-MM-DDTHH:MM:SS+HH:MM`` (for example, ``2024-01-04T15:25:10+17:59``)
|
|
424
|
-
+ ``YYYY-MM-DDTHH:MM:SS-HHMM`` (for example, ``2024-01-04T15:25:10-1759``)
|
|
425
|
-
+ ``YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM`` (for example, ``2024-01-04T15:25:10.123456789+17:59``)
|
|
385
|
+
For more information about the validation and formatting of timestamp fields in ASHlong, see [Timestamps](https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps).
|
|
426
386
|
* @pattern `^(\d\d\d\d)-([0][1-9]|[1][0-2])-([0][1-9]|[1-2](\d)|[3][0-1])[T](?:([0-1](\d)|[2][0-3]):[0-5](\d):[0-5](\d)|23:59:60)(?:\.(\d)+)?([Z]|[+-](\d\d)(:?(\d\d))?)$`
|
|
427
387
|
*/
|
|
428
388
|
Start?: string;
|
|
@@ -10,17 +10,15 @@ export type SecurityHubFindingAggregatorProperties = {
|
|
|
10
10
|
/**
|
|
11
11
|
* Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them.
|
|
12
12
|
The selected option also determines how to use the Regions provided in the Regions list.
|
|
13
|
-
|
|
14
|
-
+ ``ALL_REGIONS`` -
|
|
15
|
-
+ ``ALL_REGIONS_EXCEPT_SPECIFIED`` -
|
|
16
|
-
+ ``SPECIFIED_REGIONS`` -
|
|
17
|
-
+ ``NO_REGIONS`` - Aggregates no data because no Regions are selected as linked Regions.
|
|
13
|
+
In CFN, the options for this property are as follows:
|
|
14
|
+
+ ``ALL_REGIONS`` - Indicates to aggregate findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them.
|
|
15
|
+
+ ``ALL_REGIONS_EXCEPT_SPECIFIED`` - Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in the ``Regions`` parameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them.
|
|
16
|
+
+ ``SPECIFIED_REGIONS`` - Indicates to aggregate findings only from the Regions listed in the ``Regions`` parameter. Security Hub does not automatically aggregate findings from new Regions.
|
|
18
17
|
*/
|
|
19
18
|
RegionLinkingMode: "ALL_REGIONS" | "ALL_REGIONS_EXCEPT_SPECIFIED" | "SPECIFIED_REGIONS";
|
|
20
19
|
/**
|
|
21
|
-
* If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED``, then this is a space-separated list of Regions that
|
|
22
|
-
If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS``, then this is a space-separated list of Regions that do
|
|
23
|
-
An ``InvalidInputException`` error results if you populate this field while ``RegionLinkingMode`` is ``NO_REGIONS``.
|
|
20
|
+
* If ``RegionLinkingMode`` is ``ALL_REGIONS_EXCEPT_SPECIFIED``, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.
|
|
21
|
+
If ``RegionLinkingMode`` is ``SPECIFIED_REGIONS``, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.
|
|
24
22
|
* @minLength `1`
|
|
25
23
|
* @maxLength `50`
|
|
26
24
|
*/
|