@awboost/cfn-resource-types 0.1.484 → 0.1.486
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.
|
@@ -156,6 +156,13 @@ export type CacheBehavior = {
|
|
|
156
156
|
*/
|
|
157
157
|
ViewerProtocolPolicy: string;
|
|
158
158
|
};
|
|
159
|
+
/**
|
|
160
|
+
* Type definition for `AWS::CloudFront::Distribution.ConnectionFunctionAssociation`.
|
|
161
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-connectionfunctionassociation.html}
|
|
162
|
+
*/
|
|
163
|
+
export type ConnectionFunctionAssociation = {
|
|
164
|
+
Id: string;
|
|
165
|
+
};
|
|
159
166
|
/**
|
|
160
167
|
* Type definition for `AWS::CloudFront::Distribution.ConnectionMode`.
|
|
161
168
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-connectionmode.html}
|
|
@@ -416,6 +423,7 @@ export type DistributionConfig = {
|
|
|
416
423
|
* A comment to describe the distribution. The comment cannot be longer than 128 characters.
|
|
417
424
|
*/
|
|
418
425
|
Comment?: string;
|
|
426
|
+
ConnectionFunctionAssociation?: ConnectionFunctionAssociation;
|
|
419
427
|
/**
|
|
420
428
|
* This field specifies whether the connection mode is through a standard distribution (direct) or a multi-tenant distribution with distribution tenants (tenant-only).
|
|
421
429
|
*/
|
|
@@ -520,6 +528,7 @@ export type DistributionConfig = {
|
|
|
520
528
|
* A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.
|
|
521
529
|
*/
|
|
522
530
|
ViewerCertificate?: ViewerCertificate;
|
|
531
|
+
ViewerMtlsConfig?: ViewerMtlsConfig;
|
|
523
532
|
/**
|
|
524
533
|
* Multi-tenant distributions only support WAF V2 web ACLs.
|
|
525
534
|
A unique identifier that specifies the WAF web ACL, if any, to associate with this distribution. To specify a web ACL created using the latest version of WAF, use the ACL ARN, for example ``arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111``. To specify a web ACL created using WAF Classic, use the ACL ID, for example ``a1b2c3d4-5678-90ab-cdef-EXAMPLE11111``.
|
|
@@ -989,6 +998,15 @@ export type Tag = {
|
|
|
989
998
|
*/
|
|
990
999
|
Value: string;
|
|
991
1000
|
};
|
|
1001
|
+
/**
|
|
1002
|
+
* Type definition for `AWS::CloudFront::Distribution.TrustStoreConfig`.
|
|
1003
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-truststoreconfig.html}
|
|
1004
|
+
*/
|
|
1005
|
+
export type TrustStoreConfig = {
|
|
1006
|
+
AdvertiseTrustStoreCaNames?: boolean;
|
|
1007
|
+
IgnoreCertificateExpiry?: boolean;
|
|
1008
|
+
TrustStoreId: string;
|
|
1009
|
+
};
|
|
992
1010
|
/**
|
|
993
1011
|
* Type definition for `AWS::CloudFront::Distribution.ViewerCertificate`.
|
|
994
1012
|
* A complex type that determines the distribution's SSL/TLS configuration for communicating with viewers.
|
|
@@ -1052,6 +1070,19 @@ export type ViewerCertificate = {
|
|
|
1052
1070
|
*/
|
|
1053
1071
|
SslSupportMethod?: string;
|
|
1054
1072
|
};
|
|
1073
|
+
/**
|
|
1074
|
+
* Type definition for `AWS::CloudFront::Distribution.ViewerMtlsConfig`.
|
|
1075
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewermtlsconfig.html}
|
|
1076
|
+
*/
|
|
1077
|
+
export type ViewerMtlsConfig = {
|
|
1078
|
+
Mode?: ViewerMtlsMode;
|
|
1079
|
+
TrustStoreConfig?: TrustStoreConfig;
|
|
1080
|
+
};
|
|
1081
|
+
/**
|
|
1082
|
+
* Type definition for `AWS::CloudFront::Distribution.ViewerMtlsMode`.
|
|
1083
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewermtlsmode.html}
|
|
1084
|
+
*/
|
|
1085
|
+
export type ViewerMtlsMode = "required" | "optional";
|
|
1055
1086
|
/**
|
|
1056
1087
|
* Type definition for `AWS::CloudFront::Distribution.VpcOriginConfig`.
|
|
1057
1088
|
* An Amazon CloudFront VPC origin configuration.
|
|
@@ -0,0 +1,101 @@
|
|
|
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::CloudFront::TrustStore. TrustStores contain CA certificates for mTLS authentication and can be associated with CloudFront distributions.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html}
|
|
6
|
+
*/
|
|
7
|
+
export type CloudFrontTrustStoreProperties = {
|
|
8
|
+
CaCertificatesBundleSource?: CaCertificatesBundleSource;
|
|
9
|
+
/**
|
|
10
|
+
* A unique name to identify the trust store
|
|
11
|
+
*/
|
|
12
|
+
Name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Key-value pairs for resource tagging
|
|
15
|
+
*/
|
|
16
|
+
Tags?: Tag[];
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Attribute type definition for `AWS::CloudFront::TrustStore`.
|
|
20
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html#aws-resource-cloudfront-truststore-return-values}
|
|
21
|
+
*/
|
|
22
|
+
export type CloudFrontTrustStoreAttributes = {
|
|
23
|
+
/**
|
|
24
|
+
* The Amazon Resource Name (ARN) of the trust store
|
|
25
|
+
* @pattern `^arn:aws:cloudfront::[0-9]{12}:trust-store/[A-Za-z0-9_]+$`
|
|
26
|
+
*/
|
|
27
|
+
Arn: string;
|
|
28
|
+
ETag: string;
|
|
29
|
+
/**
|
|
30
|
+
* The unique identifier for the trust store
|
|
31
|
+
*/
|
|
32
|
+
Id: string;
|
|
33
|
+
/**
|
|
34
|
+
* The last modification timestamp of the trust store PEM file
|
|
35
|
+
*/
|
|
36
|
+
LastModifiedTime: string;
|
|
37
|
+
/**
|
|
38
|
+
* The number of CA certificates in the trust store PEM file
|
|
39
|
+
*/
|
|
40
|
+
NumberOfCaCertificates: number;
|
|
41
|
+
/**
|
|
42
|
+
* Current status of the trust store
|
|
43
|
+
*/
|
|
44
|
+
Status: "PENDING" | "ACTIVE" | "FAILED";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Type definition for `AWS::CloudFront::TrustStore.CaCertificatesBundleS3Location`.
|
|
48
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundles3location.html}
|
|
49
|
+
*/
|
|
50
|
+
export type CaCertificatesBundleS3Location = {
|
|
51
|
+
/**
|
|
52
|
+
* The S3 bucket containing the CA certificates bundle PEM file
|
|
53
|
+
*/
|
|
54
|
+
Bucket: string;
|
|
55
|
+
/**
|
|
56
|
+
* The S3 object key of the CA certificates bundle PEM file
|
|
57
|
+
*/
|
|
58
|
+
Key: string;
|
|
59
|
+
/**
|
|
60
|
+
* The S3 bucket region
|
|
61
|
+
*/
|
|
62
|
+
Region: string;
|
|
63
|
+
/**
|
|
64
|
+
* The S3 object version of the CA certificates bundle PEM file
|
|
65
|
+
*/
|
|
66
|
+
Version?: string;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Type definition for `AWS::CloudFront::TrustStore.CaCertificatesBundleSource`.
|
|
70
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-cacertificatesbundlesource.html}
|
|
71
|
+
*/
|
|
72
|
+
export type CaCertificatesBundleSource = {
|
|
73
|
+
CaCertificatesBundleS3Location: CaCertificatesBundleS3Location;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Type definition for `AWS::CloudFront::TrustStore.Tag`.
|
|
77
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-truststore-tag.html}
|
|
78
|
+
*/
|
|
79
|
+
export type Tag = {
|
|
80
|
+
/**
|
|
81
|
+
* @minLength `1`
|
|
82
|
+
* @maxLength `128`
|
|
83
|
+
* @pattern `^[a-zA-Z0-9 _.:/=+\-@]{1,128}\Z`
|
|
84
|
+
*/
|
|
85
|
+
Key: string;
|
|
86
|
+
/**
|
|
87
|
+
* @minLength `0`
|
|
88
|
+
* @maxLength `256`
|
|
89
|
+
* @pattern `^[a-zA-Z0-9 _.:/=+\-@]{0,256}\Z`
|
|
90
|
+
*/
|
|
91
|
+
Value: string;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Resource Type definition for AWS::CloudFront::TrustStore. TrustStores contain CA certificates for mTLS authentication and can be associated with CloudFront distributions.
|
|
95
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html}
|
|
96
|
+
*/
|
|
97
|
+
export declare class CloudFrontTrustStore extends $Resource<"AWS::CloudFront::TrustStore", CloudFrontTrustStoreProperties, CloudFrontTrustStoreAttributes> {
|
|
98
|
+
static readonly Type = "AWS::CloudFront::TrustStore";
|
|
99
|
+
constructor(logicalId: string, properties: CloudFrontTrustStoreProperties, options?: $ResourceOptions);
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=AWS-CloudFront-TrustStore.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::CloudFront::TrustStore. TrustStores contain CA certificates for mTLS authentication and can be associated with CloudFront distributions.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-truststore.html}
|
|
5
|
+
*/
|
|
6
|
+
export class CloudFrontTrustStore extends $Resource {
|
|
7
|
+
static Type = "AWS::CloudFront::TrustStore";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, CloudFrontTrustStore.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-CloudFront-TrustStore.js.map
|
|
@@ -337,7 +337,7 @@ export type OcsfNumberFilter = {
|
|
|
337
337
|
/**
|
|
338
338
|
* The name of the field
|
|
339
339
|
*/
|
|
340
|
-
FieldName: "activity_id" | "compliance.status_id" | "confidence_score" | "
|
|
340
|
+
FieldName: "activity_id" | "compliance.status_id" | "confidence_score" | "finding_info.related_events_count" | "vendor_attributes.severity_id";
|
|
341
341
|
/**
|
|
342
342
|
* A number filter for querying findings
|
|
343
343
|
*/
|
|
@@ -348,7 +348,7 @@ export type OcsfNumberFilter = {
|
|
|
348
348
|
* The name of the field
|
|
349
349
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfstringfield.html}
|
|
350
350
|
*/
|
|
351
|
-
export type OcsfStringField = "
|
|
351
|
+
export type OcsfStringField = "activity_name" | "cloud.account.name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.category" | "compliance.assessments.name" | "compliance.control" | "compliance.status" | "compliance.standards" | "finding_info.desc" | "finding_info.src_url" | "finding_info.title" | "finding_info.types" | "finding_info.uid" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "metadata.product.feature.uid" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.name" | "resources.region" | "resources.type" | "resources.uid" | "vulnerabilities.fix_coverage" | "class_name" | "vendor_attributes.severity";
|
|
352
352
|
/**
|
|
353
353
|
* Type definition for `AWS::SecurityHub::AutomationRuleV2.OcsfStringFilter`.
|
|
354
354
|
* Enables filtering of security findings based on string field values in OCSF
|