@awboost/cfn-resource-types 0.1.335 → 0.1.337
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-Bedrock-Blueprint.d.ts +1 -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-EC2-Host.d.ts +12 -0
- package/lib/AWS-GameLift-Fleet.d.ts +29 -0
- package/lib/AWS-RolesAnywhere-TrustAnchor.d.ts +2 -2
- package/package.json +1 -1
|
@@ -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
|
*/
|
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}
|
|
@@ -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.
|
|
@@ -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`.
|