@awboost/cfn-resource-types 0.1.327 → 0.1.329

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.
@@ -0,0 +1,137 @@
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
+ * Definition of AWS::Bedrock::IntelligentPromptRouter Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html}
6
+ */
7
+ export type BedrockIntelligentPromptRouterProperties = {
8
+ /**
9
+ * Description of the Prompt Router.
10
+ * @minLength `1`
11
+ * @maxLength `200`
12
+ * @pattern `^([0-9a-zA-Z:.][ _-]?)+$`
13
+ */
14
+ Description?: string;
15
+ /**
16
+ * Model configuration
17
+ */
18
+ FallbackModel: PromptRouterTargetModel;
19
+ /**
20
+ * List of model configuration
21
+ */
22
+ Models: PromptRouterTargetModel[];
23
+ /**
24
+ * Name of the Prompt Router.
25
+ * @minLength `1`
26
+ * @maxLength `64`
27
+ * @pattern `^([0-9a-zA-Z][ _-]?)+$`
28
+ */
29
+ PromptRouterName: string;
30
+ /**
31
+ * Represents the criteria used for routing requests.
32
+ */
33
+ RoutingCriteria: RoutingCriteria;
34
+ /**
35
+ * List of Tags
36
+ * @minLength `0`
37
+ * @maxLength `200`
38
+ */
39
+ Tags?: Tag[];
40
+ };
41
+ /**
42
+ * Attribute type definition for `AWS::Bedrock::IntelligentPromptRouter`.
43
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html#aws-resource-bedrock-intelligentpromptrouter-return-values}
44
+ */
45
+ export type BedrockIntelligentPromptRouterAttributes = {
46
+ /**
47
+ * Time Stamp
48
+ */
49
+ CreatedAt: string;
50
+ /**
51
+ * Arn of the Prompt Router.
52
+ * @minLength `1`
53
+ * @maxLength `2048`
54
+ * @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:(default-)?prompt-router/[a-zA-Z0-9-:.]+$`
55
+ */
56
+ PromptRouterArn: string;
57
+ /**
58
+ * Status of a PromptRouter
59
+ */
60
+ Status: PromptRouterStatus;
61
+ /**
62
+ * Type of a Prompt Router
63
+ */
64
+ Type: PromptRouterType;
65
+ /**
66
+ * Time Stamp
67
+ */
68
+ UpdatedAt: string;
69
+ };
70
+ /**
71
+ * Type definition for `AWS::Bedrock::IntelligentPromptRouter.PromptRouterStatus`.
72
+ * Status of a PromptRouter
73
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-intelligentpromptrouter-promptrouterstatus.html}
74
+ */
75
+ export type PromptRouterStatus = "AVAILABLE";
76
+ /**
77
+ * Type definition for `AWS::Bedrock::IntelligentPromptRouter.PromptRouterTargetModel`.
78
+ * Model configuration
79
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-intelligentpromptrouter-promptroutertargetmodel.html}
80
+ */
81
+ export type PromptRouterTargetModel = {
82
+ /**
83
+ * Arn of underlying model which are added in the Prompt Router.
84
+ * @minLength `1`
85
+ * @maxLength `2048`
86
+ * @pattern `(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})|(^arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)$`
87
+ */
88
+ ModelArn: string;
89
+ };
90
+ /**
91
+ * Type definition for `AWS::Bedrock::IntelligentPromptRouter.PromptRouterType`.
92
+ * Type of a Prompt Router
93
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-intelligentpromptrouter-promptroutertype.html}
94
+ */
95
+ export type PromptRouterType = "custom" | "default";
96
+ /**
97
+ * Type definition for `AWS::Bedrock::IntelligentPromptRouter.RoutingCriteria`.
98
+ * Represents the criteria used for routing requests.
99
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-intelligentpromptrouter-routingcriteria.html}
100
+ */
101
+ export type RoutingCriteria = {
102
+ /**
103
+ * @min `0`
104
+ * @max `100`
105
+ */
106
+ ResponseQualityDifference: number;
107
+ };
108
+ /**
109
+ * Type definition for `AWS::Bedrock::IntelligentPromptRouter.Tag`.
110
+ * Definition of the key/value pair for a tag
111
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-intelligentpromptrouter-tag.html}
112
+ */
113
+ export type Tag = {
114
+ /**
115
+ * Tag Key
116
+ * @minLength `1`
117
+ * @maxLength `128`
118
+ * @pattern `^[a-zA-Z0-9\s._:/=+@-]*$`
119
+ */
120
+ Key: string;
121
+ /**
122
+ * Tag Value
123
+ * @minLength `0`
124
+ * @maxLength `256`
125
+ * @pattern `^[a-zA-Z0-9\s._:/=+@-]*$`
126
+ */
127
+ Value: string;
128
+ };
129
+ /**
130
+ * Definition of AWS::Bedrock::IntelligentPromptRouter Resource Type
131
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html}
132
+ */
133
+ export declare class BedrockIntelligentPromptRouter extends $Resource<"AWS::Bedrock::IntelligentPromptRouter", BedrockIntelligentPromptRouterProperties, BedrockIntelligentPromptRouterAttributes> {
134
+ static readonly Type = "AWS::Bedrock::IntelligentPromptRouter";
135
+ constructor(logicalId: string, properties: BedrockIntelligentPromptRouterProperties, options?: $ResourceOptions);
136
+ }
137
+ //# sourceMappingURL=AWS-Bedrock-IntelligentPromptRouter.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of AWS::Bedrock::IntelligentPromptRouter Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-intelligentpromptrouter.html}
5
+ */
6
+ export class BedrockIntelligentPromptRouter extends $Resource {
7
+ static Type = "AWS::Bedrock::IntelligentPromptRouter";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, BedrockIntelligentPromptRouter.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Bedrock-IntelligentPromptRouter.js.map
@@ -23,7 +23,7 @@ export type ConnectInstanceProperties = {
23
23
  /**
24
24
  * Alias of the new directory created as part of new instance creation.
25
25
  * @minLength `1`
26
- * @maxLength `62`
26
+ * @maxLength `45`
27
27
  * @pattern `^(?!d-)([\da-zA-Z]+)([-]*[\da-zA-Z])*$`
28
28
  */
29
29
  InstanceAlias?: string;
@@ -23,8 +23,8 @@ export type EC2VPCProperties = {
23
23
  EnableDnsSupport?: boolean;
24
24
  /**
25
25
  * The allowed tenancy of instances launched into the VPC.
26
- + ``default``: An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.
27
- + ``dedicated``: An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy of ``host`` during instance launch. You cannot specify a tenancy of ``default`` during instance launch.
26
+ + ``default``: An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch.
27
+ + ``dedicated``: An instance launched into the VPC runs on dedicated hardware by default, unless you explicitly specify a tenancy of ``host`` during instance launch. You cannot specify a tenancy of ``default`` during instance launch.
28
28
 
29
29
  Updating ``InstanceTenancy`` requires no replacement only if you are updating its value from ``dedicated`` to ``default``. Updating ``InstanceTenancy`` from ``default`` to ``dedicated`` requires replacement.
30
30
  */
@@ -32,9 +32,9 @@ export type EC2VolumeProperties = {
32
32
  /**
33
33
  * The number of I/O operations per second (IOPS). For ``gp3``, ``io1``, and ``io2`` volumes, this represents the number of IOPS that are provisioned for the volume. For ``gp2`` volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
34
34
  The following are the supported values for each volume type:
35
- + ``gp3``: 3,000 - 16,000 IOPS
36
- + ``io1``: 100 - 64,000 IOPS
37
- + ``io2``: 100 - 256,000 IOPS
35
+ + ``gp3``: 3,000 - 16,000 IOPS
36
+ + ``io1``: 100 - 64,000 IOPS
37
+ + ``io2``: 100 - 256,000 IOPS
38
38
 
39
39
  For ``io2`` volumes, you can achieve up to 256,000 IOPS on [instances built on the Nitro System](https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html). On other instances, you can achieve performance up to 32,000 IOPS.
40
40
  This parameter is required for ``io1`` and ``io2`` volumes. The default for ``gp3`` volumes is 3,000 IOPS. This parameter is not supported for ``gp2``, ``st1``, ``sc1``, or ``standard`` volumes.
@@ -52,7 +52,7 @@ export type EC2VolumeProperties = {
52
52
  KmsKeyId?: string;
53
53
  /**
54
54
  * Indicates whether Amazon EBS Multi-Attach is enabled.
55
- CFNlong does not currently support updating a single-attach volume to be multi-attach enabled, updating a multi-attach enabled volume to be single-attach, or updating the size or number of I/O operations per second (IOPS) of a multi-attach enabled volume.
55
+ CFNlong does not currently support updating a single-attach volume to be multi-attach enabled, updating a multi-attach enabled volume to be single-attach, or updating the size or number of I/O operations per second (IOPS) of a multi-attach enabled volume.
56
56
  */
57
57
  MultiAttachEnabled?: boolean;
58
58
  /**
@@ -62,11 +62,11 @@ export type EC2VolumeProperties = {
62
62
  /**
63
63
  * The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
64
64
  The following are the supported volumes sizes for each volume type:
65
- + ``gp2`` and ``gp3``: 1 - 16,384 GiB
66
- + ``io1``: 4 - 16,384 GiB
67
- + ``io2``: 4 - 65,536 GiB
68
- + ``st1`` and ``sc1``: 125 - 16,384 GiB
69
- + ``standard``: 1 - 1024 GiB
65
+ + ``gp2`` and ``gp3``: 1 - 16,384 GiB
66
+ + ``io1``: 4 - 16,384 GiB
67
+ + ``io2``: 4 - 65,536 GiB
68
+ + ``st1`` and ``sc1``: 125 - 16,384 GiB
69
+ + ``standard``: 1 - 1024 GiB
70
70
  */
71
71
  Size?: number;
72
72
  /**
@@ -83,6 +83,7 @@ export type EC2VolumeProperties = {
83
83
  Valid Range: Minimum value of 125. Maximum value of 1000.
84
84
  */
85
85
  Throughput?: number;
86
+ VolumeInitializationRate?: number;
86
87
  /**
87
88
  * The volume type. This parameter can be one of the following values:
88
89
  + General Purpose SSD: ``gp2`` | ``gp3``
@@ -13,9 +13,9 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
13
13
  The ``CreateHostedZone`` request requires the caller to have an ``ec2:DescribeVpcs`` permission.
14
14
  When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of AWS-Regions. Each AWS-account is scoped to one partition.
15
15
  The following are the supported partitions:
16
- + ``aws`` - AWS-Regions
17
- + ``aws-cn`` - China Regions
18
- + ``aws-us-gov`` - govcloud-us-region
16
+ + ``aws`` - AWS-Regions
17
+ + ``aws-cn`` - China Regions
18
+ + ``aws-us-gov`` - govcloud-us-region
19
19
 
20
20
  For more information, see [Access Management](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference*.
21
21
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html}
@@ -82,17 +82,17 @@ export type HostedZoneConfig = {
82
82
  export type HostedZoneTag = {
83
83
  /**
84
84
  * The value of ``Key`` depends on the operation that you want to perform:
85
- + *Add a tag to a health check or hosted zone*: ``Key`` is the name that you want to give the new tag.
86
- + *Edit a tag*: ``Key`` is the name of the tag that you want to change the ``Value`` for.
87
- + *Delete a key*: ``Key`` is the name of the tag you want to remove.
88
- + *Give a name to a health check*: Edit the default ``Name`` tag. In the Amazon Route 53 console, the list of your health checks includes a *Name* column that lets you see the name that you've given to each health check.
85
+ + *Add a tag to a health check or hosted zone*: ``Key`` is the name that you want to give the new tag.
86
+ + *Edit a tag*: ``Key`` is the name of the tag that you want to change the ``Value`` for.
87
+ + *Delete a key*: ``Key`` is the name of the tag you want to remove.
88
+ + *Give a name to a health check*: Edit the default ``Name`` tag. In the Amazon Route 53 console, the list of your health checks includes a *Name* column that lets you see the name that you've given to each health check.
89
89
  * @maxLength `128`
90
90
  */
91
91
  Key: string;
92
92
  /**
93
93
  * The value of ``Value`` depends on the operation that you want to perform:
94
- + *Add a tag to a health check or hosted zone*: ``Value`` is the value that you want to give the new tag.
95
- + *Edit a tag*: ``Value`` is the new value that you want to assign the tag.
94
+ + *Add a tag to a health check or hosted zone*: ``Value`` is the value that you want to give the new tag.
95
+ + *Edit a tag*: ``Value`` is the new value that you want to assign the tag.
96
96
  * @maxLength `256`
97
97
  */
98
98
  Value: string;
@@ -139,9 +139,9 @@ export type VPC = {
139
139
  The ``CreateHostedZone`` request requires the caller to have an ``ec2:DescribeVpcs`` permission.
140
140
  When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of AWS-Regions. Each AWS-account is scoped to one partition.
141
141
  The following are the supported partitions:
142
- + ``aws`` - AWS-Regions
143
- + ``aws-cn`` - China Regions
144
- + ``aws-us-gov`` - govcloud-us-region
142
+ + ``aws`` - AWS-Regions
143
+ + ``aws-cn`` - China Regions
144
+ + ``aws-us-gov`` - govcloud-us-region
145
145
 
146
146
  For more information, see [Access Management](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference*.
147
147
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html}
@@ -12,9 +12,9 @@ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/re
12
12
  The ``CreateHostedZone`` request requires the caller to have an ``ec2:DescribeVpcs`` permission.
13
13
  When creating private hosted zones, the Amazon VPC must belong to the same partition where the hosted zone is created. A partition is a group of AWS-Regions. Each AWS-account is scoped to one partition.
14
14
  The following are the supported partitions:
15
- + ``aws`` - AWS-Regions
16
- + ``aws-cn`` - China Regions
17
- + ``aws-us-gov`` - govcloud-us-region
15
+ + ``aws`` - AWS-Regions
16
+ + ``aws-cn`` - China Regions
17
+ + ``aws-us-gov`` - govcloud-us-region
18
18
 
19
19
  For more information, see [Access Management](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) in the *General Reference*.
20
20
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.327",
3
+ "version": "0.1.329",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },