@awboost/cfn-resource-types 0.1.334 → 0.1.336
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-CloudFront-CachePolicy.d.ts +12 -12
- package/lib/AWS-CloudFront-ConnectionGroup.d.ts +28 -2
- package/lib/AWS-CloudFront-ConnectionGroup.js +2 -1
- package/lib/AWS-CloudFront-Distribution.d.ts +38 -25
- package/lib/AWS-CloudFront-DistributionTenant.d.ts +103 -2
- package/lib/AWS-CloudFront-DistributionTenant.js +2 -1
- package/lib/AWS-CloudFront-OriginAccessControl.d.ts +3 -3
- package/lib/AWS-CloudFront-OriginRequestPolicy.d.ts +13 -13
- package/lib/AWS-CloudFront-RealtimeLogConfig.d.ts +2 -2
- package/lib/AWS-CloudFront-ResponseHeadersPolicy.d.ts +1 -1
- package/lib/AWS-CodePipeline-Pipeline.d.ts +4 -0
- package/lib/AWS-DataSync-StorageSystem.d.ts +5 -79
- package/lib/AWS-DataSync-StorageSystem.js +1 -1
- package/lib/AWS-EC2-Host.d.ts +12 -0
- package/lib/AWS-ECR-RegistryScanningConfiguration.d.ts +9 -7
- package/lib/AWS-ECR-RegistryScanningConfiguration.js +2 -1
- package/lib/AWS-GameLift-Fleet.d.ts +29 -0
- package/lib/AWS-Logs-Transformer.d.ts +3 -3
- package/lib/AWS-RolesAnywhere-TrustAnchor.d.ts +2 -2
- 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
|
}
|
|
@@ -73,10 +73,10 @@ export type CachePolicyConfig = {
|
|
|
73
73
|
export type CookiesConfig = {
|
|
74
74
|
/**
|
|
75
75
|
* Determines whether any cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:
|
|
76
|
-
+
|
|
77
|
-
+
|
|
78
|
-
+
|
|
79
|
-
+
|
|
76
|
+
+ ``none`` – No cookies in viewer requests are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to ``none``, any cookies that are listed in an ``OriginRequestPolicy``*are* included in origin requests.
|
|
77
|
+
+ ``whitelist`` – Only the cookies in viewer requests that are listed in the ``CookieNames`` type are included in the cache key and in requests that CloudFront sends to the origin.
|
|
78
|
+
+ ``allExcept`` – All cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin, *except* for those that are listed in the ``CookieNames`` type, which are not included.
|
|
79
|
+
+ ``all`` – All cookies in viewer requests are included in the cache key and in requests that CloudFront sends to the origin.
|
|
80
80
|
* @pattern `^(none|whitelist|allExcept|all)$`
|
|
81
81
|
*/
|
|
82
82
|
CookieBehavior: string;
|
|
@@ -93,8 +93,8 @@ export type CookiesConfig = {
|
|
|
93
93
|
export type HeadersConfig = {
|
|
94
94
|
/**
|
|
95
95
|
* Determines whether any HTTP headers are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:
|
|
96
|
-
+
|
|
97
|
-
+
|
|
96
|
+
+ ``none`` – No HTTP headers are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to ``none``, any headers that are listed in an ``OriginRequestPolicy``*are* included in origin requests.
|
|
97
|
+
+ ``whitelist`` – Only the HTTP headers that are listed in the ``Headers`` type are included in the cache key and in requests that CloudFront sends to the origin.
|
|
98
98
|
* @pattern `^(none|whitelist)$`
|
|
99
99
|
*/
|
|
100
100
|
HeaderBehavior: string;
|
|
@@ -116,7 +116,7 @@ export type ParametersInCacheKeyAndForwardedToOrigin = {
|
|
|
116
116
|
CookiesConfig: CookiesConfig;
|
|
117
117
|
/**
|
|
118
118
|
* A flag that can affect whether the ``Accept-Encoding`` HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.
|
|
119
|
-
This field is related to the ``EnableAcceptEncodingGzip`` field. If one or both of these fields is ``true
|
|
119
|
+
This field is related to the ``EnableAcceptEncodingGzip`` field. If one or both of these fields is ``true``*and* the viewer request includes the ``Accept-Encoding`` header, then CloudFront does the following:
|
|
120
120
|
+ Normalizes the value of the viewer's ``Accept-Encoding`` header
|
|
121
121
|
+ Includes the normalized header in the cache key
|
|
122
122
|
+ Includes the normalized header in the request to the origin, if a request is necessary
|
|
@@ -128,7 +128,7 @@ export type ParametersInCacheKeyAndForwardedToOrigin = {
|
|
|
128
128
|
EnableAcceptEncodingBrotli?: boolean;
|
|
129
129
|
/**
|
|
130
130
|
* A flag that can affect whether the ``Accept-Encoding`` HTTP header is included in the cache key and included in requests that CloudFront sends to the origin.
|
|
131
|
-
This field is related to the ``EnableAcceptEncodingBrotli`` field. If one or both of these fields is ``true
|
|
131
|
+
This field is related to the ``EnableAcceptEncodingBrotli`` field. If one or both of these fields is ``true``*and* the viewer request includes the ``Accept-Encoding`` header, then CloudFront does the following:
|
|
132
132
|
+ Normalizes the value of the viewer's ``Accept-Encoding`` header
|
|
133
133
|
+ Includes the normalized header in the cache key
|
|
134
134
|
+ Includes the normalized header in the request to the origin, if a request is necessary
|
|
@@ -155,10 +155,10 @@ export type ParametersInCacheKeyAndForwardedToOrigin = {
|
|
|
155
155
|
export type QueryStringsConfig = {
|
|
156
156
|
/**
|
|
157
157
|
* Determines whether any URL query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin. Valid values are:
|
|
158
|
-
+
|
|
159
|
-
+
|
|
160
|
-
+
|
|
161
|
-
+
|
|
158
|
+
+ ``none`` – No query strings in viewer requests are included in the cache key or in requests that CloudFront sends to the origin. Even when this field is set to ``none``, any query strings that are listed in an ``OriginRequestPolicy``*are* included in origin requests.
|
|
159
|
+
+ ``whitelist`` – Only the query strings in viewer requests that are listed in the ``QueryStringNames`` type are included in the cache key and in requests that CloudFront sends to the origin.
|
|
160
|
+
+ ``allExcept`` – All query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin, *except* those that are listed in the ``QueryStringNames`` type, which are not included.
|
|
161
|
+
+ ``all`` – All query strings in viewer requests are included in the cache key and in requests that CloudFront sends to the origin.
|
|
162
162
|
* @pattern `^(none|whitelist|allExcept|all)$`
|
|
163
163
|
*/
|
|
164
164
|
QueryStringBehavior: string;
|
|
@@ -1,14 +1,30 @@
|
|
|
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::ConnectionGroup`.
|
|
5
|
+
* The connection group for your distribution tenants. When you first create a distribution tenant and you don't specify a connection group, CloudFront will automatically create a default connection group for you. When you create a new distribution tenant and don't specify a connection group, the default one will be associated with your distribution tenant.
|
|
5
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectiongroup.html}
|
|
6
7
|
*/
|
|
7
8
|
export type CloudFrontConnectionGroupProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* The ID of the Anycast static IP list.
|
|
11
|
+
*/
|
|
8
12
|
AnycastIpListId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the connection group is enabled.
|
|
15
|
+
*/
|
|
9
16
|
Enabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* IPv6 is enabled for the connection group.
|
|
19
|
+
*/
|
|
10
20
|
Ipv6Enabled?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The name of the connection group.
|
|
23
|
+
*/
|
|
11
24
|
Name: string;
|
|
25
|
+
/**
|
|
26
|
+
* A complex type that contains zero or more ``Tag`` elements.
|
|
27
|
+
*/
|
|
12
28
|
Tags?: Tag[];
|
|
13
29
|
};
|
|
14
30
|
/**
|
|
@@ -27,14 +43,24 @@ export type CloudFrontConnectionGroupAttributes = {
|
|
|
27
43
|
};
|
|
28
44
|
/**
|
|
29
45
|
* Type definition for `AWS::CloudFront::ConnectionGroup.Tag`.
|
|
46
|
+
* A complex type that contains ``Tag`` key and ``Tag`` value.
|
|
30
47
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-connectiongroup-tag.html}
|
|
31
48
|
*/
|
|
32
49
|
export type Tag = {
|
|
50
|
+
/**
|
|
51
|
+
* A string that contains ``Tag`` key.
|
|
52
|
+
The string length should be between 1 and 128 characters. Valid characters include ``a-z``, ``A-Z``, ``0-9``, space, and the special characters ``_ - . : / = + @``.
|
|
53
|
+
*/
|
|
33
54
|
Key: string;
|
|
55
|
+
/**
|
|
56
|
+
* A string that contains an optional ``Tag`` value.
|
|
57
|
+
The string length should be between 0 and 256 characters. Valid characters include ``a-z``, ``A-Z``, ``0-9``, space, and the special characters ``_ - . : / = + @``.
|
|
58
|
+
*/
|
|
34
59
|
Value: string;
|
|
35
60
|
};
|
|
36
61
|
/**
|
|
37
|
-
* Resource
|
|
62
|
+
* Resource type definition for `AWS::CloudFront::ConnectionGroup`.
|
|
63
|
+
* The connection group for your distribution tenants. When you first create a distribution tenant and you don't specify a connection group, CloudFront will automatically create a default connection group for you. When you create a new distribution tenant and don't specify a connection group, the default one will be associated with your distribution tenant.
|
|
38
64
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectiongroup.html}
|
|
39
65
|
*/
|
|
40
66
|
export declare class CloudFrontConnectionGroup extends $Resource<"AWS::CloudFront::ConnectionGroup", CloudFrontConnectionGroupProperties, CloudFrontConnectionGroupAttributes> {
|
|
@@ -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::ConnectionGroup`.
|
|
4
|
+
* The connection group for your distribution tenants. When you first create a distribution tenant and you don't specify a connection group, CloudFront will automatically create a default connection group for you. When you create a new distribution tenant and don't specify a connection group, the default one will be associated with your distribution tenant.
|
|
4
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectiongroup.html}
|
|
5
6
|
*/
|
|
6
7
|
export class CloudFrontConnectionGroup extends $Resource {
|
|
@@ -141,9 +141,9 @@ export type CacheBehavior = {
|
|
|
141
141
|
TrustedSigners?: string[];
|
|
142
142
|
/**
|
|
143
143
|
* The protocol that viewers can use to access the files in the origin specified by ``TargetOriginId`` when a request matches the path pattern in ``PathPattern``. You can specify the following options:
|
|
144
|
-
+
|
|
145
|
-
+
|
|
146
|
-
+
|
|
144
|
+
+ ``allow-all``: Viewers can use HTTP or HTTPS.
|
|
145
|
+
+ ``redirect-to-https``: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.
|
|
146
|
+
+ ``https-only``: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).
|
|
147
147
|
|
|
148
148
|
For more information about requiring the HTTPS protocol, see [Requiring HTTPS Between Viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html) in the *Amazon CloudFront Developer Guide*.
|
|
149
149
|
The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see [Managing Cache Expiration](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*.
|
|
@@ -222,7 +222,7 @@ export type CustomErrorResponse = {
|
|
|
222
222
|
};
|
|
223
223
|
/**
|
|
224
224
|
* Type definition for `AWS::CloudFront::Distribution.CustomOriginConfig`.
|
|
225
|
-
* A custom origin. A custom origin is any origin that is *not* an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is [configured with static website hosting](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html)
|
|
225
|
+
* A custom origin. A custom origin is any origin that is *not* an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is [configured with static website hosting](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html)*is* a custom origin.
|
|
226
226
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-customoriginconfig.html}
|
|
227
227
|
*/
|
|
228
228
|
export type CustomOriginConfig = {
|
|
@@ -241,9 +241,9 @@ export type CustomOriginConfig = {
|
|
|
241
241
|
OriginKeepaliveTimeout?: number;
|
|
242
242
|
/**
|
|
243
243
|
* Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:
|
|
244
|
-
+
|
|
245
|
-
+
|
|
246
|
-
+
|
|
244
|
+
+ ``http-only`` – CloudFront always uses HTTP to connect to the origin.
|
|
245
|
+
+ ``match-viewer`` – CloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.
|
|
246
|
+
+ ``https-only`` – CloudFront always uses HTTPS to connect to the origin.
|
|
247
247
|
*/
|
|
248
248
|
OriginProtocolPolicy: string;
|
|
249
249
|
/**
|
|
@@ -362,9 +362,9 @@ export type DefaultCacheBehavior = {
|
|
|
362
362
|
TrustedSigners?: string[];
|
|
363
363
|
/**
|
|
364
364
|
* The protocol that viewers can use to access the files in the origin specified by ``TargetOriginId`` when a request matches the path pattern in ``PathPattern``. You can specify the following options:
|
|
365
|
-
+
|
|
366
|
-
+
|
|
367
|
-
+
|
|
365
|
+
+ ``allow-all``: Viewers can use HTTP or HTTPS.
|
|
366
|
+
+ ``redirect-to-https``: If a viewer submits an HTTP request, CloudFront returns an HTTP status code of 301 (Moved Permanently) to the viewer along with the HTTPS URL. The viewer then resubmits the request using the new URL.
|
|
367
|
+
+ ``https-only``: If a viewer sends an HTTP request, CloudFront returns an HTTP status code of 403 (Forbidden).
|
|
368
368
|
|
|
369
369
|
For more information about requiring the HTTPS protocol, see [Requiring HTTPS Between Viewers and CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-viewers-to-cloudfront.html) in the *Amazon CloudFront Developer Guide*.
|
|
370
370
|
The only way to guarantee that viewers retrieve an object that was fetched from the origin using HTTPS is never to use any other protocol to fetch the object. If you have recently changed from HTTP to HTTPS, we recommend that you clear your objects' cache because cached objects are protocol agnostic. That means that an edge location will return an object from the cache regardless of whether the current request protocol matches the protocol used previously. For more information, see [Managing Cache Expiration](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*.
|
|
@@ -398,6 +398,9 @@ export type DistributionConfig = {
|
|
|
398
398
|
* A comment to describe the distribution. The comment cannot be longer than 128 characters.
|
|
399
399
|
*/
|
|
400
400
|
Comment?: string;
|
|
401
|
+
/**
|
|
402
|
+
* The connection mode to filter distributions by.
|
|
403
|
+
*/
|
|
401
404
|
ConnectionMode?: ConnectionMode;
|
|
402
405
|
/**
|
|
403
406
|
* The identifier of a continuous deployment policy. For more information, see ``CreateContinuousDeploymentPolicy``.
|
|
@@ -484,6 +487,9 @@ export type DistributionConfig = {
|
|
|
484
487
|
* A Boolean that indicates whether this is a staging distribution. When this value is ``true``, this is a staging distribution. When this value is ``false``, this is not a staging distribution.
|
|
485
488
|
*/
|
|
486
489
|
Staging?: boolean;
|
|
490
|
+
/**
|
|
491
|
+
* A distribution tenant configuration.
|
|
492
|
+
*/
|
|
487
493
|
TenantConfig?: {
|
|
488
494
|
ParameterDefinitions?: ParameterDefinition[];
|
|
489
495
|
};
|
|
@@ -493,7 +499,7 @@ export type DistributionConfig = {
|
|
|
493
499
|
ViewerCertificate?: ViewerCertificate;
|
|
494
500
|
/**
|
|
495
501
|
* A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example ``arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111``. To specify a web ACL created using WAF Classic, use the ACL ID, for example ``a1b2c3d4-5678-90ab-cdef-EXAMPLE11111``.
|
|
496
|
-
|
|
502
|
+
WAF is a web application firewall that lets you monitor the HTTP and HTTPS requests that are forwarded to CloudFront, and lets you control access to your content. Based on conditions that you specify, such as the IP addresses that requests originate from or the values of query strings, CloudFront responds to requests either with the requested content or with an HTTP 403 status code (Forbidden). You can also configure CloudFront to return a custom error page when a request is blocked. For more information about WAF, see the [Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/what-is-aws-waf.html).
|
|
497
503
|
*/
|
|
498
504
|
WebACLId?: string;
|
|
499
505
|
};
|
|
@@ -569,9 +575,9 @@ export type GeoRestriction = {
|
|
|
569
575
|
Locations?: string[];
|
|
570
576
|
/**
|
|
571
577
|
* The method that you want to use to restrict distribution of your content by country:
|
|
572
|
-
+
|
|
573
|
-
+
|
|
574
|
-
+
|
|
578
|
+
+ ``none``: No geo restriction is enabled, meaning access to content is not restricted by client geo location.
|
|
579
|
+
+ ``blacklist``: The ``Location`` elements specify the countries in which you don't want CloudFront to distribute your content.
|
|
580
|
+
+ ``whitelist``: The ``Location`` elements specify the countries in which you want CloudFront to distribute your content.
|
|
575
581
|
*/
|
|
576
582
|
RestrictionType: string;
|
|
577
583
|
};
|
|
@@ -596,10 +602,10 @@ export type GrpcConfig = {
|
|
|
596
602
|
export type LambdaFunctionAssociation = {
|
|
597
603
|
/**
|
|
598
604
|
* Specifies the event type that triggers a Lambda@Edge function invocation. You can specify the following values:
|
|
599
|
-
+
|
|
600
|
-
+
|
|
601
|
-
+
|
|
602
|
-
+
|
|
605
|
+
+ ``viewer-request``: The function executes when CloudFront receives a request from a viewer and before it checks to see whether the requested object is in the edge cache.
|
|
606
|
+
+ ``origin-request``: The function executes only when CloudFront sends a request to your origin. When the requested object is in the edge cache, the function doesn't execute.
|
|
607
|
+
+ ``origin-response``: The function executes after CloudFront receives a response from the origin and before it caches the object in the response. When the requested object is in the edge cache, the function doesn't execute.
|
|
608
|
+
+ ``viewer-response``: The function executes before CloudFront returns the requested object to the viewer. The function executes regardless of whether the object was already in the edge cache.
|
|
603
609
|
If the origin returns an HTTP status code other than HTTP 200 (OK), the function doesn't execute.
|
|
604
610
|
*/
|
|
605
611
|
EventType?: string;
|
|
@@ -614,7 +620,7 @@ export type LambdaFunctionAssociation = {
|
|
|
614
620
|
};
|
|
615
621
|
/**
|
|
616
622
|
* Type definition for `AWS::CloudFront::Distribution.LegacyCustomOrigin`.
|
|
617
|
-
* A custom origin. A custom origin is any origin that is *not* an S3 bucket, with one exception. An S3 bucket that is [configured with static website hosting](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html)
|
|
623
|
+
* A custom origin. A custom origin is any origin that is *not* an S3 bucket, with one exception. An S3 bucket that is [configured with static website hosting](https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html)*is* a custom origin.
|
|
618
624
|
This property is legacy. We recommend that you use [Origin](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-origin.html) instead.
|
|
619
625
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-legacycustomorigin.html}
|
|
620
626
|
*/
|
|
@@ -867,9 +873,13 @@ export type OriginShield = {
|
|
|
867
873
|
};
|
|
868
874
|
/**
|
|
869
875
|
* Type definition for `AWS::CloudFront::Distribution.ParameterDefinition`.
|
|
876
|
+
* A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
|
|
870
877
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-parameterdefinition.html}
|
|
871
878
|
*/
|
|
872
879
|
export type ParameterDefinition = {
|
|
880
|
+
/**
|
|
881
|
+
* The value that you assigned to the parameter.
|
|
882
|
+
*/
|
|
873
883
|
Definition: {
|
|
874
884
|
StringSchema?: {
|
|
875
885
|
Comment?: string;
|
|
@@ -877,6 +887,9 @@ export type ParameterDefinition = {
|
|
|
877
887
|
Required: boolean;
|
|
878
888
|
};
|
|
879
889
|
};
|
|
890
|
+
/**
|
|
891
|
+
* The name of the parameter.
|
|
892
|
+
*/
|
|
880
893
|
Name: string;
|
|
881
894
|
};
|
|
882
895
|
/**
|
|
@@ -951,8 +964,8 @@ export type Tag = {
|
|
|
951
964
|
|
|
952
965
|
+ The minimum SSL/TLS protocol version that the distribution can use to communicate with viewers. To specify a minimum version, choose a value for ``MinimumProtocolVersion``. For more information, see [Security Policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy) in the *Amazon CloudFront Developer Guide*.
|
|
953
966
|
+ The location of the SSL/TLS certificate, [(ACM)](https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html) (recommended) or [(IAM)](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html). You specify the location by setting a value in one of the following fields (not both):
|
|
954
|
-
+
|
|
955
|
-
+
|
|
967
|
+
+ ``ACMCertificateArn`` (In CloudFormation, this field name is ``AcmCertificateArn``. Note the different capitalization.)
|
|
968
|
+
+ ``IAMCertificateId`` (In CloudFormation, this field name is ``IamCertificateId``. Note the different capitalization.)
|
|
956
969
|
|
|
957
970
|
|
|
958
971
|
All distributions support HTTPS connections from viewers. To require viewers to use HTTPS only, or to redirect them from HTTP to HTTPS, use ``ViewerProtocolPolicy`` in the ``CacheBehavior`` or ``DefaultCacheBehavior``. To specify how CloudFront should use SSL/TLS to communicate with your custom origin, use ``CustomOriginConfig``.
|
|
@@ -969,7 +982,7 @@ export type ViewerCertificate = {
|
|
|
969
982
|
/**
|
|
970
983
|
* If the distribution uses the CloudFront domain name such as ``d111111abcdef8.cloudfront.net``, set this field to ``true``.
|
|
971
984
|
If the distribution uses ``Aliases`` (alternate domain names or CNAMEs), omit this field and specify values for the following fields:
|
|
972
|
-
+
|
|
985
|
+
+ ``AcmCertificateArn`` or ``IamCertificateId`` (specify a value for one, not both)
|
|
973
986
|
+ ``MinimumProtocolVersion``
|
|
974
987
|
+ ``SslSupportMethod``
|
|
975
988
|
*/
|
|
@@ -994,9 +1007,9 @@ export type ViewerCertificate = {
|
|
|
994
1007
|
/**
|
|
995
1008
|
* In CloudFormation, this field name is ``SslSupportMethod``. Note the different capitalization.
|
|
996
1009
|
If the distribution uses ``Aliases`` (alternate domain names or CNAMEs), specify which viewers the distribution accepts HTTPS connections from.
|
|
997
|
-
+
|
|
998
|
-
+
|
|
999
|
-
+
|
|
1010
|
+
+ ``sni-only`` – The distribution accepts HTTPS connections from only viewers that support [server name indication (SNI)](https://docs.aws.amazon.com/https://en.wikipedia.org/wiki/Server_Name_Indication). This is recommended. Most browsers and clients support SNI.
|
|
1011
|
+
+ ``vip`` – The distribution accepts HTTPS connections from all viewers including those that don't support SNI. This is not recommended, and results in additional monthly charges from CloudFront.
|
|
1012
|
+
+ ``static-ip`` - Do not specify this value unless your distribution has been enabled for this feature by the CloudFront team. If you have a use case that requires static IP addresses for a distribution, contact CloudFront through the [Center](https://docs.aws.amazon.com/support/home).
|
|
1000
1013
|
|
|
1001
1014
|
If the distribution uses the CloudFront domain name such as ``d111111abcdef8.cloudfront.net``, don't set a value for this field.
|
|
1002
1015
|
*/
|
|
@@ -1,18 +1,46 @@
|
|
|
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::DistributionTenant`.
|
|
5
|
+
* The distribution tenant.
|
|
5
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html}
|
|
6
7
|
*/
|
|
7
8
|
export type CloudFrontDistributionTenantProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* The ID of the connection group for the distribution tenant. If you don't specify a connection group, CloudFront uses the default connection group.
|
|
11
|
+
*/
|
|
8
12
|
ConnectionGroupId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
|
|
15
|
+
*/
|
|
9
16
|
Customizations?: Customizations;
|
|
17
|
+
/**
|
|
18
|
+
* The ID of the multi-tenant distribution.
|
|
19
|
+
*/
|
|
10
20
|
DistributionId: string;
|
|
21
|
+
/**
|
|
22
|
+
* The domains associated with the distribution tenant.
|
|
23
|
+
*/
|
|
11
24
|
Domains: string[];
|
|
25
|
+
/**
|
|
26
|
+
* Indicates whether the distribution tenant is in an enabled state. If disabled, the distribution tenant won't serve traffic.
|
|
27
|
+
*/
|
|
12
28
|
Enabled?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* An object that represents the request for the Amazon CloudFront managed ACM certificate.
|
|
31
|
+
*/
|
|
13
32
|
ManagedCertificateRequest?: ManagedCertificateRequest;
|
|
33
|
+
/**
|
|
34
|
+
* The name of the distribution tenant.
|
|
35
|
+
*/
|
|
14
36
|
Name: string;
|
|
37
|
+
/**
|
|
38
|
+
* A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
|
|
39
|
+
*/
|
|
15
40
|
Parameters?: Parameter[];
|
|
41
|
+
/**
|
|
42
|
+
* A complex type that contains zero or more ``Tag`` elements.
|
|
43
|
+
*/
|
|
16
44
|
Tags?: Tag[];
|
|
17
45
|
};
|
|
18
46
|
/**
|
|
@@ -23,7 +51,13 @@ export type CloudFrontDistributionTenantAttributes = {
|
|
|
23
51
|
Arn: string;
|
|
24
52
|
CreatedTime: string;
|
|
25
53
|
DomainResults: {
|
|
54
|
+
/**
|
|
55
|
+
* The specified domain.
|
|
56
|
+
*/
|
|
26
57
|
Domain: string;
|
|
58
|
+
/**
|
|
59
|
+
* Whether the domain is active or inactive.
|
|
60
|
+
*/
|
|
27
61
|
Status: "active" | "inactive";
|
|
28
62
|
}[];
|
|
29
63
|
ETag: string;
|
|
@@ -33,71 +67,138 @@ export type CloudFrontDistributionTenantAttributes = {
|
|
|
33
67
|
};
|
|
34
68
|
/**
|
|
35
69
|
* Type definition for `AWS::CloudFront::DistributionTenant.Certificate`.
|
|
70
|
+
* The ACMlong (ACM) certificate associated with your distribution.
|
|
36
71
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-certificate.html}
|
|
37
72
|
*/
|
|
38
73
|
export type Certificate = {
|
|
74
|
+
/**
|
|
75
|
+
* The Amazon Resource Name (ARN) of the ACM certificate.
|
|
76
|
+
*/
|
|
39
77
|
Arn?: string;
|
|
40
78
|
};
|
|
41
79
|
/**
|
|
42
80
|
* Type definition for `AWS::CloudFront::DistributionTenant.Customizations`.
|
|
81
|
+
* Customizations for the distribution tenant. For each distribution tenant, you can specify the geographic restrictions, and the Amazon Resource Names (ARNs) for the ACM certificate and WAF web ACL. These are specific values that you can override or disable from the multi-tenant distribution that was used to create the distribution tenant.
|
|
43
82
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-customizations.html}
|
|
44
83
|
*/
|
|
45
84
|
export type Customizations = {
|
|
85
|
+
/**
|
|
86
|
+
* The ACMlong (ACM) certificate.
|
|
87
|
+
*/
|
|
46
88
|
Certificate?: Certificate;
|
|
89
|
+
/**
|
|
90
|
+
* The geographic restrictions.
|
|
91
|
+
*/
|
|
47
92
|
GeoRestrictions?: GeoRestrictionCustomization;
|
|
93
|
+
/**
|
|
94
|
+
* The WAF web ACL.
|
|
95
|
+
*/
|
|
48
96
|
WebAcl?: WebAclCustomization;
|
|
49
97
|
};
|
|
50
98
|
/**
|
|
51
99
|
* Type definition for `AWS::CloudFront::DistributionTenant.DomainResult`.
|
|
100
|
+
* The details about the domain result.
|
|
52
101
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-domainresult.html}
|
|
53
102
|
*/
|
|
54
103
|
export type DomainResult = {
|
|
104
|
+
/**
|
|
105
|
+
* The specified domain.
|
|
106
|
+
*/
|
|
55
107
|
Domain?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Whether the domain is active or inactive.
|
|
110
|
+
*/
|
|
56
111
|
Status?: "active" | "inactive";
|
|
57
112
|
};
|
|
58
113
|
/**
|
|
59
114
|
* Type definition for `AWS::CloudFront::DistributionTenant.GeoRestrictionCustomization`.
|
|
115
|
+
* The customizations that you specified for the distribution tenant for geographic restrictions.
|
|
60
116
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-georestrictioncustomization.html}
|
|
61
117
|
*/
|
|
62
118
|
export type GeoRestrictionCustomization = {
|
|
119
|
+
/**
|
|
120
|
+
* The locations for geographic restrictions.
|
|
121
|
+
*/
|
|
63
122
|
Locations?: string[];
|
|
123
|
+
/**
|
|
124
|
+
* The method that you want to use to restrict distribution of your content by country:
|
|
125
|
+
+ ``none``: No geographic restriction is enabled, meaning access to content is not restricted by client geo location.
|
|
126
|
+
+ ``blacklist``: The ``Location`` elements specify the countries in which you don't want CloudFront to distribute your content.
|
|
127
|
+
+ ``whitelist``: The ``Location`` elements specify the countries in which you want CloudFront to distribute your content.
|
|
128
|
+
*/
|
|
64
129
|
RestrictionType?: "blacklist" | "whitelist" | "none";
|
|
65
130
|
};
|
|
66
131
|
/**
|
|
67
132
|
* Type definition for `AWS::CloudFront::DistributionTenant.ManagedCertificateRequest`.
|
|
133
|
+
* An object that represents the request for the Amazon CloudFront managed ACM certificate.
|
|
68
134
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-managedcertificaterequest.html}
|
|
69
135
|
*/
|
|
70
136
|
export type ManagedCertificateRequest = {
|
|
137
|
+
/**
|
|
138
|
+
* You can opt out of certificate transparency logging by specifying the ``disabled`` option. Opt in by specifying ``enabled``. For more information, see [Certificate Transparency Logging](https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency) in the *User Guide*.
|
|
139
|
+
*/
|
|
71
140
|
CertificateTransparencyLoggingPreference?: "enabled" | "disabled";
|
|
141
|
+
/**
|
|
142
|
+
* The primary domain name associated with the CloudFront managed ACM certificate.
|
|
143
|
+
*/
|
|
72
144
|
PrimaryDomainName?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Specify how the HTTP validation token will be served when requesting the CloudFront managed ACM certificate.
|
|
147
|
+
+ For ``cloudfront``, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately.
|
|
148
|
+
+ For ``self-hosted``, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.
|
|
149
|
+
*/
|
|
73
150
|
ValidationTokenHost?: "cloudfront" | "self-hosted";
|
|
74
151
|
};
|
|
75
152
|
/**
|
|
76
153
|
* Type definition for `AWS::CloudFront::DistributionTenant.Parameter`.
|
|
154
|
+
* A list of parameter values to add to the resource. A parameter is specified as a key-value pair. A valid parameter value must exist for any parameter that is marked as required in the multi-tenant distribution.
|
|
77
155
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-parameter.html}
|
|
78
156
|
*/
|
|
79
157
|
export type Parameter = {
|
|
158
|
+
/**
|
|
159
|
+
* The parameter name.
|
|
160
|
+
*/
|
|
80
161
|
Name?: string;
|
|
162
|
+
/**
|
|
163
|
+
* The parameter value.
|
|
164
|
+
*/
|
|
81
165
|
Value?: string;
|
|
82
166
|
};
|
|
83
167
|
/**
|
|
84
168
|
* Type definition for `AWS::CloudFront::DistributionTenant.Tag`.
|
|
169
|
+
* A complex type that contains ``Tag`` key and ``Tag`` value.
|
|
85
170
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-tag.html}
|
|
86
171
|
*/
|
|
87
172
|
export type Tag = {
|
|
173
|
+
/**
|
|
174
|
+
* A string that contains ``Tag`` key.
|
|
175
|
+
The string length should be between 1 and 128 characters. Valid characters include ``a-z``, ``A-Z``, ``0-9``, space, and the special characters ``_ - . : / = + @``.
|
|
176
|
+
*/
|
|
88
177
|
Key: string;
|
|
178
|
+
/**
|
|
179
|
+
* A string that contains an optional ``Tag`` value.
|
|
180
|
+
The string length should be between 0 and 256 characters. Valid characters include ``a-z``, ``A-Z``, ``0-9``, space, and the special characters ``_ - . : / = + @``.
|
|
181
|
+
*/
|
|
89
182
|
Value: string;
|
|
90
183
|
};
|
|
91
184
|
/**
|
|
92
185
|
* Type definition for `AWS::CloudFront::DistributionTenant.WebAclCustomization`.
|
|
186
|
+
* The WAF web ACL customization specified for the distribution tenant.
|
|
93
187
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distributiontenant-webaclcustomization.html}
|
|
94
188
|
*/
|
|
95
189
|
export type WebAclCustomization = {
|
|
190
|
+
/**
|
|
191
|
+
* The action for the WAF web ACL customization. You can specify ``override`` to specify a separate WAF web ACL for the distribution tenant. If you specify ``disable``, the distribution tenant won't have WAF web ACL protections and won't inherit from the multi-tenant distribution.
|
|
192
|
+
*/
|
|
96
193
|
Action?: "override" | "disable";
|
|
194
|
+
/**
|
|
195
|
+
* The Amazon Resource Name (ARN) of the WAF web ACL.
|
|
196
|
+
*/
|
|
97
197
|
Arn?: string;
|
|
98
198
|
};
|
|
99
199
|
/**
|
|
100
|
-
* Resource
|
|
200
|
+
* Resource type definition for `AWS::CloudFront::DistributionTenant`.
|
|
201
|
+
* The distribution tenant.
|
|
101
202
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html}
|
|
102
203
|
*/
|
|
103
204
|
export declare class CloudFrontDistributionTenant extends $Resource<"AWS::CloudFront::DistributionTenant", CloudFrontDistributionTenantProperties, CloudFrontDistributionTenantAttributes> {
|
|
@@ -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::DistributionTenant`.
|
|
4
|
+
* The distribution tenant.
|
|
4
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-distributiontenant.html}
|
|
5
6
|
*/
|
|
6
7
|
export class CloudFrontDistributionTenant extends $Resource {
|
|
@@ -44,9 +44,9 @@ export type OriginAccessControlConfig = {
|
|
|
44
44
|
/**
|
|
45
45
|
* Specifies which requests CloudFront signs (adds authentication information to). Specify ``always`` for the most common use case. For more information, see [origin access control advanced settings](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings) in the *Amazon CloudFront Developer Guide*.
|
|
46
46
|
This field can have one of the following values:
|
|
47
|
-
+
|
|
48
|
-
+
|
|
49
|
-
+
|
|
47
|
+
+ ``always`` – CloudFront signs all origin requests, overwriting the ``Authorization`` header from the viewer request if one exists.
|
|
48
|
+
+ ``never`` – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control.
|
|
49
|
+
+ ``no-override`` – If the viewer request doesn't contain the ``Authorization`` header, then CloudFront signs the origin request. If the viewer request contains the ``Authorization`` header, then CloudFront doesn't sign the origin request and instead passes along the ``Authorization`` header from the viewer request. *WARNING: To pass along the Authorization header from the viewer request, you must add the Authorization header to a cache policy for all cache behaviors that use origins associated with this origin access control.*
|
|
50
50
|
* @pattern `^(never|no-override|always)$`
|
|
51
51
|
*/
|
|
52
52
|
SigningBehavior: string;
|
|
@@ -33,10 +33,10 @@ export type CloudFrontOriginRequestPolicyAttributes = {
|
|
|
33
33
|
export type CookiesConfig = {
|
|
34
34
|
/**
|
|
35
35
|
* Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:
|
|
36
|
-
+
|
|
37
|
-
+
|
|
38
|
-
+
|
|
39
|
-
+
|
|
36
|
+
+ ``none`` – No cookies in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to ``none``, any cookies that are listed in a ``CachePolicy``*are* included in origin requests.
|
|
37
|
+
+ ``whitelist`` – Only the cookies in viewer requests that are listed in the ``CookieNames`` type are included in requests that CloudFront sends to the origin.
|
|
38
|
+
+ ``all`` – All cookies in viewer requests are included in requests that CloudFront sends to the origin.
|
|
39
|
+
+ ``allExcept`` – All cookies in viewer requests are included in requests that CloudFront sends to the origin, *except* for those listed in the ``CookieNames`` type, which are not included.
|
|
40
40
|
* @pattern `^(none|whitelist|all|allExcept)$`
|
|
41
41
|
*/
|
|
42
42
|
CookieBehavior: string;
|
|
@@ -53,11 +53,11 @@ export type CookiesConfig = {
|
|
|
53
53
|
export type HeadersConfig = {
|
|
54
54
|
/**
|
|
55
55
|
* Determines whether any HTTP headers are included in requests that CloudFront sends to the origin. Valid values are:
|
|
56
|
-
+
|
|
57
|
-
+
|
|
58
|
-
+
|
|
59
|
-
+
|
|
60
|
-
+
|
|
56
|
+
+ ``none`` – No HTTP headers in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to ``none``, any headers that are listed in a ``CachePolicy``*are* included in origin requests.
|
|
57
|
+
+ ``whitelist`` – Only the HTTP headers that are listed in the ``Headers`` type are included in requests that CloudFront sends to the origin.
|
|
58
|
+
+ ``allViewer`` – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.
|
|
59
|
+
+ ``allViewerAndWhitelistCloudFront`` – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the ``Headers`` type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.
|
|
60
|
+
+ ``allExcept`` – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin, *except* for those listed in the ``Headers`` type, which are not included.
|
|
61
61
|
* @pattern `^(none|whitelist|allViewer|allViewerAndWhitelistCloudFront|allExcept)$`
|
|
62
62
|
*/
|
|
63
63
|
HeaderBehavior: string;
|
|
@@ -107,10 +107,10 @@ export type OriginRequestPolicyConfig = {
|
|
|
107
107
|
export type QueryStringsConfig = {
|
|
108
108
|
/**
|
|
109
109
|
* Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:
|
|
110
|
-
+
|
|
111
|
-
+
|
|
112
|
-
+
|
|
113
|
-
+
|
|
110
|
+
+ ``none`` – No query strings in viewer requests are included in requests that CloudFront sends to the origin. Even when this field is set to ``none``, any query strings that are listed in a ``CachePolicy``*are* included in origin requests.
|
|
111
|
+
+ ``whitelist`` – Only the query strings in viewer requests that are listed in the ``QueryStringNames`` type are included in requests that CloudFront sends to the origin.
|
|
112
|
+
+ ``all`` – All query strings in viewer requests are included in requests that CloudFront sends to the origin.
|
|
113
|
+
+ ``allExcept`` – All query strings in viewer requests are included in requests that CloudFront sends to the origin, *except* for those listed in the ``QueryStringNames`` type, which are not included.
|
|
114
114
|
* @pattern `^(none|whitelist|all|allExcept)$`
|
|
115
115
|
*/
|
|
116
116
|
QueryStringBehavior: string;
|
|
@@ -37,12 +37,12 @@ export type CloudFrontRealtimeLogConfigAttributes = {
|
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
39
|
* Type definition for `AWS::CloudFront::RealtimeLogConfig.EndPoint`.
|
|
40
|
-
* Contains information about the Amazon Kinesis data stream where you are sending real-time log data
|
|
40
|
+
* Contains information about the Amazon Kinesis data stream where you are sending real-time log data for this real-time log configuration.
|
|
41
41
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-realtimelogconfig-endpoint.html}
|
|
42
42
|
*/
|
|
43
43
|
export type EndPoint = {
|
|
44
44
|
/**
|
|
45
|
-
* Contains information about the Amazon Kinesis data stream where you are sending real-time log data.
|
|
45
|
+
* Contains information about the Amazon Kinesis data stream where you are sending real-time log data in a real-time log configuration.
|
|
46
46
|
*/
|
|
47
47
|
KinesisStreamConfig: KinesisStreamConfig;
|
|
48
48
|
/**
|
|
@@ -236,6 +236,10 @@ export type EnvironmentVariable = {
|
|
|
236
236
|
* The name of the environment variable.
|
|
237
237
|
*/
|
|
238
238
|
Name: string;
|
|
239
|
+
/**
|
|
240
|
+
* The type of the environment variable.
|
|
241
|
+
*/
|
|
242
|
+
Type?: "PLAINTEXT" | "SECRETS_MANAGER";
|
|
239
243
|
/**
|
|
240
244
|
* The value of the environment variable.
|
|
241
245
|
*/
|
|
@@ -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 {
|
package/lib/AWS-EC2-Host.d.ts
CHANGED
|
@@ -37,6 +37,10 @@ export type EC2HostProperties = {
|
|
|
37
37
|
* The Amazon Resource Name (ARN) of the Amazon Web Services Outpost on which to allocate the Dedicated Host.
|
|
38
38
|
*/
|
|
39
39
|
OutpostArn?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Any tags assigned to the Host.
|
|
42
|
+
*/
|
|
43
|
+
Tags?: Tag[];
|
|
40
44
|
};
|
|
41
45
|
/**
|
|
42
46
|
* Attribute type definition for `AWS::EC2::Host`.
|
|
@@ -48,6 +52,14 @@ export type EC2HostAttributes = {
|
|
|
48
52
|
*/
|
|
49
53
|
HostId: string;
|
|
50
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* Type definition for `AWS::EC2::Host.Tag`.
|
|
57
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-host-tag.html}
|
|
58
|
+
*/
|
|
59
|
+
export type Tag = {
|
|
60
|
+
Key: string;
|
|
61
|
+
Value: string;
|
|
62
|
+
};
|
|
51
63
|
/**
|
|
52
64
|
* Resource Type definition for AWS::EC2::Host
|
|
53
65
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html}
|
|
@@ -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 {
|
|
@@ -143,12 +143,22 @@ export type GameLiftFleetProperties = {
|
|
|
143
143
|
* @maxLength `1024`
|
|
144
144
|
*/
|
|
145
145
|
ServerLaunchPath?: string;
|
|
146
|
+
/**
|
|
147
|
+
* An array of key-value pairs to apply to this resource.
|
|
148
|
+
* @maxLength `200`
|
|
149
|
+
*/
|
|
150
|
+
Tags?: Tag[];
|
|
146
151
|
};
|
|
147
152
|
/**
|
|
148
153
|
* Attribute type definition for `AWS::GameLift::Fleet`.
|
|
149
154
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-fleet.html#aws-resource-gamelift-fleet-return-values}
|
|
150
155
|
*/
|
|
151
156
|
export type GameLiftFleetAttributes = {
|
|
157
|
+
/**
|
|
158
|
+
* The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift Servers Fleet resource and uniquely identifies it. ARNs are unique across all Regions. In a GameLift Fleet ARN, the resource ID matches the FleetId value.
|
|
159
|
+
* @pattern `^arn:.*:fleet/[a-z]*fleet-[a-zA-Z0-9\-]+$`
|
|
160
|
+
*/
|
|
161
|
+
FleetArn: string;
|
|
152
162
|
/**
|
|
153
163
|
* Unique fleet ID
|
|
154
164
|
* @pattern `^fleet-\S+`
|
|
@@ -380,6 +390,25 @@ export type ServerProcess = {
|
|
|
380
390
|
*/
|
|
381
391
|
Parameters?: string;
|
|
382
392
|
};
|
|
393
|
+
/**
|
|
394
|
+
* Type definition for `AWS::GameLift::Fleet.Tag`.
|
|
395
|
+
* A key-value pair to associate with a resource.
|
|
396
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-gamelift-fleet-tag.html}
|
|
397
|
+
*/
|
|
398
|
+
export type Tag = {
|
|
399
|
+
/**
|
|
400
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length.
|
|
401
|
+
* @minLength `1`
|
|
402
|
+
* @maxLength `128`
|
|
403
|
+
*/
|
|
404
|
+
Key: string;
|
|
405
|
+
/**
|
|
406
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length.
|
|
407
|
+
* @minLength `0`
|
|
408
|
+
* @maxLength `256`
|
|
409
|
+
*/
|
|
410
|
+
Value: string;
|
|
411
|
+
};
|
|
383
412
|
/**
|
|
384
413
|
* Type definition for `AWS::GameLift::Fleet.TargetConfiguration`.
|
|
385
414
|
* Settings for a target-based scaling policy. A target-based policy tracks a particular fleet metric specifies a target value for the metric. As player usage changes, the policy triggers Amazon GameLift to adjust capacity so that the metric returns to the target value. The target configuration specifies settings as needed for the target based policy, including the target value.
|
|
@@ -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
|
/**
|
|
@@ -62,8 +62,8 @@ export type NotificationSetting = {
|
|
|
62
62
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html}
|
|
63
63
|
*/
|
|
64
64
|
export type Source = {
|
|
65
|
-
SourceData
|
|
66
|
-
SourceType
|
|
65
|
+
SourceData: SourceData;
|
|
66
|
+
SourceType: TrustAnchorType;
|
|
67
67
|
};
|
|
68
68
|
/**
|
|
69
69
|
* Type definition for `AWS::RolesAnywhere::TrustAnchor.SourceData`.
|
|
@@ -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}$`
|