@awboost/cfn-resource-types 0.1.278 → 0.1.280
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-IAM-SAMLProvider.d.ts +48 -1
- package/lib/AWS-IoTFleetWise-DecoderManifest.d.ts +8 -0
- package/lib/AWS-OpenSearchServerless-Index.d.ts +130 -0
- package/lib/AWS-OpenSearchServerless-Index.js +13 -0
- package/lib/AWS-RDS-DBCluster.d.ts +1 -1
- package/lib/AWS-RDS-DBInstance.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5,17 +5,39 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
|
|
|
5
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-samlprovider.html}
|
|
6
6
|
*/
|
|
7
7
|
export type IAMSAMLProviderProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The private key from your external identity provider
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
* @maxLength `16384`
|
|
12
|
+
* @pattern `[\u0009\u000A\u000D\u0020-\u00FF]+`
|
|
13
|
+
*/
|
|
14
|
+
AddPrivateKey?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The encryption setting for the SAML provider
|
|
17
|
+
*/
|
|
18
|
+
AssertionEncryptionMode?: "Allowed" | "Required";
|
|
8
19
|
/**
|
|
9
20
|
* @minLength `1`
|
|
10
21
|
* @maxLength `128`
|
|
11
22
|
* @pattern `[\w._-]+`
|
|
12
23
|
*/
|
|
13
24
|
Name?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @maxLength `2`
|
|
27
|
+
*/
|
|
28
|
+
PrivateKeyList?: SAMLPrivateKey[];
|
|
29
|
+
/**
|
|
30
|
+
* The Key ID of the private key to remove
|
|
31
|
+
* @minLength `22`
|
|
32
|
+
* @maxLength `64`
|
|
33
|
+
* @pattern `[A-Z0-9]+`
|
|
34
|
+
*/
|
|
35
|
+
RemovePrivateKey?: string;
|
|
14
36
|
/**
|
|
15
37
|
* @minLength `1000`
|
|
16
38
|
* @maxLength `10000000`
|
|
17
39
|
*/
|
|
18
|
-
SamlMetadataDocument
|
|
40
|
+
SamlMetadataDocument?: string;
|
|
19
41
|
Tags?: Tag[];
|
|
20
42
|
};
|
|
21
43
|
/**
|
|
@@ -29,6 +51,31 @@ export type IAMSAMLProviderAttributes = {
|
|
|
29
51
|
* @maxLength `1600`
|
|
30
52
|
*/
|
|
31
53
|
Arn: string;
|
|
54
|
+
/**
|
|
55
|
+
* The unique identifier assigned to the SAML provider
|
|
56
|
+
* @minLength `22`
|
|
57
|
+
* @maxLength `64`
|
|
58
|
+
* @pattern `[A-Z0-9]+`
|
|
59
|
+
*/
|
|
60
|
+
SamlProviderUUID: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Type definition for `AWS::IAM::SAMLProvider.SAMLPrivateKey`.
|
|
64
|
+
* The private key metadata for the SAML provider
|
|
65
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-samlprovider-samlprivatekey.html}
|
|
66
|
+
*/
|
|
67
|
+
export type SAMLPrivateKey = {
|
|
68
|
+
/**
|
|
69
|
+
* The unique identifier for the SAML private key.
|
|
70
|
+
* @minLength `22`
|
|
71
|
+
* @maxLength `64`
|
|
72
|
+
* @pattern `[A-Z0-9]+`
|
|
73
|
+
*/
|
|
74
|
+
KeyId: string;
|
|
75
|
+
/**
|
|
76
|
+
* The date and time, in <a href=\"http://www.iso.org/iso/iso8601\">ISO 8601 date-time </a> format, when the private key was uploaded.
|
|
77
|
+
*/
|
|
78
|
+
Timestamp: string;
|
|
32
79
|
};
|
|
33
80
|
/**
|
|
34
81
|
* Type definition for `AWS::IAM::SAMLProvider.Tag`.
|
|
@@ -95,6 +95,7 @@ export type CanSignal = {
|
|
|
95
95
|
*/
|
|
96
96
|
Name?: string;
|
|
97
97
|
Offset: number | string;
|
|
98
|
+
SignalValueType?: SignalValueType;
|
|
98
99
|
StartBit: number | string;
|
|
99
100
|
};
|
|
100
101
|
/**
|
|
@@ -222,11 +223,13 @@ export type ObdSignal = {
|
|
|
222
223
|
BitMaskLength?: number | string;
|
|
223
224
|
BitRightShift?: number | string;
|
|
224
225
|
ByteLength: number | string;
|
|
226
|
+
IsSigned?: boolean | string;
|
|
225
227
|
Offset: number | string;
|
|
226
228
|
Pid: number | string;
|
|
227
229
|
PidResponseLength: number | string;
|
|
228
230
|
Scaling: number | string;
|
|
229
231
|
ServiceMode: number | string;
|
|
232
|
+
SignalValueType?: SignalValueType;
|
|
230
233
|
StartByte: number | string;
|
|
231
234
|
};
|
|
232
235
|
/**
|
|
@@ -247,6 +250,11 @@ export type ObdSignalDecoder = {
|
|
|
247
250
|
ObdSignal: ObdSignal;
|
|
248
251
|
Type: "OBD_SIGNAL";
|
|
249
252
|
};
|
|
253
|
+
/**
|
|
254
|
+
* Type definition for `AWS::IoTFleetWise::DecoderManifest.SignalValueType`.
|
|
255
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-decodermanifest-signalvaluetype.html}
|
|
256
|
+
*/
|
|
257
|
+
export type SignalValueType = "INTEGER" | "FLOATING_POINT";
|
|
250
258
|
/**
|
|
251
259
|
* Type definition for `AWS::IoTFleetWise::DecoderManifest.Tag`.
|
|
252
260
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-decodermanifest-tag.html}
|
|
@@ -0,0 +1,130 @@
|
|
|
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::OpenSearchServerless::Index`.
|
|
5
|
+
* An OpenSearch Serverless index resource
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-index.html}
|
|
7
|
+
*/
|
|
8
|
+
export type OpenSearchServerlessIndexProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* The endpoint for the collection.
|
|
11
|
+
*/
|
|
12
|
+
CollectionEndpoint: string;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the OpenSearch Serverless index.
|
|
15
|
+
* @pattern `^(?![_-])[a-z][a-z0-9_-]*$`
|
|
16
|
+
*/
|
|
17
|
+
IndexName: string;
|
|
18
|
+
/**
|
|
19
|
+
* Index Mappings
|
|
20
|
+
*/
|
|
21
|
+
Mappings?: {
|
|
22
|
+
/**
|
|
23
|
+
* Defines the fields within the mapping, including their types and configurations
|
|
24
|
+
*/
|
|
25
|
+
Properties?: Record<string, PropertyMapping>;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Index settings
|
|
29
|
+
*/
|
|
30
|
+
Settings?: IndexSettings;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Attribute type definition for `AWS::OpenSearchServerless::Index`.
|
|
34
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-index.html#aws-resource-opensearchserverless-index-return-values}
|
|
35
|
+
*/
|
|
36
|
+
export type OpenSearchServerlessIndexAttributes = {
|
|
37
|
+
/**
|
|
38
|
+
* The unique identifier for the index.
|
|
39
|
+
*/
|
|
40
|
+
Uuid: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Type definition for `AWS::OpenSearchServerless::Index.IndexSettings`.
|
|
44
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-indexsettings.html}
|
|
45
|
+
*/
|
|
46
|
+
export type IndexSettings = {
|
|
47
|
+
Index?: {
|
|
48
|
+
/**
|
|
49
|
+
* Enable/disable k-nearest neighbor search capability
|
|
50
|
+
*/
|
|
51
|
+
Knn?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Size of the dynamic list for the nearest neighbors
|
|
54
|
+
*/
|
|
55
|
+
KnnAlgoParamEfSearch?: number;
|
|
56
|
+
/**
|
|
57
|
+
* How often to perform refresh operation (e.g. '1s', '5s')
|
|
58
|
+
*/
|
|
59
|
+
RefreshInterval?: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Type definition for `AWS::OpenSearchServerless::Index.PropertyMapping`.
|
|
64
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-opensearchserverless-index-propertymapping.html}
|
|
65
|
+
*/
|
|
66
|
+
export type PropertyMapping = {
|
|
67
|
+
/**
|
|
68
|
+
* Dimension size for vector fields, defines the number of dimensions in the vector
|
|
69
|
+
*/
|
|
70
|
+
Dimension?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Whether a field should be indexed
|
|
73
|
+
*/
|
|
74
|
+
Index?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Configuration for k-NN search method
|
|
77
|
+
*/
|
|
78
|
+
Method?: {
|
|
79
|
+
/**
|
|
80
|
+
* The k-NN search engine to use
|
|
81
|
+
*/
|
|
82
|
+
Engine: "nmslib" | "faiss" | "lucene";
|
|
83
|
+
/**
|
|
84
|
+
* The algorithm name for k-NN search
|
|
85
|
+
*/
|
|
86
|
+
Name: "hnsw" | "ivf";
|
|
87
|
+
/**
|
|
88
|
+
* Additional parameters for the k-NN algorithm
|
|
89
|
+
*/
|
|
90
|
+
Parameters?: {
|
|
91
|
+
/**
|
|
92
|
+
* The size of the dynamic list used during k-NN graph creation
|
|
93
|
+
* @min `1`
|
|
94
|
+
*/
|
|
95
|
+
EfConstruction?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Number of neighbors to consider during k-NN search
|
|
98
|
+
* @min `2`
|
|
99
|
+
* @max `100`
|
|
100
|
+
*/
|
|
101
|
+
M?: number;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* The distance function used for k-NN search
|
|
105
|
+
*/
|
|
106
|
+
SpaceType?: "l2" | "l1" | "linf" | "cosinesimil" | "innerproduct" | "hamming";
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Nested fields within an object or nested field type
|
|
110
|
+
*/
|
|
111
|
+
Properties?: Record<string, PropertyMapping>;
|
|
112
|
+
/**
|
|
113
|
+
* The field data type. Must be a valid OpenSearch field type.
|
|
114
|
+
*/
|
|
115
|
+
Type: "text" | "knn_vector";
|
|
116
|
+
/**
|
|
117
|
+
* Default value for the field when not specified in a document
|
|
118
|
+
*/
|
|
119
|
+
Value?: string;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Resource type definition for `AWS::OpenSearchServerless::Index`.
|
|
123
|
+
* An OpenSearch Serverless index resource
|
|
124
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-index.html}
|
|
125
|
+
*/
|
|
126
|
+
export declare class OpenSearchServerlessIndex extends $Resource<"AWS::OpenSearchServerless::Index", OpenSearchServerlessIndexProperties, OpenSearchServerlessIndexAttributes> {
|
|
127
|
+
static readonly Type = "AWS::OpenSearchServerless::Index";
|
|
128
|
+
constructor(logicalId: string, properties: OpenSearchServerlessIndexProperties, options?: $ResourceOptions);
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=AWS-OpenSearchServerless-Index.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::OpenSearchServerless::Index`.
|
|
4
|
+
* An OpenSearch Serverless index resource
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-index.html}
|
|
6
|
+
*/
|
|
7
|
+
export class OpenSearchServerlessIndex extends $Resource {
|
|
8
|
+
static Type = "AWS::OpenSearchServerless::Index";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, OpenSearchServerlessIndex.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-OpenSearchServerless-Index.js.map
|
|
@@ -123,7 +123,7 @@ export type RDSDBClusterProperties = {
|
|
|
123
123
|
/**
|
|
124
124
|
* The mode of Database Insights to enable for the DB cluster.
|
|
125
125
|
If you set this value to ``advanced``, you must also set the ``PerformanceInsightsEnabled`` parameter to ``true`` and the ``PerformanceInsightsRetentionPeriod`` parameter to 465.
|
|
126
|
-
Valid for Cluster Type: Aurora DB clusters
|
|
126
|
+
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
|
|
127
127
|
*/
|
|
128
128
|
DatabaseInsightsMode?: string;
|
|
129
129
|
/**
|
|
@@ -294,7 +294,7 @@ export type RDSDBInstanceProperties = {
|
|
|
294
294
|
DBSnapshotIdentifier?: string;
|
|
295
295
|
/**
|
|
296
296
|
* A DB subnet group to associate with the DB instance. If you update this value, the new subnet group must be a subnet group in a new VPC.
|
|
297
|
-
If
|
|
297
|
+
If you don't specify a DB subnet group, RDS uses the default DB subnet group if one exists. If a default DB subnet group does not exist, and you don't specify a ``DBSubnetGroupName``, the DB instance fails to launch.
|
|
298
298
|
For more information about using Amazon RDS in a VPC, see [Amazon VPC and Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html) in the *Amazon RDS User Guide*.
|
|
299
299
|
This setting doesn't apply to Amazon Aurora DB instances. The DB subnet group is managed by the DB cluster. If specified, the setting must match the DB cluster setting.
|
|
300
300
|
*/
|