@awboost/cfn-resource-types 0.1.195 → 0.1.196

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.
@@ -112,6 +112,7 @@ export type LambdaEventSourceMappingProperties = {
112
112
  * @max `10000`
113
113
  */
114
114
  MaximumRetryAttempts?: number;
115
+ MetricsConfig?: MetricsConfig;
115
116
  /**
116
117
  * (Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.
117
118
  * @min `1`
@@ -280,6 +281,18 @@ export type FilterCriteria = {
280
281
  */
281
282
  Filters?: Filter[];
282
283
  };
284
+ /**
285
+ * Type definition for `AWS::Lambda::EventSourceMapping.MetricsConfig`.
286
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-metricsconfig.html}
287
+ */
288
+ export type MetricsConfig = {
289
+ /**
290
+ * Metric groups to enable.
291
+ * @minLength `0`
292
+ * @maxLength `1`
293
+ */
294
+ Metrics?: "EventCount"[];
295
+ };
283
296
  /**
284
297
  * Type definition for `AWS::Lambda::EventSourceMapping.OnFailure`.
285
298
  * A destination for events that failed processing.
@@ -13,9 +13,9 @@ export type VpcLatticeAccessLogSubscriptionProperties = {
13
13
  */
14
14
  DestinationArn: string;
15
15
  /**
16
- * @minLength `20`
16
+ * @minLength `17`
17
17
  * @maxLength `2048`
18
- * @pattern `^((((sn)|(svc))-[0-9a-z]{17})|(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(service/svc))-[0-9a-z]{17}))$`
18
+ * @pattern `^((((sn)|(svc)|(rcfg))-[0-9a-z]{17})|(arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:((servicenetwork/sn)|(resourceconfiguration/rcfg)|(service/svc))-[0-9a-z]{17}))$`
19
19
  */
20
20
  ResourceIdentifier?: string;
21
21
  ServiceNetworkLogType?: "SERVICE" | "RESOURCE";
@@ -13,6 +13,7 @@ export type VpcLatticeServiceNetworkProperties = {
13
13
  * @pattern `^(?!servicenetwork-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$`
14
14
  */
15
15
  Name?: string;
16
+ SharingConfig?: SharingConfig;
16
17
  /**
17
18
  * @minLength `0`
18
19
  * @maxLength `50`
@@ -39,6 +40,13 @@ export type VpcLatticeServiceNetworkAttributes = {
39
40
  Id: string;
40
41
  LastUpdatedAt: string;
41
42
  };
43
+ /**
44
+ * Type definition for `AWS::VpcLattice::ServiceNetwork.SharingConfig`.
45
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-servicenetwork-sharingconfig.html}
46
+ */
47
+ export type SharingConfig = {
48
+ enabled: boolean;
49
+ };
42
50
  /**
43
51
  * Type definition for `AWS::VpcLattice::ServiceNetwork.Tag`.
44
52
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-servicenetwork-tag.html}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.195",
3
+ "version": "0.1.196",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },