@awboost/cfn-resource-types 0.1.352 → 0.1.353
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-CustomerProfiles-CalculatedAttributeDefinition.d.ts +78 -3
- package/lib/AWS-CustomerProfiles-ObjectType.d.ts +11 -1
- package/lib/AWS-CustomerProfiles-SegmentDefinition.d.ts +6 -6
- package/lib/AWS-ECS-Service.d.ts +1 -1
- package/lib/AWS-EFS-MountTarget.d.ts +2 -0
- package/lib/AWS-FIS-ExperimentTemplate.d.ts +1 -1
- package/package.json +1 -1
|
@@ -51,6 +51,10 @@ export type CustomerProfilesCalculatedAttributeDefinitionProperties = {
|
|
|
51
51
|
* @maxLength `50`
|
|
52
52
|
*/
|
|
53
53
|
Tags?: Tag[];
|
|
54
|
+
/**
|
|
55
|
+
* Whether to use historical data for the calculated attribute.
|
|
56
|
+
*/
|
|
57
|
+
UseHistoricalData?: boolean;
|
|
54
58
|
};
|
|
55
59
|
/**
|
|
56
60
|
* Attribute type definition for `AWS::CustomerProfiles::CalculatedAttributeDefinition`.
|
|
@@ -65,6 +69,25 @@ export type CustomerProfilesCalculatedAttributeDefinitionAttributes = {
|
|
|
65
69
|
* The timestamp of when the calculated attribute definition was most recently edited.
|
|
66
70
|
*/
|
|
67
71
|
LastUpdatedAt: string;
|
|
72
|
+
/**
|
|
73
|
+
* The readiness status of the calculated attribute.
|
|
74
|
+
*/
|
|
75
|
+
Readiness: {
|
|
76
|
+
/**
|
|
77
|
+
* Any information pertaining to the status of the calculated attribute if required.
|
|
78
|
+
*/
|
|
79
|
+
Message: string;
|
|
80
|
+
/**
|
|
81
|
+
* The progress percentage for including historical data in your calculated attribute.
|
|
82
|
+
* @min `0`
|
|
83
|
+
* @max `100`
|
|
84
|
+
*/
|
|
85
|
+
ProgressPercentage: number;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* The status of the calculated attribute definition.
|
|
89
|
+
*/
|
|
90
|
+
Status: "IN_PROGRESS" | "PREPARING" | "COMPLETED" | "FAILED";
|
|
68
91
|
};
|
|
69
92
|
/**
|
|
70
93
|
* Type definition for `AWS::CustomerProfiles::CalculatedAttributeDefinition.AttributeDetails`.
|
|
@@ -108,7 +131,7 @@ export type Conditions = {
|
|
|
108
131
|
/**
|
|
109
132
|
* The number of profile objects used for the calculated attribute.
|
|
110
133
|
* @min `1`
|
|
111
|
-
* @max `
|
|
134
|
+
* @max `300`
|
|
112
135
|
*/
|
|
113
136
|
ObjectCount?: number;
|
|
114
137
|
/**
|
|
@@ -126,6 +149,18 @@ export type Conditions = {
|
|
|
126
149
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-range.html}
|
|
127
150
|
*/
|
|
128
151
|
export type Range = {
|
|
152
|
+
/**
|
|
153
|
+
* The format the timestamp field in your JSON object is specified. This value should be one of EPOCHMILLI or ISO_8601. E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "2001-07-04T12:08:56.235Z"}}, then TimestampFormat should be "ISO_8601".
|
|
154
|
+
* @minLength `1`
|
|
155
|
+
* @maxLength `255`
|
|
156
|
+
*/
|
|
157
|
+
TimestampFormat?: string;
|
|
158
|
+
/**
|
|
159
|
+
* An expression specifying the field in your JSON object from which the date should be parsed. The expression should follow the structure of \"{ObjectTypeName.<Location of timestamp field in JSON pointer format>}\". E.g. if your object type is MyType and source JSON is {"generatedAt": {"timestamp": "1737587945945"}}, then TimestampSource should be "{MyType.generatedAt.timestamp}".
|
|
160
|
+
* @minLength `1`
|
|
161
|
+
* @maxLength `255`
|
|
162
|
+
*/
|
|
163
|
+
TimestampSource?: string;
|
|
129
164
|
/**
|
|
130
165
|
* The unit of time.
|
|
131
166
|
*/
|
|
@@ -133,9 +168,13 @@ export type Range = {
|
|
|
133
168
|
/**
|
|
134
169
|
* The amount of time of the specified unit.
|
|
135
170
|
* @min `1`
|
|
136
|
-
* @max `
|
|
171
|
+
* @max `2147483647`
|
|
172
|
+
*/
|
|
173
|
+
Value?: number;
|
|
174
|
+
/**
|
|
175
|
+
* A structure specifying the endpoints of the relative time period over which data is included in the aggregation.
|
|
137
176
|
*/
|
|
138
|
-
|
|
177
|
+
ValueRange?: ValueRange;
|
|
139
178
|
};
|
|
140
179
|
/**
|
|
141
180
|
* Type definition for `AWS::CustomerProfiles::CalculatedAttributeDefinition.RangeUnit`.
|
|
@@ -143,6 +182,23 @@ export type Range = {
|
|
|
143
182
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-rangeunit.html}
|
|
144
183
|
*/
|
|
145
184
|
export type RangeUnit = "DAYS";
|
|
185
|
+
/**
|
|
186
|
+
* Type definition for `AWS::CustomerProfiles::CalculatedAttributeDefinition.Readiness`.
|
|
187
|
+
* The readiness status of the calculated attribute.
|
|
188
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-readiness.html}
|
|
189
|
+
*/
|
|
190
|
+
export type Readiness = {
|
|
191
|
+
/**
|
|
192
|
+
* Any information pertaining to the status of the calculated attribute if required.
|
|
193
|
+
*/
|
|
194
|
+
Message?: string;
|
|
195
|
+
/**
|
|
196
|
+
* The progress percentage for including historical data in your calculated attribute.
|
|
197
|
+
* @min `0`
|
|
198
|
+
* @max `100`
|
|
199
|
+
*/
|
|
200
|
+
ProgressPercentage?: number;
|
|
201
|
+
};
|
|
146
202
|
/**
|
|
147
203
|
* Type definition for `AWS::CustomerProfiles::CalculatedAttributeDefinition.Statistic`.
|
|
148
204
|
* The aggregation operation to perform for the calculated attribute.
|
|
@@ -191,6 +247,25 @@ export type Threshold = {
|
|
|
191
247
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-thresholdoperator.html}
|
|
192
248
|
*/
|
|
193
249
|
export type ThresholdOperator = "EQUAL_TO" | "GREATER_THAN" | "LESS_THAN" | "NOT_EQUAL_TO";
|
|
250
|
+
/**
|
|
251
|
+
* Type definition for `AWS::CustomerProfiles::CalculatedAttributeDefinition.ValueRange`.
|
|
252
|
+
* A structure specifying the endpoints of the relative time period over which data is included in the aggregation.
|
|
253
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-customerprofiles-calculatedattributedefinition-valuerange.html}
|
|
254
|
+
*/
|
|
255
|
+
export type ValueRange = {
|
|
256
|
+
/**
|
|
257
|
+
* The ending point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
|
|
258
|
+
* @min `-2147483648`
|
|
259
|
+
* @max `2147483647`
|
|
260
|
+
*/
|
|
261
|
+
End: number;
|
|
262
|
+
/**
|
|
263
|
+
* The starting point for this range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
|
|
264
|
+
* @min `-2147483648`
|
|
265
|
+
* @max `2147483647`
|
|
266
|
+
*/
|
|
267
|
+
Start: number;
|
|
268
|
+
};
|
|
194
269
|
/**
|
|
195
270
|
* Resource type definition for `AWS::CustomerProfiles::CalculatedAttributeDefinition`.
|
|
196
271
|
* A calculated attribute definition for Customer Profiles
|
|
@@ -13,7 +13,7 @@ export type CustomerProfilesObjectTypeProperties = {
|
|
|
13
13
|
/**
|
|
14
14
|
* Description of the profile object type.
|
|
15
15
|
* @minLength `1`
|
|
16
|
-
* @maxLength `
|
|
16
|
+
* @maxLength `10000`
|
|
17
17
|
*/
|
|
18
18
|
Description: string;
|
|
19
19
|
/**
|
|
@@ -43,6 +43,11 @@ export type CustomerProfilesObjectTypeProperties = {
|
|
|
43
43
|
* A list of unique keys that can be used to map data to the profile.
|
|
44
44
|
*/
|
|
45
45
|
Keys?: KeyMap[];
|
|
46
|
+
/**
|
|
47
|
+
* The maximum number of profile objects for this object type
|
|
48
|
+
* @min `1`
|
|
49
|
+
*/
|
|
50
|
+
MaxProfileObjectCount?: number;
|
|
46
51
|
/**
|
|
47
52
|
* The name of the profile object type.
|
|
48
53
|
* @minLength `1`
|
|
@@ -83,6 +88,11 @@ export type CustomerProfilesObjectTypeAttributes = {
|
|
|
83
88
|
* The time of this integration got last updated at.
|
|
84
89
|
*/
|
|
85
90
|
LastUpdatedAt: string;
|
|
91
|
+
/**
|
|
92
|
+
* The maximum available number of profile objects
|
|
93
|
+
* @min `0`
|
|
94
|
+
*/
|
|
95
|
+
MaxAvailableProfileObjectCount: number;
|
|
86
96
|
};
|
|
87
97
|
/**
|
|
88
98
|
* Type definition for `AWS::CustomerProfiles::ObjectType.FieldMap`.
|
|
@@ -346,15 +346,15 @@ export type ProfileDimension = {
|
|
|
346
346
|
*/
|
|
347
347
|
export type RangeOverride = {
|
|
348
348
|
/**
|
|
349
|
-
* The ending point for this overridden range.
|
|
350
|
-
* @min `
|
|
351
|
-
* @max `
|
|
349
|
+
* The ending point for this overridden range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
|
|
350
|
+
* @min `-2147483648`
|
|
351
|
+
* @max `2147483647`
|
|
352
352
|
*/
|
|
353
353
|
End?: number;
|
|
354
354
|
/**
|
|
355
|
-
* The starting point for this overridden range.
|
|
356
|
-
* @min `
|
|
357
|
-
* @max `
|
|
355
|
+
* The starting point for this overridden range. Positive numbers indicate how many days in the past data should be included, and negative numbers indicate how many days in the future.
|
|
356
|
+
* @min `-2147483648`
|
|
357
|
+
* @max `2147483647`
|
|
358
358
|
*/
|
|
359
359
|
Start: number;
|
|
360
360
|
/**
|
package/lib/AWS-ECS-Service.d.ts
CHANGED
|
@@ -373,7 +373,7 @@ export type LogConfiguration = {
|
|
|
373
373
|
The options you can specify depend on the log driver. Some of the options you can specify when you use the ``awslogs`` log driver to route logs to Amazon CloudWatch include the following:
|
|
374
374
|
+ awslogs-create-group Required: No Specify whether you want the log group to be created automatically. If this option isn't specified, it defaults to false. Your IAM policy must include the logs:CreateLogGroup permission before you attempt to use awslogs-create-group. + awslogs-region Required: Yes Specify the Region that the awslogs log driver is to send your Docker logs to. You can choose to send all of your logs from clusters in different Regions to a single region in CloudWatch Logs. This is so that they're all visible in one location. Otherwise, you can separate them by Region for more granularity. Make sure that the specified log group exists in the Region that you specify with this option. + awslogs-group Required: Yes Make sure to specify a log group that the awslogs log driver sends its log streams to. + awslogs-stream-prefix Required: Yes, when using Fargate.Optional when using EC2. Use the awslogs-stream-prefix option to associate a log stream with the specified prefix, the container name, and the ID of the Amazon ECS task that the container belongs to. If you specify a prefix with this option, then the log stream takes the format prefix-name/container-name/ecs-task-id. If you don't specify a prefix with this option, then the log stream is named after the container ID that's assigned by the Docker daemon on the container instance. Because it's difficult to trace logs back to the container that sent them with just the Docker container ID (which is only available on the container instance), we recommend that you specify a prefix with this option. For Amazon ECS services, you can use the service name as the prefix. Doing so, you can trace log streams to the service that the container belongs to, the name of the container that sent them, and the ID of the task that the container belongs to. You must specify a stream-prefix for your logs to have your logs appear in the Log pane when using the Amazon ECS console. + awslogs-datetime-format Required: No This option defines a multiline start pattern in Python strftime format. A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. The matched line is the delimiter between log messages. One example of a use case for using this format is for parsing output such as a stack dump, which might otherwise be logged in multiple entries. The correct pattern allows it to be captured in a single entry. For more information, see awslogs-datetime-format. You cannot configure both the awslogs-datetime-format and awslogs-multiline-pattern options. Multiline logging performs regular expression parsing and matching of all log messages. This might have a negative impact on logging performance. + awslogs-multiline-pattern Required: No This option defines a multiline start pattern that uses a regular expression. A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. The matched line is the delimiter between log messages. For more information, see awslogs-multiline-pattern. This option is ignored if awslogs-datetime-format is also configured. You cannot configure both the awslogs-datetime-format and awslogs-multiline-pattern options. Multiline logging performs regular expression parsing and matching of all log messages. This might have a negative impact on logging performance.
|
|
375
375
|
The following options apply to all supported log drivers.
|
|
376
|
-
+ mode Required: No Valid values: non-blocking | blocking This option defines the delivery mode of log messages from the container to the log driver specified using logDriver. The delivery mode you choose affects application availability when the flow of logs from container is interrupted. If you use the blocking mode and the flow of logs is interrupted, calls from container code to write to the stdout and stderr streams will block. The logging thread of the application will block as a result. This may cause the application to become unresponsive and lead to container healthcheck failure. If you use the non-blocking mode, the container's logs are instead stored in an in-memory intermediate buffer configured with the max-buffer-size option. This prevents the application from becoming unresponsive when logs cannot be sent. We recommend using this mode if you want to ensure service availability and are okay with some log loss. For more information, see Preventing log loss with non-blocking mode in the awslogs container log driver. You can set a default mode for all containers in a specific Region by using the defaultLogDriverMode account setting. If you don't specify the mode option or configure the account setting, Amazon ECS will default to the blocking mode. For more information about the account setting, see Default log driver mode in the Amazon Elastic Container Service Developer Guide. + max-buffer-size Required: No Default value: 1m When non-blocking mode is used, the max-buffer-size log option controls the size of the buffer that's used for intermediate message storage. Make sure to specify an adequate buffer size based on your application. When the buffer fills up, further logs cannot be stored. Logs that cannot be stored are lost.
|
|
376
|
+
+ mode Required: No Valid values: non-blocking | blocking This option defines the delivery mode of log messages from the container to the log driver specified using logDriver. The delivery mode you choose affects application availability when the flow of logs from container is interrupted. If you use the blocking mode and the flow of logs is interrupted, calls from container code to write to the stdout and stderr streams will block. The logging thread of the application will block as a result. This may cause the application to become unresponsive and lead to container healthcheck failure. If you use the non-blocking mode, the container's logs are instead stored in an in-memory intermediate buffer configured with the max-buffer-size option. This prevents the application from becoming unresponsive when logs cannot be sent. We recommend using this mode if you want to ensure service availability and are okay with some log loss. For more information, see Preventing log loss with non-blocking mode in the awslogs container log driver. You can set a default mode for all containers in a specific Region by using the defaultLogDriverMode account setting. If you don't specify the mode option or configure the account setting, Amazon ECS will default to the blocking mode. For more information about the account setting, see Default log driver mode in the Amazon Elastic Container Service Developer Guide. On June 25, 2025, Amazon ECS is changing the default log driver mode from blocking to non-blocking to prioritize task availability over logging. To continue using the blocking mode after this change, do one of the following: Set the mode option in your container definition's logConfiguration as blocking. Set the defaultLogDriverMode account setting to blocking. + max-buffer-size Required: No Default value: 1m When non-blocking mode is used, the max-buffer-size log option controls the size of the buffer that's used for intermediate message storage. Make sure to specify an adequate buffer size based on your application. When the buffer fills up, further logs cannot be stored. Logs that cannot be stored are lost.
|
|
377
377
|
To route logs using the ``splunk`` log router, you need to specify a ``splunk-token`` and a ``splunk-url``.
|
|
378
378
|
When you use the ``awsfirelens`` log router to route logs to an AWS Service or AWS Partner Network destination for log storage and analytics, you can set the ``log-driver-buffer-limit`` option to limit the number of events that are buffered in memory, before being sent to the log router container. It can help to resolve potential log loss issue because high throughput might result in memory running out for the buffer inside of Docker.
|
|
379
379
|
Other options you can specify when using ``awsfirelens`` to route logs depend on the destination. When you export logs to Amazon Data Firehose, you can specify the AWS Region with ``region`` and a name for the log stream with ``delivery_stream``.
|
|
@@ -13,6 +13,8 @@ export type EFSMountTargetProperties = {
|
|
|
13
13
|
* Valid IPv4 address within the address range of the specified subnet.
|
|
14
14
|
*/
|
|
15
15
|
IpAddress?: string;
|
|
16
|
+
IpAddressType?: "IPV4_ONLY" | "IPV6_ONLY" | "DUAL_STACK";
|
|
17
|
+
Ipv6Address?: string;
|
|
16
18
|
/**
|
|
17
19
|
* VPC security group IDs, of the form ``sg-xxxxxxxx``. These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see [Amazon VPC Quotas](https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html) in the *Amazon VPC User Guide* (see the *Security Groups* table).
|
|
18
20
|
*/
|