@awboost/cfn-resource-types 0.1.286 → 0.1.288
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-ApiGatewayV2-DomainName.d.ts +1 -0
- package/lib/AWS-AppSync-DomainName.d.ts +29 -0
- package/lib/AWS-ApplicationSignals-ServiceLevelObjective.d.ts +66 -6
- package/lib/AWS-CloudFront-AnycastIpList.d.ts +70 -10
- package/lib/AWS-CloudFront-AnycastIpList.js +2 -1
- package/lib/AWS-CloudFront-Distribution.d.ts +19 -0
- package/lib/AWS-CloudFront-VpcOrigin.d.ts +35 -2
- package/lib/AWS-CloudFront-VpcOrigin.js +2 -1
- package/lib/AWS-EC2-CapacityReservation.d.ts +24 -0
- package/lib/AWS-EC2-VPCEndpointService.d.ts +4 -0
- package/lib/AWS-S3-Bucket.d.ts +18 -4
- package/lib/AWS-WAFv2-WebACL.d.ts +47 -0
- package/package.json +1 -1
|
@@ -28,6 +28,7 @@ export type ApiGatewayV2DomainNameProperties = {
|
|
|
28
28
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html#aws-resource-apigatewayv2-domainname-return-values}
|
|
29
29
|
*/
|
|
30
30
|
export type ApiGatewayV2DomainNameAttributes = {
|
|
31
|
+
DomainNameArn: string;
|
|
31
32
|
RegionalDomainName: string;
|
|
32
33
|
RegionalHostedZoneId: string;
|
|
33
34
|
};
|
|
@@ -22,6 +22,10 @@ export type AppSyncDomainNameProperties = {
|
|
|
22
22
|
* @pattern `^(\*[a-z\d-]*\.)?([a-z\d-]+\.)+[a-z\d-]+$`
|
|
23
23
|
*/
|
|
24
24
|
DomainName: string;
|
|
25
|
+
/**
|
|
26
|
+
* An arbitrary set of tags (key-value pairs) for this Domain Name.
|
|
27
|
+
*/
|
|
28
|
+
Tags?: Tag[];
|
|
25
29
|
};
|
|
26
30
|
/**
|
|
27
31
|
* Attribute type definition for `AWS::AppSync::DomainName`.
|
|
@@ -29,8 +33,33 @@ export type AppSyncDomainNameProperties = {
|
|
|
29
33
|
*/
|
|
30
34
|
export type AppSyncDomainNameAttributes = {
|
|
31
35
|
AppSyncDomainName: string;
|
|
36
|
+
/**
|
|
37
|
+
* The Amazon Resource Name (ARN) for the Domain Name.
|
|
38
|
+
*/
|
|
39
|
+
DomainNameArn: string;
|
|
32
40
|
HostedZoneId: string;
|
|
33
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* Type definition for `AWS::AppSync::DomainName.Tag`.
|
|
44
|
+
* An arbitrary set of tags (key-value pairs) for this Domain Name.
|
|
45
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-domainname-tag.html}
|
|
46
|
+
*/
|
|
47
|
+
export type Tag = {
|
|
48
|
+
/**
|
|
49
|
+
* A string used to identify this 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 -.
|
|
50
|
+
* @minLength `1`
|
|
51
|
+
* @maxLength `128`
|
|
52
|
+
* @pattern `^(?!aws:)[ a-zA-Z+-=._:/]+$`
|
|
53
|
+
*/
|
|
54
|
+
Key: string;
|
|
55
|
+
/**
|
|
56
|
+
* A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
|
|
57
|
+
* @minLength `0`
|
|
58
|
+
* @maxLength `256`
|
|
59
|
+
* @pattern `^[\s\w+-=\.:/@]*$`
|
|
60
|
+
*/
|
|
61
|
+
Value: string;
|
|
62
|
+
};
|
|
34
63
|
/**
|
|
35
64
|
* Resource Type definition for AWS::AppSync::DomainName
|
|
36
65
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-domainname.html}
|
|
@@ -17,6 +17,12 @@ export type ApplicationSignalsServiceLevelObjectiveProperties = {
|
|
|
17
17
|
* @maxLength `1024`
|
|
18
18
|
*/
|
|
19
19
|
Description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Each object in this array defines a time exclusion window for this SLO. The time exclusion window is used to exclude breaching data points from affecting attainment rate, error budget, and burn rate metrics.
|
|
22
|
+
* @minLength `0`
|
|
23
|
+
* @maxLength `10`
|
|
24
|
+
*/
|
|
25
|
+
ExclusionWindows?: ExclusionWindow[];
|
|
20
26
|
/**
|
|
21
27
|
* A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
|
|
22
28
|
*/
|
|
@@ -88,12 +94,12 @@ export type BurnRateConfiguration = {
|
|
|
88
94
|
*/
|
|
89
95
|
export type CalendarInterval = {
|
|
90
96
|
/**
|
|
91
|
-
* Specifies the duration of each
|
|
97
|
+
* Specifies the duration of each interval. For example, if `Duration` is 1 and `DurationUnit` is `MONTH`, each interval is one month, aligned with the calendar.
|
|
92
98
|
* @min `1`
|
|
93
99
|
*/
|
|
94
100
|
Duration: number;
|
|
95
101
|
/**
|
|
96
|
-
* Specifies the
|
|
102
|
+
* Specifies the interval unit.
|
|
97
103
|
*/
|
|
98
104
|
DurationUnit: DurationUnit;
|
|
99
105
|
/**
|
|
@@ -120,10 +126,35 @@ export type Dimension = {
|
|
|
120
126
|
};
|
|
121
127
|
/**
|
|
122
128
|
* Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.DurationUnit`.
|
|
123
|
-
* Specifies the
|
|
129
|
+
* Specifies the interval unit.
|
|
124
130
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-durationunit.html}
|
|
125
131
|
*/
|
|
126
|
-
export type DurationUnit = "DAY" | "MONTH";
|
|
132
|
+
export type DurationUnit = "MINUTE" | "HOUR" | "DAY" | "MONTH";
|
|
133
|
+
/**
|
|
134
|
+
* Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.ExclusionWindow`.
|
|
135
|
+
* This object defines a time exclusion window for this SLO. The time exclusion window is used to exclude breaching data points from affecting attainment rate, error budget, and burn rate metrics.
|
|
136
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-exclusionwindow.html}
|
|
137
|
+
*/
|
|
138
|
+
export type ExclusionWindow = {
|
|
139
|
+
/**
|
|
140
|
+
* An optional reason for scheduling this time exclusion window. Default is 'No reason'.
|
|
141
|
+
* @minLength `1`
|
|
142
|
+
* @maxLength `1024`
|
|
143
|
+
*/
|
|
144
|
+
Reason?: string;
|
|
145
|
+
/**
|
|
146
|
+
* This object defines how often to repeat a time exclusion window.
|
|
147
|
+
*/
|
|
148
|
+
RecurrenceRule?: RecurrenceRule;
|
|
149
|
+
/**
|
|
150
|
+
* The time you want the exclusion window to start at. Note that time exclusion windows can only be scheduled in the future, not the past.
|
|
151
|
+
*/
|
|
152
|
+
StartTime?: string;
|
|
153
|
+
/**
|
|
154
|
+
* This object defines the length of time an exclusion window should span.
|
|
155
|
+
*/
|
|
156
|
+
Window: Window;
|
|
157
|
+
};
|
|
127
158
|
/**
|
|
128
159
|
* Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.Goal`.
|
|
129
160
|
* A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
|
|
@@ -252,6 +283,19 @@ export type MonitoredRequestCountMetric = {
|
|
|
252
283
|
*/
|
|
253
284
|
GoodCountMetric?: MetricDataQuery[];
|
|
254
285
|
};
|
|
286
|
+
/**
|
|
287
|
+
* Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.RecurrenceRule`.
|
|
288
|
+
* This object defines how often to repeat a time exclusion window.
|
|
289
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-recurrencerule.html}
|
|
290
|
+
*/
|
|
291
|
+
export type RecurrenceRule = {
|
|
292
|
+
/**
|
|
293
|
+
* A cron or rate expression denoting how often to repeat this exclusion window.
|
|
294
|
+
* @minLength `1`
|
|
295
|
+
* @maxLength `1024`
|
|
296
|
+
*/
|
|
297
|
+
Expression: string;
|
|
298
|
+
};
|
|
255
299
|
/**
|
|
256
300
|
* Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.RequestBasedSli`.
|
|
257
301
|
* This structure contains information about the performance metric that a request-based SLO monitors.
|
|
@@ -307,12 +351,12 @@ export type RequestBasedSliMetric = {
|
|
|
307
351
|
*/
|
|
308
352
|
export type RollingInterval = {
|
|
309
353
|
/**
|
|
310
|
-
* Specifies the duration of each
|
|
354
|
+
* Specifies the duration of each interval. For example, if `Duration` is 1 and `DurationUnit` is `MONTH`, each interval is one month, aligned with the calendar.
|
|
311
355
|
* @min `1`
|
|
312
356
|
*/
|
|
313
357
|
Duration: number;
|
|
314
358
|
/**
|
|
315
|
-
* Specifies the
|
|
359
|
+
* Specifies the interval unit.
|
|
316
360
|
*/
|
|
317
361
|
DurationUnit: DurationUnit;
|
|
318
362
|
};
|
|
@@ -391,6 +435,22 @@ export type Tag = {
|
|
|
391
435
|
*/
|
|
392
436
|
Value: string;
|
|
393
437
|
};
|
|
438
|
+
/**
|
|
439
|
+
* Type definition for `AWS::ApplicationSignals::ServiceLevelObjective.Window`.
|
|
440
|
+
* This object defines the length of time an exclusion window should span.
|
|
441
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationsignals-servicelevelobjective-window.html}
|
|
442
|
+
*/
|
|
443
|
+
export type Window = {
|
|
444
|
+
/**
|
|
445
|
+
* Specifies the duration of each interval. For example, if `Duration` is 1 and `DurationUnit` is `MONTH`, each interval is one month, aligned with the calendar.
|
|
446
|
+
* @min `1`
|
|
447
|
+
*/
|
|
448
|
+
Duration: number;
|
|
449
|
+
/**
|
|
450
|
+
* Specifies the interval unit.
|
|
451
|
+
*/
|
|
452
|
+
DurationUnit: DurationUnit;
|
|
453
|
+
};
|
|
394
454
|
/**
|
|
395
455
|
* Resource Type definition for AWS::ApplicationSignals::ServiceLevelObjective
|
|
396
456
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationsignals-servicelevelobjective.html}
|
|
@@ -1,17 +1,25 @@
|
|
|
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::CloudFront::AnycastIpList`.
|
|
5
|
+
* An Anycast static IP list. For more information, see [Request Anycast static IPs to use for allowlisting](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html) in the *Amazon CloudFront Developer Guide*.
|
|
5
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-anycastiplist.html}
|
|
6
7
|
*/
|
|
7
8
|
export type CloudFrontAnycastIpListProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* The number of IP addresses in the Anycast static IP list.
|
|
11
|
+
*/
|
|
8
12
|
IpCount: number;
|
|
9
13
|
/**
|
|
14
|
+
* The name of the Anycast static IP list.
|
|
10
15
|
* @minLength `1`
|
|
11
16
|
* @maxLength `64`
|
|
12
17
|
* @pattern `^[a-zA-Z0-9-_]{1,64}$`
|
|
13
18
|
*/
|
|
14
19
|
Name: string;
|
|
20
|
+
/**
|
|
21
|
+
* A complex type that contains zero or more ``Tag`` elements.
|
|
22
|
+
*/
|
|
15
23
|
Tags?: Tags;
|
|
16
24
|
};
|
|
17
25
|
/**
|
|
@@ -19,18 +27,40 @@ export type CloudFrontAnycastIpListProperties = {
|
|
|
19
27
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-anycastiplist.html#aws-resource-cloudfront-anycastiplist-return-values}
|
|
20
28
|
*/
|
|
21
29
|
export type CloudFrontAnycastIpListAttributes = {
|
|
30
|
+
/**
|
|
31
|
+
* An Anycast static IP list. For more information, see [Request Anycast static IPs to use for allowlisting](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html) in the *Amazon CloudFront Developer Guide*.
|
|
32
|
+
*/
|
|
22
33
|
AnycastIpList: {
|
|
34
|
+
/**
|
|
35
|
+
* The static IP addresses that are allocated to the Anycast static IP list.
|
|
36
|
+
*/
|
|
23
37
|
AnycastIps: string[];
|
|
38
|
+
/**
|
|
39
|
+
* The Amazon Resource Name (ARN) of the Anycast static IP list.
|
|
40
|
+
*/
|
|
24
41
|
Arn: string;
|
|
42
|
+
/**
|
|
43
|
+
* The ID of the Anycast static IP list.
|
|
44
|
+
*/
|
|
25
45
|
Id: string;
|
|
46
|
+
/**
|
|
47
|
+
* The number of IP addresses in the Anycast static IP list.
|
|
48
|
+
*/
|
|
26
49
|
IpCount: number;
|
|
50
|
+
/**
|
|
51
|
+
* The last time the Anycast static IP list was modified.
|
|
52
|
+
*/
|
|
27
53
|
LastModifiedTime: string;
|
|
28
54
|
/**
|
|
55
|
+
* The name of the Anycast static IP list.
|
|
29
56
|
* @minLength `1`
|
|
30
57
|
* @maxLength `64`
|
|
31
58
|
* @pattern `^[a-zA-Z0-9-_]{1,64}$`
|
|
32
59
|
*/
|
|
33
60
|
Name: string;
|
|
61
|
+
/**
|
|
62
|
+
* The status of the Anycast static IP list. Valid values: ``Deployed``, ``Deploying``, or ``Failed``.
|
|
63
|
+
*/
|
|
34
64
|
Status: string;
|
|
35
65
|
};
|
|
36
66
|
ETag: string;
|
|
@@ -38,49 +68,79 @@ export type CloudFrontAnycastIpListAttributes = {
|
|
|
38
68
|
};
|
|
39
69
|
/**
|
|
40
70
|
* Type definition for `AWS::CloudFront::AnycastIpList.AnycastIpList`.
|
|
71
|
+
* An Anycast static IP list. For more information, see [Request Anycast static IPs to use for allowlisting](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html) in the *Amazon CloudFront Developer Guide*.
|
|
41
72
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-anycastiplist.html}
|
|
42
73
|
*/
|
|
43
74
|
export type AnycastIpList = {
|
|
75
|
+
/**
|
|
76
|
+
* The static IP addresses that are allocated to the Anycast static IP list.
|
|
77
|
+
*/
|
|
44
78
|
AnycastIps: string[];
|
|
79
|
+
/**
|
|
80
|
+
* The Amazon Resource Name (ARN) of the Anycast static IP list.
|
|
81
|
+
*/
|
|
45
82
|
Arn: string;
|
|
83
|
+
/**
|
|
84
|
+
* The ID of the Anycast static IP list.
|
|
85
|
+
*/
|
|
46
86
|
Id: string;
|
|
87
|
+
/**
|
|
88
|
+
* The number of IP addresses in the Anycast static IP list.
|
|
89
|
+
*/
|
|
47
90
|
IpCount: number;
|
|
91
|
+
/**
|
|
92
|
+
* The last time the Anycast static IP list was modified.
|
|
93
|
+
*/
|
|
48
94
|
LastModifiedTime: string;
|
|
49
95
|
/**
|
|
96
|
+
* The name of the Anycast static IP list.
|
|
50
97
|
* @minLength `1`
|
|
51
98
|
* @maxLength `64`
|
|
52
99
|
* @pattern `^[a-zA-Z0-9-_]{1,64}$`
|
|
53
100
|
*/
|
|
54
101
|
Name: string;
|
|
102
|
+
/**
|
|
103
|
+
* The status of the Anycast static IP list. Valid values: ``Deployed``, ``Deploying``, or ``Failed``.
|
|
104
|
+
*/
|
|
55
105
|
Status: string;
|
|
56
106
|
};
|
|
57
107
|
/**
|
|
58
108
|
* Type definition for `AWS::CloudFront::AnycastIpList.Tag`.
|
|
109
|
+
* A complex type that contains ``Tag`` key and ``Tag`` value.
|
|
59
110
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-tag.html}
|
|
60
111
|
*/
|
|
61
112
|
export type Tag = {
|
|
62
113
|
/**
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
114
|
+
* A string that contains ``Tag`` key.
|
|
115
|
+
The string length should be between 1 and 128 characters. Valid characters include ``a-z``, ``A-Z``, ``0-9``, space, and the special characters ``_ - . : / = + @``.
|
|
116
|
+
* @minLength `1`
|
|
117
|
+
* @maxLength `128`
|
|
118
|
+
* @pattern `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`
|
|
119
|
+
*/
|
|
67
120
|
Key: string;
|
|
68
121
|
/**
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
122
|
+
* A string that contains an optional ``Tag`` value.
|
|
123
|
+
The string length should be between 0 and 256 characters. Valid characters include ``a-z``, ``A-Z``, ``0-9``, space, and the special characters ``_ - . : / = + @``.
|
|
124
|
+
* @minLength `0`
|
|
125
|
+
* @maxLength `256`
|
|
126
|
+
* @pattern `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`
|
|
127
|
+
*/
|
|
73
128
|
Value?: string;
|
|
74
129
|
};
|
|
75
130
|
/**
|
|
76
131
|
* Type definition for `AWS::CloudFront::AnycastIpList.Tags`.
|
|
132
|
+
* A complex type that contains zero or more ``Tag`` elements.
|
|
77
133
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-anycastiplist-tags.html}
|
|
78
134
|
*/
|
|
79
135
|
export type Tags = {
|
|
136
|
+
/**
|
|
137
|
+
* A complex type that contains ``Tag`` elements.
|
|
138
|
+
*/
|
|
80
139
|
Items?: Tag[];
|
|
81
140
|
};
|
|
82
141
|
/**
|
|
83
|
-
*
|
|
142
|
+
* Resource type definition for `AWS::CloudFront::AnycastIpList`.
|
|
143
|
+
* An Anycast static IP list. For more information, see [Request Anycast static IPs to use for allowlisting](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html) in the *Amazon CloudFront Developer Guide*.
|
|
84
144
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-anycastiplist.html}
|
|
85
145
|
*/
|
|
86
146
|
export declare class CloudFrontAnycastIpList extends $Resource<"AWS::CloudFront::AnycastIpList", CloudFrontAnycastIpListProperties, CloudFrontAnycastIpListAttributes> {
|
|
@@ -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::CloudFront::AnycastIpList`.
|
|
4
|
+
* An Anycast static IP list. For more information, see [Request Anycast static IPs to use for allowlisting](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html) in the *Amazon CloudFront Developer Guide*.
|
|
4
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-anycastiplist.html}
|
|
5
6
|
*/
|
|
6
7
|
export class CloudFrontAnycastIpList extends $Resource {
|
|
@@ -376,6 +376,9 @@ export type DistributionConfig = {
|
|
|
376
376
|
* A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.
|
|
377
377
|
*/
|
|
378
378
|
Aliases?: string[];
|
|
379
|
+
/**
|
|
380
|
+
* ID of the Anycast static IP list that is associated with the distribution.
|
|
381
|
+
*/
|
|
379
382
|
AnycastIpListId?: string;
|
|
380
383
|
/**
|
|
381
384
|
* An alias for the CF distribution's domain name.
|
|
@@ -671,6 +674,7 @@ export type Logging = {
|
|
|
671
674
|
* An origin.
|
|
672
675
|
An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin:
|
|
673
676
|
+ Use ``S3OriginConfig`` to specify an Amazon S3 bucket that is not configured with static website hosting.
|
|
677
|
+
+ Use ``VpcOriginConfig`` to specify a VPC origin.
|
|
674
678
|
+ Use ``CustomOriginConfig`` to specify all other kinds of origins, including:
|
|
675
679
|
+ An Amazon S3 bucket that is configured with static website hosting
|
|
676
680
|
+ An Elastic Load Balancing load balancer
|
|
@@ -732,6 +736,9 @@ export type Origin = {
|
|
|
732
736
|
* Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the ``CustomOriginConfig`` type instead.
|
|
733
737
|
*/
|
|
734
738
|
S3OriginConfig?: S3OriginConfig;
|
|
739
|
+
/**
|
|
740
|
+
* The VPC origin configuration.
|
|
741
|
+
*/
|
|
735
742
|
VpcOriginConfig?: VpcOriginConfig;
|
|
736
743
|
};
|
|
737
744
|
/**
|
|
@@ -974,11 +981,23 @@ export type ViewerCertificate = {
|
|
|
974
981
|
};
|
|
975
982
|
/**
|
|
976
983
|
* Type definition for `AWS::CloudFront::Distribution.VpcOriginConfig`.
|
|
984
|
+
* An Amazon CloudFront VPC origin configuration.
|
|
977
985
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-vpcoriginconfig.html}
|
|
978
986
|
*/
|
|
979
987
|
export type VpcOriginConfig = {
|
|
988
|
+
/**
|
|
989
|
+
* Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 5 seconds.
|
|
990
|
+
For more information, see [Keep-alive timeout (custom origins only)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginKeepaliveTimeout) in the *Amazon CloudFront Developer Guide*.
|
|
991
|
+
*/
|
|
980
992
|
OriginKeepaliveTimeout?: number;
|
|
993
|
+
/**
|
|
994
|
+
* Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the *origin response timeout*. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.
|
|
995
|
+
For more information, see [Response timeout (custom origins only)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout) in the *Amazon CloudFront Developer Guide*.
|
|
996
|
+
*/
|
|
981
997
|
OriginReadTimeout?: number;
|
|
998
|
+
/**
|
|
999
|
+
* The VPC origin ID.
|
|
1000
|
+
*/
|
|
982
1001
|
VpcOriginId: string;
|
|
983
1002
|
};
|
|
984
1003
|
/**
|
|
@@ -1,11 +1,18 @@
|
|
|
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::CloudFront::VpcOrigin`.
|
|
5
|
+
* An Amazon CloudFront VPC origin.
|
|
5
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-vpcorigin.html}
|
|
6
7
|
*/
|
|
7
8
|
export type CloudFrontVpcOriginProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* A complex type that contains zero or more ``Tag`` elements.
|
|
11
|
+
*/
|
|
8
12
|
Tags?: Tag[];
|
|
13
|
+
/**
|
|
14
|
+
* The VPC origin endpoint configuration.
|
|
15
|
+
*/
|
|
9
16
|
VpcOriginEndpointConfig: VpcOriginEndpointConfig;
|
|
10
17
|
};
|
|
11
18
|
/**
|
|
@@ -21,26 +28,52 @@ export type CloudFrontVpcOriginAttributes = {
|
|
|
21
28
|
};
|
|
22
29
|
/**
|
|
23
30
|
* Type definition for `AWS::CloudFront::VpcOrigin.Tag`.
|
|
31
|
+
* A complex type that contains ``Tag`` key and ``Tag`` value.
|
|
24
32
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-vpcorigin-tag.html}
|
|
25
33
|
*/
|
|
26
34
|
export type Tag = {
|
|
35
|
+
/**
|
|
36
|
+
* A string that contains ``Tag`` key.
|
|
37
|
+
The string length should be between 1 and 128 characters. Valid characters include ``a-z``, ``A-Z``, ``0-9``, space, and the special characters ``_ - . : / = + @``.
|
|
38
|
+
*/
|
|
27
39
|
Key: string;
|
|
40
|
+
/**
|
|
41
|
+
* A string that contains an optional ``Tag`` value.
|
|
42
|
+
The string length should be between 0 and 256 characters. Valid characters include ``a-z``, ``A-Z``, ``0-9``, space, and the special characters ``_ - . : / = + @``.
|
|
43
|
+
*/
|
|
28
44
|
Value: string;
|
|
29
45
|
};
|
|
30
46
|
/**
|
|
31
47
|
* Type definition for `AWS::CloudFront::VpcOrigin.VpcOriginEndpointConfig`.
|
|
48
|
+
* An Amazon CloudFront VPC origin endpoint configuration.
|
|
32
49
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-vpcorigin-vpcoriginendpointconfig.html}
|
|
33
50
|
*/
|
|
34
51
|
export type VpcOriginEndpointConfig = {
|
|
52
|
+
/**
|
|
53
|
+
* The ARN of the CloudFront VPC origin endpoint configuration.
|
|
54
|
+
*/
|
|
35
55
|
Arn: string;
|
|
56
|
+
/**
|
|
57
|
+
* The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is ``80``.
|
|
58
|
+
*/
|
|
36
59
|
HTTPPort?: number;
|
|
60
|
+
/**
|
|
61
|
+
* The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is ``443``.
|
|
62
|
+
*/
|
|
37
63
|
HTTPSPort?: number;
|
|
64
|
+
/**
|
|
65
|
+
* The name of the CloudFront VPC origin endpoint configuration.
|
|
66
|
+
*/
|
|
38
67
|
Name: string;
|
|
68
|
+
/**
|
|
69
|
+
* The origin protocol policy for the CloudFront VPC origin endpoint configuration.
|
|
70
|
+
*/
|
|
39
71
|
OriginProtocolPolicy?: string;
|
|
40
72
|
OriginSSLProtocols?: string[];
|
|
41
73
|
};
|
|
42
74
|
/**
|
|
43
|
-
* Resource
|
|
75
|
+
* Resource type definition for `AWS::CloudFront::VpcOrigin`.
|
|
76
|
+
* An Amazon CloudFront VPC origin.
|
|
44
77
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-vpcorigin.html}
|
|
45
78
|
*/
|
|
46
79
|
export declare class CloudFrontVpcOrigin extends $Resource<"AWS::CloudFront::VpcOrigin", CloudFrontVpcOriginProperties, CloudFrontVpcOriginAttributes> {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
3
|
+
* Resource type definition for `AWS::CloudFront::VpcOrigin`.
|
|
4
|
+
* An Amazon CloudFront VPC origin.
|
|
4
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-vpcorigin.html}
|
|
5
6
|
*/
|
|
6
7
|
export class CloudFrontVpcOrigin extends $Resource {
|
|
@@ -27,9 +27,33 @@ export type EC2CapacityReservationProperties = {
|
|
|
27
27
|
*/
|
|
28
28
|
export type EC2CapacityReservationAttributes = {
|
|
29
29
|
AvailableInstanceCount: number;
|
|
30
|
+
CapacityAllocationSet: {
|
|
31
|
+
AllocationType: string;
|
|
32
|
+
Count: number;
|
|
33
|
+
}[];
|
|
34
|
+
CapacityReservationArn: string;
|
|
35
|
+
CapacityReservationFleetId: string;
|
|
36
|
+
CommitmentInfo: {
|
|
37
|
+
CommitmentEndDate: string;
|
|
38
|
+
CommittedInstanceCount: number;
|
|
39
|
+
};
|
|
40
|
+
CreateDate: string;
|
|
41
|
+
DeliveryPreference: string;
|
|
30
42
|
Id: string;
|
|
43
|
+
OwnerId: string;
|
|
44
|
+
ReservationType: string;
|
|
45
|
+
StartDate: string;
|
|
46
|
+
State: string;
|
|
31
47
|
TotalInstanceCount: number;
|
|
32
48
|
};
|
|
49
|
+
/**
|
|
50
|
+
* Type definition for `AWS::EC2::CapacityReservation.CapacityAllocation`.
|
|
51
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-capacityallocation.html}
|
|
52
|
+
*/
|
|
53
|
+
export type CapacityAllocation = {
|
|
54
|
+
AllocationType?: string;
|
|
55
|
+
Count?: number;
|
|
56
|
+
};
|
|
33
57
|
/**
|
|
34
58
|
* Type definition for `AWS::EC2::CapacityReservation.Tag`.
|
|
35
59
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-capacityreservation-tag.html}
|
|
@@ -14,6 +14,10 @@ export type EC2VPCEndpointServiceProperties = {
|
|
|
14
14
|
* Specify which Ip Address types are supported for VPC endpoint service.
|
|
15
15
|
*/
|
|
16
16
|
SupportedIpAddressTypes?: IpAddressType[];
|
|
17
|
+
/**
|
|
18
|
+
* The Regions from which service consumers can access the service.
|
|
19
|
+
*/
|
|
20
|
+
SupportedRegions?: string[];
|
|
17
21
|
/**
|
|
18
22
|
* The tags to add to the VPC endpoint service.
|
|
19
23
|
*/
|
package/lib/AWS-S3-Bucket.d.ts
CHANGED
|
@@ -51,6 +51,9 @@ export type S3BucketProperties = {
|
|
|
51
51
|
* Settings that define where logs are stored.
|
|
52
52
|
*/
|
|
53
53
|
LoggingConfiguration?: LoggingConfiguration;
|
|
54
|
+
/**
|
|
55
|
+
* The metadata table configuration of an S3 general purpose bucket. For more information, see [Accelerating data discovery with S3 Metadata](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html) and [Setting up permissions for configuring metadata tables](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html).
|
|
56
|
+
*/
|
|
54
57
|
MetadataTableConfiguration?: MetadataTableConfiguration;
|
|
55
58
|
/**
|
|
56
59
|
* Specifies a metrics configuration for the CloudWatch request metrics (specified by the metrics configuration ID) from an Amazon S3 bucket. If you're updating an existing metrics configuration, note that this is a full replacement of the existing metrics configuration. If you don't include the elements you want to keep, they are erased. For more information, see [PutBucketMetricsConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTMetricConfiguration.html).
|
|
@@ -110,14 +113,20 @@ export type S3BucketAttributes = {
|
|
|
110
113
|
Arn: string;
|
|
111
114
|
DomainName: string;
|
|
112
115
|
DualStackDomainName: string;
|
|
116
|
+
/**
|
|
117
|
+
* The metadata table configuration of an S3 general purpose bucket. For more information, see [Accelerating data discovery with S3 Metadata](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html) and [Setting up permissions for configuring metadata tables](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html).
|
|
118
|
+
*/
|
|
113
119
|
MetadataTableConfiguration: {
|
|
120
|
+
/**
|
|
121
|
+
* The destination information for the metadata table configuration. The destination table bucket must be in the same Region and AWS-account as the general purpose bucket. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
122
|
+
*/
|
|
114
123
|
S3TablesDestination: {
|
|
115
124
|
/**
|
|
116
|
-
* The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration. The specified metadata table name must be unique within the
|
|
125
|
+
* The Amazon Resource Name (ARN) for the metadata table in the metadata table configuration. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
117
126
|
*/
|
|
118
127
|
TableArn: string;
|
|
119
128
|
/**
|
|
120
|
-
* The table bucket namespace for the metadata table in your metadata table configuration. This value is always
|
|
129
|
+
* The table bucket namespace for the metadata table in your metadata table configuration. This value is always ``aws_s3_metadata``.
|
|
121
130
|
*/
|
|
122
131
|
TableNamespace: string;
|
|
123
132
|
};
|
|
@@ -478,9 +487,13 @@ export type LoggingConfiguration = {
|
|
|
478
487
|
};
|
|
479
488
|
/**
|
|
480
489
|
* Type definition for `AWS::S3::Bucket.MetadataTableConfiguration`.
|
|
490
|
+
* The metadata table configuration of an S3 general purpose bucket. For more information, see [Accelerating data discovery with S3 Metadata](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html) and [Setting up permissions for configuring metadata tables](https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html).
|
|
481
491
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-metadatatableconfiguration.html}
|
|
482
492
|
*/
|
|
483
493
|
export type MetadataTableConfiguration = {
|
|
494
|
+
/**
|
|
495
|
+
* The destination information for the metadata table configuration. The destination table bucket must be in the same Region and AWS-account as the general purpose bucket. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
496
|
+
*/
|
|
484
497
|
S3TablesDestination: S3TablesDestination;
|
|
485
498
|
};
|
|
486
499
|
/**
|
|
@@ -1055,15 +1068,16 @@ export type S3KeyFilter = {
|
|
|
1055
1068
|
};
|
|
1056
1069
|
/**
|
|
1057
1070
|
* Type definition for `AWS::S3::Bucket.S3TablesDestination`.
|
|
1071
|
+
* The destination information for the metadata table configuration. The destination table bucket must be in the same Region and AWS-account as the general purpose bucket. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
1058
1072
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-s3tablesdestination.html}
|
|
1059
1073
|
*/
|
|
1060
1074
|
export type S3TablesDestination = {
|
|
1061
1075
|
/**
|
|
1062
|
-
* The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration. The destination table bucket must be in the same Region and AWS
|
|
1076
|
+
* The Amazon Resource Name (ARN) for the table bucket that's specified as the destination in the metadata table configuration. The destination table bucket must be in the same Region and AWS-account as the general purpose bucket.
|
|
1063
1077
|
*/
|
|
1064
1078
|
TableBucketArn: string;
|
|
1065
1079
|
/**
|
|
1066
|
-
* The name for the metadata table in your metadata table configuration. The specified metadata table name must be unique within the
|
|
1080
|
+
* The name for the metadata table in your metadata table configuration. The specified metadata table name must be unique within the ``aws_s3_metadata`` namespace in the destination table bucket.
|
|
1067
1081
|
*/
|
|
1068
1082
|
TableName: string;
|
|
1069
1083
|
};
|
|
@@ -16,6 +16,10 @@ export type WAFv2WebACLProperties = {
|
|
|
16
16
|
* Custom response key and body map.
|
|
17
17
|
*/
|
|
18
18
|
CustomResponseBodies?: CustomResponseBodies;
|
|
19
|
+
/**
|
|
20
|
+
* Collection of dataProtects.
|
|
21
|
+
*/
|
|
22
|
+
DataProtectionConfig?: DataProtectionConfig;
|
|
19
23
|
/**
|
|
20
24
|
* Default Action WebACL will take against ingress traffic when there is no matching Rule.
|
|
21
25
|
*/
|
|
@@ -371,6 +375,34 @@ export type CustomResponseBody = {
|
|
|
371
375
|
*/
|
|
372
376
|
ContentType: ResponseContentType;
|
|
373
377
|
};
|
|
378
|
+
/**
|
|
379
|
+
* Type definition for `AWS::WAFv2::WebACL.DataProtect`.
|
|
380
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-dataprotect.html}
|
|
381
|
+
*/
|
|
382
|
+
export type DataProtect = {
|
|
383
|
+
Action: DataProtectionAction;
|
|
384
|
+
ExcludeRateBasedDetails?: boolean;
|
|
385
|
+
ExcludeRuleMatchDetails?: boolean;
|
|
386
|
+
/**
|
|
387
|
+
* Field in log to protect.
|
|
388
|
+
*/
|
|
389
|
+
Field: FieldToProtect;
|
|
390
|
+
};
|
|
391
|
+
/**
|
|
392
|
+
* Type definition for `AWS::WAFv2::WebACL.DataProtectionAction`.
|
|
393
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-dataprotectionaction.html}
|
|
394
|
+
*/
|
|
395
|
+
export type DataProtectionAction = "SUBSTITUTION" | "HASH";
|
|
396
|
+
/**
|
|
397
|
+
* Type definition for `AWS::WAFv2::WebACL.DataProtectionConfig`.
|
|
398
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-dataprotectionconfig.html}
|
|
399
|
+
*/
|
|
400
|
+
export type DataProtectionConfig = {
|
|
401
|
+
/**
|
|
402
|
+
* @minLength `1`
|
|
403
|
+
*/
|
|
404
|
+
DataProtections: DataProtect[];
|
|
405
|
+
};
|
|
374
406
|
/**
|
|
375
407
|
* Type definition for `AWS::WAFv2::WebACL.DefaultAction`.
|
|
376
408
|
* Default Action WebACL will take against ingress traffic when there is no matching Rule.
|
|
@@ -471,6 +503,21 @@ export type FieldToMatch = {
|
|
|
471
503
|
*/
|
|
472
504
|
UriPath?: Record<string, any>;
|
|
473
505
|
};
|
|
506
|
+
/**
|
|
507
|
+
* Type definition for `AWS::WAFv2::WebACL.FieldToProtect`.
|
|
508
|
+
* Field in log to protect.
|
|
509
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-fieldtoprotect.html}
|
|
510
|
+
*/
|
|
511
|
+
export type FieldToProtect = {
|
|
512
|
+
/**
|
|
513
|
+
* List of field keys to protect
|
|
514
|
+
*/
|
|
515
|
+
FieldKeys?: string[];
|
|
516
|
+
/**
|
|
517
|
+
* Field type to protect
|
|
518
|
+
*/
|
|
519
|
+
FieldType: "SINGLE_HEADER" | "SINGLE_COOKIE" | "SINGLE_QUERY_ARGUMENT" | "QUERY_STRING" | "BODY";
|
|
520
|
+
};
|
|
474
521
|
/**
|
|
475
522
|
* Type definition for `AWS::WAFv2::WebACL.ForwardedIPConfiguration`.
|
|
476
523
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-forwardedipconfiguration.html}
|