@awboost/cfn-resource-types 0.1.197 → 0.1.198
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-ApiGateway-BasePathMappingV2.d.ts +43 -0
- package/lib/AWS-ApiGateway-BasePathMappingV2.js +12 -0
- package/lib/AWS-ApiGateway-DomainNameAccessAssociation.d.ts +51 -0
- package/lib/AWS-ApiGateway-DomainNameAccessAssociation.js +12 -0
- package/lib/AWS-ApiGateway-DomainNameV2.d.ts +50 -0
- package/lib/AWS-ApiGateway-DomainNameV2.js +12 -0
- package/lib/AWS-ApplicationAutoScaling-ScalingPolicy.d.ts +146 -0
- package/lib/AWS-AutoScaling-AutoScalingGroup.d.ts +17 -0
- package/lib/AWS-CloudFront-CachePolicy.d.ts +105 -12
- package/lib/AWS-CloudFront-CachePolicy.js +7 -1
- package/lib/AWS-CloudFront-CloudFrontOriginAccessIdentity.d.ts +11 -2
- package/lib/AWS-CloudFront-CloudFrontOriginAccessIdentity.js +2 -1
- package/lib/AWS-CloudFront-ContinuousDeploymentPolicy.d.ts +52 -2
- package/lib/AWS-CloudFront-ContinuousDeploymentPolicy.js +4 -1
- package/lib/AWS-CloudFront-Distribution.d.ts +53 -11
- package/lib/AWS-CloudFront-Function.d.ts +42 -2
- package/lib/AWS-CloudFront-Function.js +5 -1
- package/lib/AWS-CloudFront-KeyGroup.d.ts +20 -2
- package/lib/AWS-CloudFront-KeyGroup.js +3 -1
- package/lib/AWS-CloudFront-KeyValueStore.d.ts +20 -2
- package/lib/AWS-CloudFront-KeyValueStore.js +2 -1
- package/lib/AWS-CloudFront-MonitoringSubscription.d.ts +18 -2
- package/lib/AWS-CloudFront-MonitoringSubscription.js +2 -1
- package/lib/AWS-CloudFront-OriginAccessControl.d.ts +29 -4
- package/lib/AWS-CloudFront-OriginAccessControl.js +4 -1
- package/lib/AWS-CloudFront-OriginRequestPolicy.d.ts +75 -8
- package/lib/AWS-CloudFront-OriginRequestPolicy.js +8 -1
- package/lib/AWS-CloudFront-PublicKey.d.ts +20 -2
- package/lib/AWS-CloudFront-PublicKey.js +2 -1
- package/lib/AWS-CloudFront-RealtimeLogConfig.d.ts +28 -4
- package/lib/AWS-CloudFront-RealtimeLogConfig.js +2 -1
- package/lib/AWS-CloudFront-ResponseHeadersPolicy.d.ts +213 -6
- package/lib/AWS-CloudFront-ResponseHeadersPolicy.js +5 -1
- package/lib/AWS-CloudTrail-Dashboard.d.ts +129 -0
- package/lib/AWS-CloudTrail-Dashboard.js +13 -0
- package/lib/AWS-Connect-EmailAddress.d.ts +79 -0
- package/lib/AWS-Connect-EmailAddress.js +12 -0
- package/lib/AWS-Connect-HoursOfOperation.d.ts +82 -0
- package/lib/AWS-CustomerProfiles-SegmentDefinition.d.ts +424 -0
- package/lib/AWS-CustomerProfiles-SegmentDefinition.js +13 -0
- package/lib/AWS-DynamoDB-Table.d.ts +9 -0
- package/lib/AWS-EC2-LaunchTemplate.d.ts +28 -0
- package/lib/AWS-IVS-IngestConfiguration.d.ts +92 -0
- package/lib/AWS-IVS-IngestConfiguration.js +12 -0
- package/lib/AWS-IoTFleetWise-DecoderManifest.d.ts +63 -2
- package/lib/AWS-IoTFleetWise-StateTemplate.d.ts +75 -0
- package/lib/AWS-IoTFleetWise-StateTemplate.js +12 -0
- package/lib/AWS-IoTSiteWise-Portal.d.ts +25 -0
- package/lib/AWS-Lambda-EventSourceMapping.d.ts +19 -0
- package/lib/AWS-M2-Deployment.d.ts +48 -0
- package/lib/AWS-M2-Deployment.js +13 -0
- package/lib/AWS-OpenSearchServerless-SecurityConfig.d.ts +41 -1
- package/lib/AWS-RDS-GlobalCluster.d.ts +11 -0
- package/lib/AWS-ResourceGroups-TagSyncTask.d.ts +78 -0
- package/lib/AWS-ResourceGroups-TagSyncTask.js +13 -0
- package/lib/AWS-S3Express-DirectoryBucket.d.ts +54 -0
- package/lib/AWS-SageMaker-Cluster.d.ts +1 -0
- package/lib/AWS-SageMaker-Domain.d.ts +1 -1
- package/lib/AWS-SageMaker-ModelPackage.d.ts +1 -1
- package/lib/AWS-SageMaker-UserProfile.d.ts +1 -1
- package/lib/AWS-Synthetics-Canary.d.ts +4 -0
- package/lib/AWS-Wisdom-MessageTemplate.d.ts +668 -0
- package/lib/AWS-Wisdom-MessageTemplate.js +12 -0
- package/lib/AWS-Wisdom-MessageTemplateVersion.d.ts +45 -0
- package/lib/AWS-Wisdom-MessageTemplateVersion.js +13 -0
- package/lib/AWS-WorkSpacesWeb-DataProtectionSettings.d.ts +182 -0
- package/lib/AWS-WorkSpacesWeb-DataProtectionSettings.js +12 -0
- package/lib/AWS-WorkSpacesWeb-Portal.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,10 +1,17 @@
|
|
|
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::ResponseHeadersPolicy`.
|
|
5
|
+
* A response headers policy.
|
|
6
|
+
A response headers policy contains information about a set of HTTP response headers.
|
|
7
|
+
After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.
|
|
8
|
+
For more information, see [Adding or removing HTTP headers in CloudFront responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html) in the *Amazon CloudFront Developer Guide*.
|
|
5
9
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-responseheaderspolicy.html}
|
|
6
10
|
*/
|
|
7
11
|
export type CloudFrontResponseHeadersPolicyProperties = {
|
|
12
|
+
/**
|
|
13
|
+
* A response headers policy configuration.
|
|
14
|
+
*/
|
|
8
15
|
ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfig;
|
|
9
16
|
};
|
|
10
17
|
/**
|
|
@@ -17,144 +24,308 @@ export type CloudFrontResponseHeadersPolicyAttributes = {
|
|
|
17
24
|
};
|
|
18
25
|
/**
|
|
19
26
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowHeaders`.
|
|
27
|
+
* A list of HTTP header names that CloudFront includes as values for the ``Access-Control-Allow-Headers`` HTTP response header.
|
|
28
|
+
For more information about the ``Access-Control-Allow-Headers`` HTTP response header, see [Access-Control-Allow-Headers](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) in the MDN Web Docs.
|
|
20
29
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowheaders.html}
|
|
21
30
|
*/
|
|
22
31
|
export type AccessControlAllowHeaders = {
|
|
32
|
+
/**
|
|
33
|
+
* The list of HTTP header names. You can specify ``*`` to allow all headers.
|
|
34
|
+
*/
|
|
23
35
|
Items: string[];
|
|
24
36
|
};
|
|
25
37
|
/**
|
|
26
38
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowMethods`.
|
|
39
|
+
* A list of HTTP methods that CloudFront includes as values for the ``Access-Control-Allow-Methods`` HTTP response header.
|
|
40
|
+
For more information about the ``Access-Control-Allow-Methods`` HTTP response header, see [Access-Control-Allow-Methods](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods) in the MDN Web Docs.
|
|
27
41
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowmethods.html}
|
|
28
42
|
*/
|
|
29
43
|
export type AccessControlAllowMethods = {
|
|
44
|
+
/**
|
|
45
|
+
* The list of HTTP methods. Valid values are:
|
|
46
|
+
+ ``GET``
|
|
47
|
+
+ ``DELETE``
|
|
48
|
+
+ ``HEAD``
|
|
49
|
+
+ ``OPTIONS``
|
|
50
|
+
+ ``PATCH``
|
|
51
|
+
+ ``POST``
|
|
52
|
+
+ ``PUT``
|
|
53
|
+
+ ``ALL``
|
|
54
|
+
|
|
55
|
+
``ALL`` is a special value that includes all of the listed HTTP methods.
|
|
56
|
+
*/
|
|
30
57
|
Items: string[];
|
|
31
58
|
};
|
|
32
59
|
/**
|
|
33
60
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.AccessControlAllowOrigins`.
|
|
61
|
+
* A list of origins (domain names) that CloudFront can use as the value for the ``Access-Control-Allow-Origin`` HTTP response header.
|
|
62
|
+
For more information about the ``Access-Control-Allow-Origin`` HTTP response header, see [Access-Control-Allow-Origin](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin) in the MDN Web Docs.
|
|
34
63
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolalloworigins.html}
|
|
35
64
|
*/
|
|
36
65
|
export type AccessControlAllowOrigins = {
|
|
66
|
+
/**
|
|
67
|
+
* The list of origins (domain names). You can specify ``*`` to allow all origins.
|
|
68
|
+
*/
|
|
37
69
|
Items: string[];
|
|
38
70
|
};
|
|
39
71
|
/**
|
|
40
72
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.AccessControlExposeHeaders`.
|
|
73
|
+
* A list of HTTP headers that CloudFront includes as values for the ``Access-Control-Expose-Headers`` HTTP response header.
|
|
74
|
+
For more information about the ``Access-Control-Expose-Headers`` HTTP response header, see [Access-Control-Expose-Headers](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) in the MDN Web Docs.
|
|
41
75
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolexposeheaders.html}
|
|
42
76
|
*/
|
|
43
77
|
export type AccessControlExposeHeaders = {
|
|
78
|
+
/**
|
|
79
|
+
* The list of HTTP headers. You can specify ``*`` to expose all headers.
|
|
80
|
+
*/
|
|
44
81
|
Items: string[];
|
|
45
82
|
};
|
|
46
83
|
/**
|
|
47
84
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.ContentSecurityPolicy`.
|
|
85
|
+
* The policy directives and their values that CloudFront includes as values for the ``Content-Security-Policy`` HTTP response header.
|
|
86
|
+
For more information about the ``Content-Security-Policy`` HTTP response header, see [Content-Security-Policy](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) in the MDN Web Docs.
|
|
48
87
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-contentsecuritypolicy.html}
|
|
49
88
|
*/
|
|
50
89
|
export type ContentSecurityPolicy = {
|
|
90
|
+
/**
|
|
91
|
+
* The policy directives and their values that CloudFront includes as values for the ``Content-Security-Policy`` HTTP response header.
|
|
92
|
+
For more information about the ``Content-Security-Policy`` HTTP response header, see [Content-Security-Policy](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) in the MDN Web Docs.
|
|
93
|
+
*/
|
|
51
94
|
ContentSecurityPolicy: string;
|
|
95
|
+
/**
|
|
96
|
+
* A Boolean that determines whether CloudFront overrides the ``Content-Security-Policy`` HTTP response header received from the origin with the one specified in this response headers policy.
|
|
97
|
+
*/
|
|
52
98
|
Override: boolean;
|
|
53
99
|
};
|
|
54
100
|
/**
|
|
55
101
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.ContentTypeOptions`.
|
|
102
|
+
* Determines whether CloudFront includes the ``X-Content-Type-Options`` HTTP response header with its value set to ``nosniff``.
|
|
103
|
+
For more information about the ``X-Content-Type-Options`` HTTP response header, see [X-Content-Type-Options](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options) in the MDN Web Docs.
|
|
56
104
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-contenttypeoptions.html}
|
|
57
105
|
*/
|
|
58
106
|
export type ContentTypeOptions = {
|
|
107
|
+
/**
|
|
108
|
+
* A Boolean that determines whether CloudFront overrides the ``X-Content-Type-Options`` HTTP response header received from the origin with the one specified in this response headers policy.
|
|
109
|
+
*/
|
|
59
110
|
Override: boolean;
|
|
60
111
|
};
|
|
61
112
|
/**
|
|
62
113
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.CorsConfig`.
|
|
114
|
+
* A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS). CloudFront adds these headers to HTTP responses that it sends for CORS requests that match a cache behavior associated with this response headers policy.
|
|
115
|
+
For more information about CORS, see [Cross-Origin Resource Sharing (CORS)](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) in the MDN Web Docs.
|
|
63
116
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-corsconfig.html}
|
|
64
117
|
*/
|
|
65
118
|
export type CorsConfig = {
|
|
119
|
+
/**
|
|
120
|
+
* A Boolean that CloudFront uses as the value for the ``Access-Control-Allow-Credentials`` HTTP response header.
|
|
121
|
+
For more information about the ``Access-Control-Allow-Credentials`` HTTP response header, see [Access-Control-Allow-Credentials](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials) in the MDN Web Docs.
|
|
122
|
+
*/
|
|
66
123
|
AccessControlAllowCredentials: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* A list of HTTP header names that CloudFront includes as values for the ``Access-Control-Allow-Headers`` HTTP response header.
|
|
126
|
+
For more information about the ``Access-Control-Allow-Headers`` HTTP response header, see [Access-Control-Allow-Headers](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers) in the MDN Web Docs.
|
|
127
|
+
*/
|
|
67
128
|
AccessControlAllowHeaders: AccessControlAllowHeaders;
|
|
129
|
+
/**
|
|
130
|
+
* A list of HTTP methods that CloudFront includes as values for the ``Access-Control-Allow-Methods`` HTTP response header.
|
|
131
|
+
For more information about the ``Access-Control-Allow-Methods`` HTTP response header, see [Access-Control-Allow-Methods](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods) in the MDN Web Docs.
|
|
132
|
+
*/
|
|
68
133
|
AccessControlAllowMethods: AccessControlAllowMethods;
|
|
134
|
+
/**
|
|
135
|
+
* A list of origins (domain names) that CloudFront can use as the value for the ``Access-Control-Allow-Origin`` HTTP response header.
|
|
136
|
+
For more information about the ``Access-Control-Allow-Origin`` HTTP response header, see [Access-Control-Allow-Origin](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin) in the MDN Web Docs.
|
|
137
|
+
*/
|
|
69
138
|
AccessControlAllowOrigins: AccessControlAllowOrigins;
|
|
139
|
+
/**
|
|
140
|
+
* A list of HTTP headers that CloudFront includes as values for the ``Access-Control-Expose-Headers`` HTTP response header.
|
|
141
|
+
For more information about the ``Access-Control-Expose-Headers`` HTTP response header, see [Access-Control-Expose-Headers](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) in the MDN Web Docs.
|
|
142
|
+
*/
|
|
70
143
|
AccessControlExposeHeaders?: AccessControlExposeHeaders;
|
|
144
|
+
/**
|
|
145
|
+
* A number that CloudFront uses as the value for the ``Access-Control-Max-Age`` HTTP response header.
|
|
146
|
+
For more information about the ``Access-Control-Max-Age`` HTTP response header, see [Access-Control-Max-Age](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age) in the MDN Web Docs.
|
|
147
|
+
*/
|
|
71
148
|
AccessControlMaxAgeSec?: number;
|
|
149
|
+
/**
|
|
150
|
+
* A Boolean that determines whether CloudFront overrides HTTP response headers received from the origin with the ones specified in this response headers policy.
|
|
151
|
+
*/
|
|
72
152
|
OriginOverride: boolean;
|
|
73
153
|
};
|
|
74
154
|
/**
|
|
75
155
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.CustomHeader`.
|
|
156
|
+
* An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.
|
|
76
157
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheader.html}
|
|
77
158
|
*/
|
|
78
159
|
export type CustomHeader = {
|
|
160
|
+
/**
|
|
161
|
+
* The HTTP response header name.
|
|
162
|
+
*/
|
|
79
163
|
Header: string;
|
|
164
|
+
/**
|
|
165
|
+
* A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.
|
|
166
|
+
*/
|
|
80
167
|
Override: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* The value for the HTTP response header.
|
|
170
|
+
*/
|
|
81
171
|
Value: string;
|
|
82
172
|
};
|
|
83
173
|
/**
|
|
84
174
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.CustomHeadersConfig`.
|
|
175
|
+
* A list of HTTP response header names and their values. CloudFront includes these headers in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.
|
|
85
176
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheadersconfig.html}
|
|
86
177
|
*/
|
|
87
178
|
export type CustomHeadersConfig = {
|
|
179
|
+
/**
|
|
180
|
+
* The list of HTTP response headers and their values.
|
|
181
|
+
*/
|
|
88
182
|
Items: CustomHeader[];
|
|
89
183
|
};
|
|
90
184
|
/**
|
|
91
185
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.FrameOptions`.
|
|
186
|
+
* Determines whether CloudFront includes the ``X-Frame-Options`` HTTP response header and the header's value.
|
|
187
|
+
For more information about the ``X-Frame-Options`` HTTP response header, see [X-Frame-Options](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) in the MDN Web Docs.
|
|
92
188
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-frameoptions.html}
|
|
93
189
|
*/
|
|
94
190
|
export type FrameOptions = {
|
|
95
191
|
/**
|
|
96
|
-
|
|
97
|
-
|
|
192
|
+
* The value of the ``X-Frame-Options`` HTTP response header. Valid values are ``DENY`` and ``SAMEORIGIN``.
|
|
193
|
+
For more information about these values, see [X-Frame-Options](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) in the MDN Web Docs.
|
|
194
|
+
* @pattern `^(DENY|SAMEORIGIN)$`
|
|
195
|
+
*/
|
|
98
196
|
FrameOption: string;
|
|
197
|
+
/**
|
|
198
|
+
* A Boolean that determines whether CloudFront overrides the ``X-Frame-Options`` HTTP response header received from the origin with the one specified in this response headers policy.
|
|
199
|
+
*/
|
|
99
200
|
Override: boolean;
|
|
100
201
|
};
|
|
101
202
|
/**
|
|
102
203
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.ReferrerPolicy`.
|
|
204
|
+
* Determines whether CloudFront includes the ``Referrer-Policy`` HTTP response header and the header's value.
|
|
205
|
+
For more information about the ``Referrer-Policy`` HTTP response header, see [Referrer-Policy](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) in the MDN Web Docs.
|
|
103
206
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-referrerpolicy.html}
|
|
104
207
|
*/
|
|
105
208
|
export type ReferrerPolicy = {
|
|
106
|
-
Override: boolean;
|
|
107
209
|
/**
|
|
108
|
-
*
|
|
210
|
+
* A Boolean that determines whether CloudFront overrides the ``Referrer-Policy`` HTTP response header received from the origin with the one specified in this response headers policy.
|
|
109
211
|
*/
|
|
212
|
+
Override: boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Determines whether CloudFront includes the ``Referrer-Policy`` HTTP response header and the header's value.
|
|
215
|
+
For more information about the ``Referrer-Policy`` HTTP response header, see [Referrer-Policy](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) in the MDN Web Docs.
|
|
216
|
+
* @pattern `^(no-referrer|no-referrer-when-downgrade|origin|origin-when-cross-origin|same-origin|strict-origin|strict-origin-when-cross-origin|unsafe-url)$`
|
|
217
|
+
*/
|
|
110
218
|
ReferrerPolicy: string;
|
|
111
219
|
};
|
|
112
220
|
/**
|
|
113
221
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.RemoveHeader`.
|
|
222
|
+
* The name of an HTTP header that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.
|
|
114
223
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-removeheader.html}
|
|
115
224
|
*/
|
|
116
225
|
export type RemoveHeader = {
|
|
226
|
+
/**
|
|
227
|
+
* The HTTP header name.
|
|
228
|
+
*/
|
|
117
229
|
Header: string;
|
|
118
230
|
};
|
|
119
231
|
/**
|
|
120
232
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.RemoveHeadersConfig`.
|
|
233
|
+
* A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.
|
|
121
234
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-removeheadersconfig.html}
|
|
122
235
|
*/
|
|
123
236
|
export type RemoveHeadersConfig = {
|
|
237
|
+
/**
|
|
238
|
+
* The list of HTTP header names.
|
|
239
|
+
*/
|
|
124
240
|
Items: RemoveHeader[];
|
|
125
241
|
};
|
|
126
242
|
/**
|
|
127
243
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.ResponseHeadersPolicyConfig`.
|
|
244
|
+
* A response headers policy configuration.
|
|
245
|
+
A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.
|
|
128
246
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-responseheaderspolicyconfig.html}
|
|
129
247
|
*/
|
|
130
248
|
export type ResponseHeadersPolicyConfig = {
|
|
249
|
+
/**
|
|
250
|
+
* A comment to describe the response headers policy.
|
|
251
|
+
The comment cannot be longer than 128 characters.
|
|
252
|
+
*/
|
|
131
253
|
Comment?: string;
|
|
254
|
+
/**
|
|
255
|
+
* A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
|
|
256
|
+
*/
|
|
132
257
|
CorsConfig?: CorsConfig;
|
|
258
|
+
/**
|
|
259
|
+
* A configuration for a set of custom HTTP response headers.
|
|
260
|
+
*/
|
|
133
261
|
CustomHeadersConfig?: CustomHeadersConfig;
|
|
262
|
+
/**
|
|
263
|
+
* A name to identify the response headers policy.
|
|
264
|
+
The name must be unique for response headers policies in this AWS-account.
|
|
265
|
+
*/
|
|
134
266
|
Name: string;
|
|
267
|
+
/**
|
|
268
|
+
* A configuration for a set of HTTP headers to remove from the HTTP response.
|
|
269
|
+
*/
|
|
135
270
|
RemoveHeadersConfig?: RemoveHeadersConfig;
|
|
271
|
+
/**
|
|
272
|
+
* A configuration for a set of security-related HTTP response headers.
|
|
273
|
+
*/
|
|
136
274
|
SecurityHeadersConfig?: SecurityHeadersConfig;
|
|
275
|
+
/**
|
|
276
|
+
* A configuration for enabling the ``Server-Timing`` header in HTTP responses sent from CloudFront.
|
|
277
|
+
*/
|
|
137
278
|
ServerTimingHeadersConfig?: ServerTimingHeadersConfig;
|
|
138
279
|
};
|
|
139
280
|
/**
|
|
140
281
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.SecurityHeadersConfig`.
|
|
282
|
+
* A configuration for a set of security-related HTTP response headers. CloudFront adds these headers to HTTP responses that it sends for requests that match a cache behavior associated with this response headers policy.
|
|
141
283
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-securityheadersconfig.html}
|
|
142
284
|
*/
|
|
143
285
|
export type SecurityHeadersConfig = {
|
|
286
|
+
/**
|
|
287
|
+
* The policy directives and their values that CloudFront includes as values for the ``Content-Security-Policy`` HTTP response header.
|
|
288
|
+
For more information about the ``Content-Security-Policy`` HTTP response header, see [Content-Security-Policy](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy) in the MDN Web Docs.
|
|
289
|
+
*/
|
|
144
290
|
ContentSecurityPolicy?: ContentSecurityPolicy;
|
|
291
|
+
/**
|
|
292
|
+
* Determines whether CloudFront includes the ``X-Content-Type-Options`` HTTP response header with its value set to ``nosniff``.
|
|
293
|
+
For more information about the ``X-Content-Type-Options`` HTTP response header, see [X-Content-Type-Options](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options) in the MDN Web Docs.
|
|
294
|
+
*/
|
|
145
295
|
ContentTypeOptions?: ContentTypeOptions;
|
|
296
|
+
/**
|
|
297
|
+
* Determines whether CloudFront includes the ``X-Frame-Options`` HTTP response header and the header's value.
|
|
298
|
+
For more information about the ``X-Frame-Options`` HTTP response header, see [X-Frame-Options](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options) in the MDN Web Docs.
|
|
299
|
+
*/
|
|
146
300
|
FrameOptions?: FrameOptions;
|
|
301
|
+
/**
|
|
302
|
+
* Determines whether CloudFront includes the ``Referrer-Policy`` HTTP response header and the header's value.
|
|
303
|
+
For more information about the ``Referrer-Policy`` HTTP response header, see [Referrer-Policy](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy) in the MDN Web Docs.
|
|
304
|
+
*/
|
|
147
305
|
ReferrerPolicy?: ReferrerPolicy;
|
|
306
|
+
/**
|
|
307
|
+
* Determines whether CloudFront includes the ``Strict-Transport-Security`` HTTP response header and the header's value.
|
|
308
|
+
For more information about the ``Strict-Transport-Security`` HTTP response header, see [Security headers](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#understanding-response-headers-policies-security) in the *Amazon CloudFront Developer Guide* and [Strict-Transport-Security](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) in the MDN Web Docs.
|
|
309
|
+
*/
|
|
148
310
|
StrictTransportSecurity?: StrictTransportSecurity;
|
|
311
|
+
/**
|
|
312
|
+
* Determines whether CloudFront includes the ``X-XSS-Protection`` HTTP response header and the header's value.
|
|
313
|
+
For more information about the ``X-XSS-Protection`` HTTP response header, see [X-XSS-Protection](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in the MDN Web Docs.
|
|
314
|
+
*/
|
|
149
315
|
XSSProtection?: XSSProtection;
|
|
150
316
|
};
|
|
151
317
|
/**
|
|
152
318
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.ServerTimingHeadersConfig`.
|
|
319
|
+
* A configuration for enabling the ``Server-Timing`` header in HTTP responses sent from CloudFront.
|
|
153
320
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-servertimingheadersconfig.html}
|
|
154
321
|
*/
|
|
155
322
|
export type ServerTimingHeadersConfig = {
|
|
323
|
+
/**
|
|
324
|
+
* A Boolean that determines whether CloudFront adds the ``Server-Timing`` header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.
|
|
325
|
+
*/
|
|
156
326
|
Enabled: boolean;
|
|
157
327
|
/**
|
|
328
|
+
* A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the ``Server-Timing`` header to. When you set the sampling rate to 100, CloudFront adds the ``Server-Timing`` header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.
|
|
158
329
|
* @min `0`
|
|
159
330
|
* @max `100`
|
|
160
331
|
*/
|
|
@@ -162,26 +333,62 @@ export type ServerTimingHeadersConfig = {
|
|
|
162
333
|
};
|
|
163
334
|
/**
|
|
164
335
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.StrictTransportSecurity`.
|
|
336
|
+
* Determines whether CloudFront includes the ``Strict-Transport-Security`` HTTP response header and the header's value.
|
|
337
|
+
For more information about the ``Strict-Transport-Security`` HTTP response header, see [Strict-Transport-Security](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security) in the MDN Web Docs.
|
|
165
338
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-stricttransportsecurity.html}
|
|
166
339
|
*/
|
|
167
340
|
export type StrictTransportSecurity = {
|
|
341
|
+
/**
|
|
342
|
+
* A number that CloudFront uses as the value for the ``max-age`` directive in the ``Strict-Transport-Security`` HTTP response header.
|
|
343
|
+
*/
|
|
168
344
|
AccessControlMaxAgeSec: number;
|
|
345
|
+
/**
|
|
346
|
+
* A Boolean that determines whether CloudFront includes the ``includeSubDomains`` directive in the ``Strict-Transport-Security`` HTTP response header.
|
|
347
|
+
*/
|
|
169
348
|
IncludeSubdomains?: boolean;
|
|
349
|
+
/**
|
|
350
|
+
* A Boolean that determines whether CloudFront overrides the ``Strict-Transport-Security`` HTTP response header received from the origin with the one specified in this response headers policy.
|
|
351
|
+
*/
|
|
170
352
|
Override: boolean;
|
|
353
|
+
/**
|
|
354
|
+
* A Boolean that determines whether CloudFront includes the ``preload`` directive in the ``Strict-Transport-Security`` HTTP response header.
|
|
355
|
+
*/
|
|
171
356
|
Preload?: boolean;
|
|
172
357
|
};
|
|
173
358
|
/**
|
|
174
359
|
* Type definition for `AWS::CloudFront::ResponseHeadersPolicy.XSSProtection`.
|
|
360
|
+
* Determines whether CloudFront includes the ``X-XSS-Protection`` HTTP response header and the header's value.
|
|
361
|
+
For more information about the ``X-XSS-Protection`` HTTP response header, see [X-XSS-Protection](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in the MDN Web Docs.
|
|
175
362
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-xssprotection.html}
|
|
176
363
|
*/
|
|
177
364
|
export type XSSProtection = {
|
|
365
|
+
/**
|
|
366
|
+
* A Boolean that determines whether CloudFront includes the ``mode=block`` directive in the ``X-XSS-Protection`` header.
|
|
367
|
+
For more information about this directive, see [X-XSS-Protection](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in the MDN Web Docs.
|
|
368
|
+
*/
|
|
178
369
|
ModeBlock?: boolean;
|
|
370
|
+
/**
|
|
371
|
+
* A Boolean that determines whether CloudFront overrides the ``X-XSS-Protection`` HTTP response header received from the origin with the one specified in this response headers policy.
|
|
372
|
+
*/
|
|
179
373
|
Override: boolean;
|
|
374
|
+
/**
|
|
375
|
+
* A Boolean that determines the value of the ``X-XSS-Protection`` HTTP response header. When this setting is ``true``, the value of the ``X-XSS-Protection`` header is ``1``. When this setting is ``false``, the value of the ``X-XSS-Protection`` header is ``0``.
|
|
376
|
+
For more information about these settings, see [X-XSS-Protection](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in the MDN Web Docs.
|
|
377
|
+
*/
|
|
180
378
|
Protection: boolean;
|
|
379
|
+
/**
|
|
380
|
+
* A reporting URI, which CloudFront uses as the value of the ``report`` directive in the ``X-XSS-Protection`` header.
|
|
381
|
+
You cannot specify a ``ReportUri`` when ``ModeBlock`` is ``true``.
|
|
382
|
+
For more information about using a reporting URL, see [X-XSS-Protection](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection) in the MDN Web Docs.
|
|
383
|
+
*/
|
|
181
384
|
ReportUri?: string;
|
|
182
385
|
};
|
|
183
386
|
/**
|
|
184
|
-
* Resource
|
|
387
|
+
* Resource type definition for `AWS::CloudFront::ResponseHeadersPolicy`.
|
|
388
|
+
* A response headers policy.
|
|
389
|
+
A response headers policy contains information about a set of HTTP response headers.
|
|
390
|
+
After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.
|
|
391
|
+
For more information, see [Adding or removing HTTP headers in CloudFront responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html) in the *Amazon CloudFront Developer Guide*.
|
|
185
392
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-responseheaderspolicy.html}
|
|
186
393
|
*/
|
|
187
394
|
export declare class CloudFrontResponseHeadersPolicy extends $Resource<"AWS::CloudFront::ResponseHeadersPolicy", CloudFrontResponseHeadersPolicyProperties, CloudFrontResponseHeadersPolicyAttributes> {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
3
|
+
* Resource type definition for `AWS::CloudFront::ResponseHeadersPolicy`.
|
|
4
|
+
* A response headers policy.
|
|
5
|
+
A response headers policy contains information about a set of HTTP response headers.
|
|
6
|
+
After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.
|
|
7
|
+
For more information, see [Adding or removing HTTP headers in CloudFront responses](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html) in the *Amazon CloudFront Developer Guide*.
|
|
4
8
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-responseheaderspolicy.html}
|
|
5
9
|
*/
|
|
6
10
|
export class CloudFrontResponseHeadersPolicy extends $Resource {
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Resource type definition for `AWS::CloudTrail::Dashboard`.
|
|
5
|
+
* The Amazon CloudTrail dashboard resource allows customers to manage managed dashboards and create custom dashboards. You can manually refresh custom and managed dashboards. For custom dashboards, you can also set up an automatic refresh schedule and modify dashboard widgets.
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-dashboard.html}
|
|
7
|
+
*/
|
|
8
|
+
export type CloudTrailDashboardProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* The name of the dashboard.
|
|
11
|
+
* @pattern `^[a-zA-Z0-9_\-]+$`
|
|
12
|
+
*/
|
|
13
|
+
Name?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Configures the automatic refresh schedule for the dashboard. Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
|
|
16
|
+
*/
|
|
17
|
+
RefreshSchedule?: RefreshSchedule;
|
|
18
|
+
Tags?: Tag[];
|
|
19
|
+
/**
|
|
20
|
+
* Indicates whether the dashboard is protected from termination.
|
|
21
|
+
*/
|
|
22
|
+
TerminationProtectionEnabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* List of widgets on the dashboard
|
|
25
|
+
*/
|
|
26
|
+
Widgets?: Widget[];
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Attribute type definition for `AWS::CloudTrail::Dashboard`.
|
|
30
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-dashboard.html#aws-resource-cloudtrail-dashboard-return-values}
|
|
31
|
+
*/
|
|
32
|
+
export type CloudTrailDashboardAttributes = {
|
|
33
|
+
/**
|
|
34
|
+
* The timestamp of the dashboard creation.
|
|
35
|
+
*/
|
|
36
|
+
CreatedTimestamp: string;
|
|
37
|
+
/**
|
|
38
|
+
* The ARN of the dashboard.
|
|
39
|
+
* @pattern `^[a-zA-Z0-9._/\-:]+$`
|
|
40
|
+
*/
|
|
41
|
+
DashboardArn: string;
|
|
42
|
+
/**
|
|
43
|
+
* The status of the dashboard. Values are CREATING, CREATED, UPDATING, UPDATED and DELETING.
|
|
44
|
+
*/
|
|
45
|
+
Status: "CREATING" | "CREATED" | "UPDATING" | "UPDATED" | "DELETING";
|
|
46
|
+
/**
|
|
47
|
+
* The type of the dashboard. Values are CUSTOM and MANAGED.
|
|
48
|
+
*/
|
|
49
|
+
Type: "MANAGED" | "CUSTOM";
|
|
50
|
+
/**
|
|
51
|
+
* The timestamp showing when the dashboard was updated, if applicable. UpdatedTimestamp is always either the same or newer than the time shown in CreatedTimestamp.
|
|
52
|
+
*/
|
|
53
|
+
UpdatedTimestamp: string;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Type definition for `AWS::CloudTrail::Dashboard.RefreshSchedule`.
|
|
57
|
+
* Configures the automatic refresh schedule for the dashboard. Includes the frequency unit (DAYS or HOURS) and value, as well as the status (ENABLED or DISABLED) of the refresh schedule.
|
|
58
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-refreshschedule.html}
|
|
59
|
+
*/
|
|
60
|
+
export type RefreshSchedule = {
|
|
61
|
+
Frequency?: {
|
|
62
|
+
/**
|
|
63
|
+
* The frequency unit. Supported values are HOURS and DAYS.
|
|
64
|
+
*/
|
|
65
|
+
Unit: "HOURS" | "DAYS";
|
|
66
|
+
/**
|
|
67
|
+
* The frequency value.
|
|
68
|
+
*/
|
|
69
|
+
Value: number;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* The status of the schedule. Supported values are ENABLED and DISABLED.
|
|
73
|
+
*/
|
|
74
|
+
Status?: "ENABLED" | "DISABLED";
|
|
75
|
+
/**
|
|
76
|
+
* StartTime of the automatic schedule refresh.
|
|
77
|
+
* @pattern `^[0-9]{2}:[0-9]{2}`
|
|
78
|
+
*/
|
|
79
|
+
TimeOfDay?: string;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Type definition for `AWS::CloudTrail::Dashboard.Tag`.
|
|
83
|
+
* An arbitrary set of tags (key-value pairs) for this dashboard.
|
|
84
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-tag.html}
|
|
85
|
+
*/
|
|
86
|
+
export type Tag = {
|
|
87
|
+
/**
|
|
88
|
+
* The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
89
|
+
*/
|
|
90
|
+
Key: string;
|
|
91
|
+
/**
|
|
92
|
+
* The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
93
|
+
*/
|
|
94
|
+
Value: string;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Type definition for `AWS::CloudTrail::Dashboard.Widget`.
|
|
98
|
+
* The dashboard widget
|
|
99
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-dashboard-widget.html}
|
|
100
|
+
*/
|
|
101
|
+
export type Widget = {
|
|
102
|
+
/**
|
|
103
|
+
* The placeholder keys in the QueryStatement. For example: $StartTime$, $EndTime$, $Period$.
|
|
104
|
+
* @minLength `1`
|
|
105
|
+
* @maxLength `10`
|
|
106
|
+
*/
|
|
107
|
+
QueryParameters?: string[];
|
|
108
|
+
/**
|
|
109
|
+
* The SQL query statement on one or more event data stores.
|
|
110
|
+
* @minLength `1`
|
|
111
|
+
* @maxLength `10000`
|
|
112
|
+
* @pattern `(?s).*`
|
|
113
|
+
*/
|
|
114
|
+
QueryStatement: string;
|
|
115
|
+
/**
|
|
116
|
+
* The view properties of the widget.
|
|
117
|
+
*/
|
|
118
|
+
ViewProperties?: Record<string, string>;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Resource type definition for `AWS::CloudTrail::Dashboard`.
|
|
122
|
+
* The Amazon CloudTrail dashboard resource allows customers to manage managed dashboards and create custom dashboards. You can manually refresh custom and managed dashboards. For custom dashboards, you can also set up an automatic refresh schedule and modify dashboard widgets.
|
|
123
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-dashboard.html}
|
|
124
|
+
*/
|
|
125
|
+
export declare class CloudTrailDashboard extends $Resource<"AWS::CloudTrail::Dashboard", CloudTrailDashboardProperties, CloudTrailDashboardAttributes> {
|
|
126
|
+
static readonly Type = "AWS::CloudTrail::Dashboard";
|
|
127
|
+
constructor(logicalId: string, properties: CloudTrailDashboardProperties, options?: $ResourceOptions);
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=AWS-CloudTrail-Dashboard.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for `AWS::CloudTrail::Dashboard`.
|
|
4
|
+
* The Amazon CloudTrail dashboard resource allows customers to manage managed dashboards and create custom dashboards. You can manually refresh custom and managed dashboards. For custom dashboards, you can also set up an automatic refresh schedule and modify dashboard widgets.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-dashboard.html}
|
|
6
|
+
*/
|
|
7
|
+
export class CloudTrailDashboard extends $Resource {
|
|
8
|
+
static Type = "AWS::CloudTrail::Dashboard";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, CloudTrailDashboard.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-CloudTrail-Dashboard.js.map
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Resource Type definition for AWS::Connect::EmailAddress
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-emailaddress.html}
|
|
6
|
+
*/
|
|
7
|
+
export type ConnectEmailAddressProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* A description for the email address.
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
* @maxLength `250`
|
|
12
|
+
* @pattern `(^[\S].*[\S]$)|(^[\S]$)`
|
|
13
|
+
*/
|
|
14
|
+
Description?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The display name for the email address.
|
|
17
|
+
* @minLength `0`
|
|
18
|
+
* @maxLength `256`
|
|
19
|
+
* @pattern `(^[\S].*[\S]$)|(^[\S]$)`
|
|
20
|
+
*/
|
|
21
|
+
DisplayName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Email address to be created for this instance
|
|
24
|
+
* @minLength `1`
|
|
25
|
+
* @maxLength `255`
|
|
26
|
+
* @pattern `([^\s@]+@[^\s@]+\.[^\s@]+)`
|
|
27
|
+
*/
|
|
28
|
+
EmailAddress: string;
|
|
29
|
+
/**
|
|
30
|
+
* The identifier of the Amazon Connect instance.
|
|
31
|
+
* @minLength `1`
|
|
32
|
+
* @maxLength `250`
|
|
33
|
+
* @pattern `^arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z]+-[0-9]{1}:[0-9]{1,20}:instance/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
|
|
34
|
+
*/
|
|
35
|
+
InstanceArn: string;
|
|
36
|
+
/**
|
|
37
|
+
* One or more tags.
|
|
38
|
+
* @maxLength `50`
|
|
39
|
+
*/
|
|
40
|
+
Tags?: Tag[];
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Attribute type definition for `AWS::Connect::EmailAddress`.
|
|
44
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-emailaddress.html#aws-resource-connect-emailaddress-return-values}
|
|
45
|
+
*/
|
|
46
|
+
export type ConnectEmailAddressAttributes = {
|
|
47
|
+
/**
|
|
48
|
+
* The identifier of the email address.
|
|
49
|
+
* @pattern `^arn:(aws|aws-us-gov):connect:[a-z]{2}-[a-z]+-[0-9]{1}:[0-9]{1,20}:instance/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/email-address/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
|
|
50
|
+
*/
|
|
51
|
+
EmailAddressArn: string;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Type definition for `AWS::Connect::EmailAddress.Tag`.
|
|
55
|
+
* A key-value pair to associate with a resource.
|
|
56
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-emailaddress-tag.html}
|
|
57
|
+
*/
|
|
58
|
+
export type Tag = {
|
|
59
|
+
/**
|
|
60
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
61
|
+
* @minLength `1`
|
|
62
|
+
* @maxLength `128`
|
|
63
|
+
*/
|
|
64
|
+
Key: string;
|
|
65
|
+
/**
|
|
66
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
67
|
+
* @maxLength `256`
|
|
68
|
+
*/
|
|
69
|
+
Value: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Resource Type definition for AWS::Connect::EmailAddress
|
|
73
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-emailaddress.html}
|
|
74
|
+
*/
|
|
75
|
+
export declare class ConnectEmailAddress extends $Resource<"AWS::Connect::EmailAddress", ConnectEmailAddressProperties, ConnectEmailAddressAttributes> {
|
|
76
|
+
static readonly Type = "AWS::Connect::EmailAddress";
|
|
77
|
+
constructor(logicalId: string, properties: ConnectEmailAddressProperties, options?: $ResourceOptions);
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=AWS-Connect-EmailAddress.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource Type definition for AWS::Connect::EmailAddress
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-emailaddress.html}
|
|
5
|
+
*/
|
|
6
|
+
export class ConnectEmailAddress extends $Resource {
|
|
7
|
+
static Type = "AWS::Connect::EmailAddress";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, ConnectEmailAddress.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-Connect-EmailAddress.js.map
|