@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
|
@@ -0,0 +1,43 @@
|
|
|
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::ApiGateway::BasePathMappingV2
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmappingv2.html}
|
|
6
|
+
*/
|
|
7
|
+
export type ApiGatewayBasePathMappingV2Properties = {
|
|
8
|
+
/**
|
|
9
|
+
* The base path name that callers of the API must provide in the URL after the domain name.
|
|
10
|
+
*/
|
|
11
|
+
BasePath?: string;
|
|
12
|
+
/**
|
|
13
|
+
* The Arn of an AWS::ApiGateway::DomainNameV2 resource.
|
|
14
|
+
*/
|
|
15
|
+
DomainNameArn: string;
|
|
16
|
+
/**
|
|
17
|
+
* The ID of the API.
|
|
18
|
+
*/
|
|
19
|
+
RestApiId: string;
|
|
20
|
+
/**
|
|
21
|
+
* The name of the API's stage.
|
|
22
|
+
*/
|
|
23
|
+
Stage?: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Attribute type definition for `AWS::ApiGateway::BasePathMappingV2`.
|
|
27
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmappingv2.html#aws-resource-apigateway-basepathmappingv2-return-values}
|
|
28
|
+
*/
|
|
29
|
+
export type ApiGatewayBasePathMappingV2Attributes = {
|
|
30
|
+
/**
|
|
31
|
+
* Amazon Resource Name (ARN) of the resource.
|
|
32
|
+
*/
|
|
33
|
+
BasePathMappingArn: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Resource Type definition for AWS::ApiGateway::BasePathMappingV2
|
|
37
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmappingv2.html}
|
|
38
|
+
*/
|
|
39
|
+
export declare class ApiGatewayBasePathMappingV2 extends $Resource<"AWS::ApiGateway::BasePathMappingV2", ApiGatewayBasePathMappingV2Properties, ApiGatewayBasePathMappingV2Attributes> {
|
|
40
|
+
static readonly Type = "AWS::ApiGateway::BasePathMappingV2";
|
|
41
|
+
constructor(logicalId: string, properties: ApiGatewayBasePathMappingV2Properties, options?: $ResourceOptions);
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=AWS-ApiGateway-BasePathMappingV2.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::ApiGateway::BasePathMappingV2
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmappingv2.html}
|
|
5
|
+
*/
|
|
6
|
+
export class ApiGatewayBasePathMappingV2 extends $Resource {
|
|
7
|
+
static Type = "AWS::ApiGateway::BasePathMappingV2";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, ApiGatewayBasePathMappingV2.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-ApiGateway-BasePathMappingV2.js.map
|
|
@@ -0,0 +1,51 @@
|
|
|
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::ApiGateway::DomainNameAccessAssociation.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnameaccessassociation.html}
|
|
6
|
+
*/
|
|
7
|
+
export type ApiGatewayDomainNameAccessAssociationProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The source of the domain name access association resource.
|
|
10
|
+
*/
|
|
11
|
+
AccessAssociationSource: string;
|
|
12
|
+
/**
|
|
13
|
+
* The source type of the domain name access association resource.
|
|
14
|
+
*/
|
|
15
|
+
AccessAssociationSourceType: "VPCE";
|
|
16
|
+
/**
|
|
17
|
+
* The amazon resource name (ARN) of the domain name resource.
|
|
18
|
+
*/
|
|
19
|
+
DomainNameArn: string;
|
|
20
|
+
/**
|
|
21
|
+
* An array of arbitrary tags (key-value pairs) to associate with the domainname access association.
|
|
22
|
+
*/
|
|
23
|
+
Tags?: Tag[];
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Attribute type definition for `AWS::ApiGateway::DomainNameAccessAssociation`.
|
|
27
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnameaccessassociation.html#aws-resource-apigateway-domainnameaccessassociation-return-values}
|
|
28
|
+
*/
|
|
29
|
+
export type ApiGatewayDomainNameAccessAssociationAttributes = {
|
|
30
|
+
/**
|
|
31
|
+
* The amazon resource name (ARN) of the domain name access association resource.
|
|
32
|
+
*/
|
|
33
|
+
DomainNameAccessAssociationArn: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Type definition for `AWS::ApiGateway::DomainNameAccessAssociation.Tag`.
|
|
37
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainnameaccessassociation-tag.html}
|
|
38
|
+
*/
|
|
39
|
+
export type Tag = {
|
|
40
|
+
Key: string;
|
|
41
|
+
Value: string;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Resource Type definition for AWS::ApiGateway::DomainNameAccessAssociation.
|
|
45
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnameaccessassociation.html}
|
|
46
|
+
*/
|
|
47
|
+
export declare class ApiGatewayDomainNameAccessAssociation extends $Resource<"AWS::ApiGateway::DomainNameAccessAssociation", ApiGatewayDomainNameAccessAssociationProperties, ApiGatewayDomainNameAccessAssociationAttributes> {
|
|
48
|
+
static readonly Type = "AWS::ApiGateway::DomainNameAccessAssociation";
|
|
49
|
+
constructor(logicalId: string, properties: ApiGatewayDomainNameAccessAssociationProperties, options?: $ResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=AWS-ApiGateway-DomainNameAccessAssociation.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::ApiGateway::DomainNameAccessAssociation.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnameaccessassociation.html}
|
|
5
|
+
*/
|
|
6
|
+
export class ApiGatewayDomainNameAccessAssociation extends $Resource {
|
|
7
|
+
static Type = "AWS::ApiGateway::DomainNameAccessAssociation";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, ApiGatewayDomainNameAccessAssociation.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-ApiGateway-DomainNameAccessAssociation.js.map
|
|
@@ -0,0 +1,50 @@
|
|
|
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::ApiGateway::DomainNameV2.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html}
|
|
6
|
+
*/
|
|
7
|
+
export type ApiGatewayDomainNameV2Properties = {
|
|
8
|
+
CertificateArn?: string;
|
|
9
|
+
DomainName?: string;
|
|
10
|
+
EndpointConfiguration?: EndpointConfiguration;
|
|
11
|
+
ManagementPolicy?: Record<string, any> | string;
|
|
12
|
+
Policy?: Record<string, any> | string;
|
|
13
|
+
SecurityPolicy?: string;
|
|
14
|
+
Tags?: Tag[];
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Attribute type definition for `AWS::ApiGateway::DomainNameV2`.
|
|
18
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html#aws-resource-apigateway-domainnamev2-return-values}
|
|
19
|
+
*/
|
|
20
|
+
export type ApiGatewayDomainNameV2Attributes = {
|
|
21
|
+
/**
|
|
22
|
+
* The amazon resource name (ARN) of the domain name resource.
|
|
23
|
+
*/
|
|
24
|
+
DomainNameArn: string;
|
|
25
|
+
DomainNameId: string;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Type definition for `AWS::ApiGateway::DomainNameV2.EndpointConfiguration`.
|
|
29
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainnamev2-endpointconfiguration.html}
|
|
30
|
+
*/
|
|
31
|
+
export type EndpointConfiguration = {
|
|
32
|
+
Types?: string[];
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Type definition for `AWS::ApiGateway::DomainNameV2.Tag`.
|
|
36
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-domainnamev2-tag.html}
|
|
37
|
+
*/
|
|
38
|
+
export type Tag = {
|
|
39
|
+
Key?: string;
|
|
40
|
+
Value?: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Resource Type definition for AWS::ApiGateway::DomainNameV2.
|
|
44
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html}
|
|
45
|
+
*/
|
|
46
|
+
export declare class ApiGatewayDomainNameV2 extends $Resource<"AWS::ApiGateway::DomainNameV2", ApiGatewayDomainNameV2Properties, ApiGatewayDomainNameV2Attributes> {
|
|
47
|
+
static readonly Type = "AWS::ApiGateway::DomainNameV2";
|
|
48
|
+
constructor(logicalId: string, properties: ApiGatewayDomainNameV2Properties, options?: $ResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=AWS-ApiGateway-DomainNameV2.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::ApiGateway::DomainNameV2.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html}
|
|
5
|
+
*/
|
|
6
|
+
export class ApiGatewayDomainNameV2 extends $Resource {
|
|
7
|
+
static Type = "AWS::ApiGateway::DomainNameV2";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, ApiGatewayDomainNameV2.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-ApiGateway-DomainNameV2.js.map
|
|
@@ -18,6 +18,7 @@ export type ApplicationAutoScalingScalingPolicyProperties = {
|
|
|
18
18
|
``StepScaling``—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
|
|
19
19
|
*/
|
|
20
20
|
PolicyType: string;
|
|
21
|
+
PredictiveScalingPolicyConfiguration?: PredictiveScalingPolicyConfiguration;
|
|
21
22
|
/**
|
|
22
23
|
* The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.
|
|
23
24
|
+ ECS service - The resource type is ``service`` and the unique identifier is the cluster name and service name. Example: ``service/my-cluster/my-service``.
|
|
@@ -171,6 +172,151 @@ export type PredefinedMetricSpecification = {
|
|
|
171
172
|
*/
|
|
172
173
|
ResourceLabel?: string;
|
|
173
174
|
};
|
|
175
|
+
/**
|
|
176
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingCustomizedCapacityMetric`.
|
|
177
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingcustomizedcapacitymetric.html}
|
|
178
|
+
*/
|
|
179
|
+
export type PredictiveScalingCustomizedCapacityMetric = {
|
|
180
|
+
MetricDataQueries: PredictiveScalingMetricDataQuery[];
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingCustomizedLoadMetric`.
|
|
184
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingcustomizedloadmetric.html}
|
|
185
|
+
*/
|
|
186
|
+
export type PredictiveScalingCustomizedLoadMetric = {
|
|
187
|
+
MetricDataQueries: PredictiveScalingMetricDataQuery[];
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingCustomizedScalingMetric`.
|
|
191
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingcustomizedscalingmetric.html}
|
|
192
|
+
*/
|
|
193
|
+
export type PredictiveScalingCustomizedScalingMetric = {
|
|
194
|
+
MetricDataQueries: PredictiveScalingMetricDataQuery[];
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingMetric`.
|
|
198
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetric.html}
|
|
199
|
+
*/
|
|
200
|
+
export type PredictiveScalingMetric = {
|
|
201
|
+
/**
|
|
202
|
+
* The dimensions for the metric.
|
|
203
|
+
*/
|
|
204
|
+
Dimensions?: PredictiveScalingMetricDimension[];
|
|
205
|
+
/**
|
|
206
|
+
* The name of the metric.
|
|
207
|
+
*/
|
|
208
|
+
MetricName?: string;
|
|
209
|
+
/**
|
|
210
|
+
* The namespace of the metric.
|
|
211
|
+
*/
|
|
212
|
+
Namespace?: string;
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingMetricDataQuery`.
|
|
216
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricdataquery.html}
|
|
217
|
+
*/
|
|
218
|
+
export type PredictiveScalingMetricDataQuery = {
|
|
219
|
+
/**
|
|
220
|
+
* The math expression to perform on the returned data, if this object is performing a math expression.
|
|
221
|
+
*/
|
|
222
|
+
Expression?: string;
|
|
223
|
+
/**
|
|
224
|
+
* A short name that identifies the object's results in the response.
|
|
225
|
+
*/
|
|
226
|
+
Id?: string;
|
|
227
|
+
/**
|
|
228
|
+
* A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
|
|
229
|
+
*/
|
|
230
|
+
Label?: string;
|
|
231
|
+
/**
|
|
232
|
+
* Information about the metric data to return.
|
|
233
|
+
*/
|
|
234
|
+
MetricStat?: PredictiveScalingMetricStat;
|
|
235
|
+
/**
|
|
236
|
+
* Indicates whether to return the timestamps and raw data values of this metric.
|
|
237
|
+
*/
|
|
238
|
+
ReturnData?: boolean;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingMetricDimension`.
|
|
242
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricdimension.html}
|
|
243
|
+
*/
|
|
244
|
+
export type PredictiveScalingMetricDimension = {
|
|
245
|
+
/**
|
|
246
|
+
* The name of the dimension.
|
|
247
|
+
*/
|
|
248
|
+
Name?: string;
|
|
249
|
+
/**
|
|
250
|
+
* The value of the dimension.
|
|
251
|
+
*/
|
|
252
|
+
Value?: string;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingMetricSpecification`.
|
|
256
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricspecification.html}
|
|
257
|
+
*/
|
|
258
|
+
export type PredictiveScalingMetricSpecification = {
|
|
259
|
+
CustomizedCapacityMetricSpecification?: PredictiveScalingCustomizedCapacityMetric;
|
|
260
|
+
CustomizedLoadMetricSpecification?: PredictiveScalingCustomizedLoadMetric;
|
|
261
|
+
CustomizedScalingMetricSpecification?: PredictiveScalingCustomizedScalingMetric;
|
|
262
|
+
PredefinedLoadMetricSpecification?: PredictiveScalingPredefinedLoadMetric;
|
|
263
|
+
PredefinedMetricPairSpecification?: PredictiveScalingPredefinedMetricPair;
|
|
264
|
+
PredefinedScalingMetricSpecification?: PredictiveScalingPredefinedScalingMetric;
|
|
265
|
+
TargetValue: number;
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingMetricStat`.
|
|
269
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingmetricstat.html}
|
|
270
|
+
*/
|
|
271
|
+
export type PredictiveScalingMetricStat = {
|
|
272
|
+
/**
|
|
273
|
+
* The CloudWatch metric to return, including the metric name, namespace, and dimensions.
|
|
274
|
+
*/
|
|
275
|
+
Metric?: PredictiveScalingMetric;
|
|
276
|
+
/**
|
|
277
|
+
* The statistic to return. It can include any CloudWatch statistic or extended statistic.
|
|
278
|
+
*/
|
|
279
|
+
Stat?: string;
|
|
280
|
+
/**
|
|
281
|
+
* The unit to use for the returned data points.
|
|
282
|
+
*/
|
|
283
|
+
Unit?: string;
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingPolicyConfiguration`.
|
|
287
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpolicyconfiguration.html}
|
|
288
|
+
*/
|
|
289
|
+
export type PredictiveScalingPolicyConfiguration = {
|
|
290
|
+
MaxCapacityBreachBehavior?: string;
|
|
291
|
+
MaxCapacityBuffer?: number;
|
|
292
|
+
MetricSpecifications: PredictiveScalingMetricSpecification[];
|
|
293
|
+
Mode?: string;
|
|
294
|
+
SchedulingBufferTime?: number;
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingPredefinedLoadMetric`.
|
|
298
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpredefinedloadmetric.html}
|
|
299
|
+
*/
|
|
300
|
+
export type PredictiveScalingPredefinedLoadMetric = {
|
|
301
|
+
PredefinedMetricType: string;
|
|
302
|
+
ResourceLabel?: string;
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingPredefinedMetricPair`.
|
|
306
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpredefinedmetricpair.html}
|
|
307
|
+
*/
|
|
308
|
+
export type PredictiveScalingPredefinedMetricPair = {
|
|
309
|
+
PredefinedMetricType: string;
|
|
310
|
+
ResourceLabel?: string;
|
|
311
|
+
};
|
|
312
|
+
/**
|
|
313
|
+
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.PredictiveScalingPredefinedScalingMetric`.
|
|
314
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-predictivescalingpredefinedscalingmetric.html}
|
|
315
|
+
*/
|
|
316
|
+
export type PredictiveScalingPredefinedScalingMetric = {
|
|
317
|
+
PredefinedMetricType: string;
|
|
318
|
+
ResourceLabel?: string;
|
|
319
|
+
};
|
|
174
320
|
/**
|
|
175
321
|
* Type definition for `AWS::ApplicationAutoScaling::ScalingPolicy.StepAdjustment`.
|
|
176
322
|
* ``StepAdjustment`` specifies a step adjustment for the ``StepAdjustments`` property of the [AWS::ApplicationAutoScaling::ScalingPolicy StepScalingPolicyConfiguration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-applicationautoscaling-scalingpolicy-stepscalingpolicyconfiguration.html) property type.
|
|
@@ -24,6 +24,7 @@ export type AutoScalingAutoScalingGroupProperties = {
|
|
|
24
24
|
* Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see [Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html) in the in the *Amazon EC2 Auto Scaling User Guide*.
|
|
25
25
|
*/
|
|
26
26
|
CapacityRebalance?: boolean;
|
|
27
|
+
CapacityReservationSpecification?: CapacityReservationSpecification;
|
|
27
28
|
/**
|
|
28
29
|
* Reserved.
|
|
29
30
|
*/
|
|
@@ -233,6 +234,22 @@ export type BaselineEbsBandwidthMbpsRequest = {
|
|
|
233
234
|
export type BaselinePerformanceFactorsRequest = {
|
|
234
235
|
Cpu?: CpuPerformanceFactorRequest;
|
|
235
236
|
};
|
|
237
|
+
/**
|
|
238
|
+
* Type definition for `AWS::AutoScaling::AutoScalingGroup.CapacityReservationSpecification`.
|
|
239
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationspecification.html}
|
|
240
|
+
*/
|
|
241
|
+
export type CapacityReservationSpecification = {
|
|
242
|
+
CapacityReservationPreference: string;
|
|
243
|
+
CapacityReservationTarget?: CapacityReservationTarget;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* Type definition for `AWS::AutoScaling::AutoScalingGroup.CapacityReservationTarget`.
|
|
247
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-capacityreservationtarget.html}
|
|
248
|
+
*/
|
|
249
|
+
export type CapacityReservationTarget = {
|
|
250
|
+
CapacityReservationIds?: string[];
|
|
251
|
+
CapacityReservationResourceGroupArns?: string[];
|
|
252
|
+
};
|
|
236
253
|
/**
|
|
237
254
|
* Type definition for `AWS::AutoScaling::AutoScalingGroup.CpuPerformanceFactorRequest`.
|
|
238
255
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-cpuperformancefactorrequest.html}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
* Resource
|
|
4
|
+
* Resource type definition for `AWS::CloudFront::CachePolicy`.
|
|
5
|
+
* A cache policy.
|
|
6
|
+
When it's attached to a cache behavior, the cache policy determines the following:
|
|
7
|
+
+ The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
|
|
8
|
+
+ The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.
|
|
9
|
+
|
|
10
|
+
The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but *not* include them in the cache key, use ``OriginRequestPolicy``.
|
|
5
11
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cachepolicy.html}
|
|
6
12
|
*/
|
|
7
13
|
export type CloudFrontCachePolicyProperties = {
|
|
14
|
+
/**
|
|
15
|
+
* The cache policy configuration.
|
|
16
|
+
*/
|
|
8
17
|
CachePolicyConfig: CachePolicyConfig;
|
|
9
18
|
};
|
|
10
19
|
/**
|
|
@@ -17,71 +26,155 @@ export type CloudFrontCachePolicyAttributes = {
|
|
|
17
26
|
};
|
|
18
27
|
/**
|
|
19
28
|
* Type definition for `AWS::CloudFront::CachePolicy.CachePolicyConfig`.
|
|
29
|
+
* A cache policy configuration.
|
|
30
|
+
This configuration determines the following:
|
|
31
|
+
+ The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
|
|
32
|
+
+ The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.
|
|
33
|
+
|
|
34
|
+
The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but *not* include them in the cache key, use ``OriginRequestPolicy``.
|
|
20
35
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html}
|
|
21
36
|
*/
|
|
22
37
|
export type CachePolicyConfig = {
|
|
23
|
-
Comment?: string;
|
|
24
38
|
/**
|
|
25
|
-
*
|
|
39
|
+
* A comment to describe the cache policy. The comment cannot be longer than 128 characters.
|
|
26
40
|
*/
|
|
41
|
+
Comment?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The default amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value as the object's time to live (TTL) only when the origin does *not* send ``Cache-Control`` or ``Expires`` headers with the object. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*.
|
|
44
|
+
The default value for this field is 86400 seconds (one day). If the value of ``MinTTL`` is more than 86400 seconds, then the default value for this field is the same as the value of ``MinTTL``.
|
|
45
|
+
* @min `0`
|
|
46
|
+
*/
|
|
27
47
|
DefaultTTL: number;
|
|
28
48
|
/**
|
|
29
|
-
|
|
30
|
-
|
|
49
|
+
* The maximum amount of time, in seconds, that objects stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. CloudFront uses this value only when the origin sends ``Cache-Control`` or ``Expires`` headers with the object. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*.
|
|
50
|
+
The default value for this field is 31536000 seconds (one year). If the value of ``MinTTL`` or ``DefaultTTL`` is more than 31536000 seconds, then the default value for this field is the same as the value of ``DefaultTTL``.
|
|
51
|
+
* @min `0`
|
|
52
|
+
*/
|
|
31
53
|
MaxTTL: number;
|
|
32
54
|
/**
|
|
55
|
+
* The minimum amount of time, in seconds, that you want objects to stay in the CloudFront cache before CloudFront sends another request to the origin to see if the object has been updated. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the *Amazon CloudFront Developer Guide*.
|
|
33
56
|
* @min `0`
|
|
34
57
|
*/
|
|
35
58
|
MinTTL: number;
|
|
59
|
+
/**
|
|
60
|
+
* A unique name to identify the cache policy.
|
|
61
|
+
*/
|
|
36
62
|
Name: string;
|
|
63
|
+
/**
|
|
64
|
+
* The HTTP headers, cookies, and URL query strings to include in the cache key. The values included in the cache key are also included in requests that CloudFront sends to the origin.
|
|
65
|
+
*/
|
|
37
66
|
ParametersInCacheKeyAndForwardedToOrigin: ParametersInCacheKeyAndForwardedToOrigin;
|
|
38
67
|
};
|
|
39
68
|
/**
|
|
40
69
|
* Type definition for `AWS::CloudFront::CachePolicy.CookiesConfig`.
|
|
70
|
+
* An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin.
|
|
41
71
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cookiesconfig.html}
|
|
42
72
|
*/
|
|
43
73
|
export type CookiesConfig = {
|
|
44
74
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
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
|
+
+ ``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
|
+
* @pattern `^(none|whitelist|allExcept|all)$`
|
|
81
|
+
*/
|
|
47
82
|
CookieBehavior: string;
|
|
83
|
+
/**
|
|
84
|
+
* Contains a list of cookie names.
|
|
85
|
+
*/
|
|
48
86
|
Cookies?: string[];
|
|
49
87
|
};
|
|
50
88
|
/**
|
|
51
89
|
* Type definition for `AWS::CloudFront::CachePolicy.HeadersConfig`.
|
|
90
|
+
* An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin.
|
|
52
91
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-headersconfig.html}
|
|
53
92
|
*/
|
|
54
93
|
export type HeadersConfig = {
|
|
55
94
|
/**
|
|
56
|
-
|
|
57
|
-
|
|
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
|
+
+ ``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
|
+
* @pattern `^(none|whitelist)$`
|
|
99
|
+
*/
|
|
58
100
|
HeaderBehavior: string;
|
|
101
|
+
/**
|
|
102
|
+
* Contains a list of HTTP header names.
|
|
103
|
+
*/
|
|
59
104
|
Headers?: string[];
|
|
60
105
|
};
|
|
61
106
|
/**
|
|
62
107
|
* Type definition for `AWS::CloudFront::CachePolicy.ParametersInCacheKeyAndForwardedToOrigin`.
|
|
108
|
+
* This object determines the values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
|
|
109
|
+
The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but *not* include them in the cache key, use ``OriginRequestPolicy``.
|
|
63
110
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin.html}
|
|
64
111
|
*/
|
|
65
112
|
export type ParametersInCacheKeyAndForwardedToOrigin = {
|
|
113
|
+
/**
|
|
114
|
+
* An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in the cache key and in requests that CloudFront sends to the origin.
|
|
115
|
+
*/
|
|
66
116
|
CookiesConfig: CookiesConfig;
|
|
117
|
+
/**
|
|
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`` *and* the viewer request includes the ``Accept-Encoding`` header, then CloudFront does the following:
|
|
120
|
+
+ Normalizes the value of the viewer's ``Accept-Encoding`` header
|
|
121
|
+
+ Includes the normalized header in the cache key
|
|
122
|
+
+ Includes the normalized header in the request to the origin, if a request is necessary
|
|
123
|
+
|
|
124
|
+
For more information, see [Compression support](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-policy-compressed-objects) in the *Amazon CloudFront Developer Guide*.
|
|
125
|
+
If you set this value to ``true``, and this cache behavior also has an origin request policy attached, do not include the ``Accept-Encoding`` header in the origin request policy. CloudFront always includes the ``Accept-Encoding`` header in origin requests when the value of this field is ``true``, so including this header in an origin request policy has no effect.
|
|
126
|
+
If both of these fields are ``false``, then CloudFront treats the ``Accept-Encoding`` header the same as any other HTTP header in the viewer request. By default, it's not included in the cache key and it's not included in origin requests. In this case, you can manually add ``Accept-Encoding`` to the headers whitelist like any other HTTP header.
|
|
127
|
+
*/
|
|
67
128
|
EnableAcceptEncodingBrotli?: boolean;
|
|
129
|
+
/**
|
|
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`` *and* the viewer request includes the ``Accept-Encoding`` header, then CloudFront does the following:
|
|
132
|
+
+ Normalizes the value of the viewer's ``Accept-Encoding`` header
|
|
133
|
+
+ Includes the normalized header in the cache key
|
|
134
|
+
+ Includes the normalized header in the request to the origin, if a request is necessary
|
|
135
|
+
|
|
136
|
+
For more information, see [Compression support](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-policy-compressed-objects) in the *Amazon CloudFront Developer Guide*.
|
|
137
|
+
If you set this value to ``true``, and this cache behavior also has an origin request policy attached, do not include the ``Accept-Encoding`` header in the origin request policy. CloudFront always includes the ``Accept-Encoding`` header in origin requests when the value of this field is ``true``, so including this header in an origin request policy has no effect.
|
|
138
|
+
If both of these fields are ``false``, then CloudFront treats the ``Accept-Encoding`` header the same as any other HTTP header in the viewer request. By default, it's not included in the cache key and it's not included in origin requests. In this case, you can manually add ``Accept-Encoding`` to the headers whitelist like any other HTTP header.
|
|
139
|
+
*/
|
|
68
140
|
EnableAcceptEncodingGzip: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and in requests that CloudFront sends to the origin.
|
|
143
|
+
*/
|
|
69
144
|
HeadersConfig: HeadersConfig;
|
|
145
|
+
/**
|
|
146
|
+
* An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and in requests that CloudFront sends to the origin.
|
|
147
|
+
*/
|
|
70
148
|
QueryStringsConfig: QueryStringsConfig;
|
|
71
149
|
};
|
|
72
150
|
/**
|
|
73
151
|
* Type definition for `AWS::CloudFront::CachePolicy.QueryStringsConfig`.
|
|
152
|
+
* An object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the cache key and in requests that CloudFront sends to the origin.
|
|
74
153
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-querystringsconfig.html}
|
|
75
154
|
*/
|
|
76
155
|
export type QueryStringsConfig = {
|
|
77
156
|
/**
|
|
78
|
-
|
|
79
|
-
|
|
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
|
+
+ ``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
|
+
* @pattern `^(none|whitelist|allExcept|all)$`
|
|
163
|
+
*/
|
|
80
164
|
QueryStringBehavior: string;
|
|
165
|
+
/**
|
|
166
|
+
* Contains a list of query string names.
|
|
167
|
+
*/
|
|
81
168
|
QueryStrings?: string[];
|
|
82
169
|
};
|
|
83
170
|
/**
|
|
84
|
-
* Resource
|
|
171
|
+
* Resource type definition for `AWS::CloudFront::CachePolicy`.
|
|
172
|
+
* A cache policy.
|
|
173
|
+
When it's attached to a cache behavior, the cache policy determines the following:
|
|
174
|
+
+ The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
|
|
175
|
+
+ The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.
|
|
176
|
+
|
|
177
|
+
The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but *not* include them in the cache key, use ``OriginRequestPolicy``.
|
|
85
178
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cachepolicy.html}
|
|
86
179
|
*/
|
|
87
180
|
export declare class CloudFrontCachePolicy extends $Resource<"AWS::CloudFront::CachePolicy", CloudFrontCachePolicyProperties, CloudFrontCachePolicyAttributes> {
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
3
|
+
* Resource type definition for `AWS::CloudFront::CachePolicy`.
|
|
4
|
+
* A cache policy.
|
|
5
|
+
When it's attached to a cache behavior, the cache policy determines the following:
|
|
6
|
+
+ The values that CloudFront includes in the cache key. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.
|
|
7
|
+
+ The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.
|
|
8
|
+
|
|
9
|
+
The headers, cookies, and query strings that are included in the cache key are also included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a valid object in its cache that matches the request's cache key. If you want to send values to the origin but *not* include them in the cache key, use ``OriginRequestPolicy``.
|
|
4
10
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cachepolicy.html}
|
|
5
11
|
*/
|
|
6
12
|
export class CloudFrontCachePolicy extends $Resource {
|
|
@@ -1,10 +1,14 @@
|
|
|
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::CloudFrontOriginAccessIdentity`.
|
|
5
|
+
* The request to create a new origin access identity (OAI). An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see [Restricting Access to Amazon S3 Content by Using an Origin Access Identity](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) in the *Amazon CloudFront Developer Guide*.
|
|
5
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html}
|
|
6
7
|
*/
|
|
7
8
|
export type CloudFrontCloudFrontOriginAccessIdentityProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* The current configuration information for the identity.
|
|
11
|
+
*/
|
|
8
12
|
CloudFrontOriginAccessIdentityConfig: CloudFrontOriginAccessIdentityConfig;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
@@ -17,13 +21,18 @@ export type CloudFrontCloudFrontOriginAccessIdentityAttributes = {
|
|
|
17
21
|
};
|
|
18
22
|
/**
|
|
19
23
|
* Type definition for `AWS::CloudFront::CloudFrontOriginAccessIdentity.CloudFrontOriginAccessIdentityConfig`.
|
|
24
|
+
* Origin access identity configuration. Send a ``GET`` request to the ``/CloudFront API version/CloudFront/identity ID/config`` resource.
|
|
20
25
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cloudfrontoriginaccessidentity-cloudfrontoriginaccessidentityconfig.html}
|
|
21
26
|
*/
|
|
22
27
|
export type CloudFrontOriginAccessIdentityConfig = {
|
|
28
|
+
/**
|
|
29
|
+
* A comment to describe the origin access identity. The comment cannot be longer than 128 characters.
|
|
30
|
+
*/
|
|
23
31
|
Comment: string;
|
|
24
32
|
};
|
|
25
33
|
/**
|
|
26
|
-
* Resource
|
|
34
|
+
* Resource type definition for `AWS::CloudFront::CloudFrontOriginAccessIdentity`.
|
|
35
|
+
* The request to create a new origin access identity (OAI). An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see [Restricting Access to Amazon S3 Content by Using an Origin Access Identity](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) in the *Amazon CloudFront Developer Guide*.
|
|
27
36
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html}
|
|
28
37
|
*/
|
|
29
38
|
export declare class CloudFrontCloudFrontOriginAccessIdentity extends $Resource<"AWS::CloudFront::CloudFrontOriginAccessIdentity", CloudFrontCloudFrontOriginAccessIdentityProperties, CloudFrontCloudFrontOriginAccessIdentityAttributes> {
|
|
@@ -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::CloudFrontOriginAccessIdentity`.
|
|
4
|
+
* The request to create a new origin access identity (OAI). An origin access identity is a special CloudFront user that you can associate with Amazon S3 origins, so that you can secure all or just some of your Amazon S3 content. For more information, see [Restricting Access to Amazon S3 Content by Using an Origin Access Identity](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html) in the *Amazon CloudFront Developer Guide*.
|
|
4
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html}
|
|
5
6
|
*/
|
|
6
7
|
export class CloudFrontCloudFrontOriginAccessIdentity extends $Resource {
|