@awboost/cfn-resource-types 0.1.111 → 0.1.112

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.
@@ -5,11 +5,29 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html}
6
6
  */
7
7
  export type LambdaAliasProperties = {
8
+ /**
9
+ * A description of the alias.
10
+ */
8
11
  Description?: string;
12
+ /**
13
+ * The name of the Lambda function.
14
+ */
9
15
  FunctionName: string;
16
+ /**
17
+ * The function version that the alias invokes.
18
+ */
10
19
  FunctionVersion: string;
20
+ /**
21
+ * The name of the alias.
22
+ */
11
23
  Name: string;
24
+ /**
25
+ * Specifies a provisioned concurrency configuration for a function's alias.
26
+ */
12
27
  ProvisionedConcurrencyConfig?: ProvisionedConcurrencyConfiguration;
28
+ /**
29
+ * The routing configuration of the alias.
30
+ */
13
31
  RoutingConfig?: AliasRoutingConfiguration;
14
32
  };
15
33
  /**
@@ -17,28 +35,46 @@ export type LambdaAliasProperties = {
17
35
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html#aws-resource-lambda-alias-return-values}
18
36
  */
19
37
  export type LambdaAliasAttributes = {
20
- Id: string;
38
+ /**
39
+ * Lambda Alias ARN generated by the service.
40
+ */
41
+ AliasArn: string;
21
42
  };
22
43
  /**
23
44
  * Type definition for `AWS::Lambda::Alias.AliasRoutingConfiguration`.
45
+ * The traffic-shifting configuration of a Lambda function alias.
24
46
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-aliasroutingconfiguration.html}
25
47
  */
26
48
  export type AliasRoutingConfiguration = {
27
- AdditionalVersionWeights: VersionWeight[];
49
+ /**
50
+ * The second version, and the percentage of traffic that's routed to it.
51
+ */
52
+ AdditionalVersionWeights?: VersionWeight[];
28
53
  };
29
54
  /**
30
55
  * Type definition for `AWS::Lambda::Alias.ProvisionedConcurrencyConfiguration`.
56
+ * A provisioned concurrency configuration for a function's alias.
31
57
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-provisionedconcurrencyconfiguration.html}
32
58
  */
33
59
  export type ProvisionedConcurrencyConfiguration = {
60
+ /**
61
+ * The amount of provisioned concurrency to allocate for the alias.
62
+ */
34
63
  ProvisionedConcurrentExecutions: number;
35
64
  };
36
65
  /**
37
66
  * Type definition for `AWS::Lambda::Alias.VersionWeight`.
67
+ * The traffic-shifting configuration of a Lambda function alias.
38
68
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-versionweight.html}
39
69
  */
40
70
  export type VersionWeight = {
71
+ /**
72
+ * The qualifier of the second version.
73
+ */
41
74
  FunctionVersion: string;
75
+ /**
76
+ * The percentage of traffic that the alias routes to the second version.
77
+ */
42
78
  FunctionWeight: number;
43
79
  };
44
80
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.111",
3
+ "version": "0.1.112",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },