@awboost/cfn-resource-types 0.1.185 → 0.1.186
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-Bedrock-Flow.d.ts +2 -2
- package/lib/AWS-Bedrock-FlowVersion.d.ts +2 -2
- package/lib/AWS-Bedrock-Prompt.d.ts +1 -1
- package/lib/AWS-Bedrock-PromptVersion.d.ts +2 -2
- package/lib/AWS-EC2-SecurityGroupVpcAssociation.d.ts +48 -0
- package/lib/AWS-EC2-SecurityGroupVpcAssociation.js +12 -0
- package/lib/AWS-ECS-Service.d.ts +7 -6
- package/lib/AWS-Logs-Delivery.d.ts +20 -0
- package/lib/AWS-Logs-DeliveryDestination.d.ts +7 -0
- package/package.json +1 -1
|
@@ -468,7 +468,7 @@ export type KnowledgeBaseFlowNodeConfiguration = {
|
|
|
468
468
|
* ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
|
|
469
469
|
* @minLength `1`
|
|
470
470
|
* @maxLength `2048`
|
|
471
|
-
* @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
471
|
+
* @pattern `^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
472
472
|
*/
|
|
473
473
|
ModelId?: string;
|
|
474
474
|
};
|
|
@@ -536,7 +536,7 @@ export type PromptFlowNodeInlineConfiguration = {
|
|
|
536
536
|
* ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
|
|
537
537
|
* @minLength `1`
|
|
538
538
|
* @maxLength `2048`
|
|
539
|
-
* @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
539
|
+
* @pattern `^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
540
540
|
*/
|
|
541
541
|
ModelId: string;
|
|
542
542
|
TemplateConfiguration: PromptTemplateConfiguration;
|
|
@@ -498,7 +498,7 @@ export type KnowledgeBaseFlowNodeConfiguration = {
|
|
|
498
498
|
* ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
|
|
499
499
|
* @minLength `1`
|
|
500
500
|
* @maxLength `2048`
|
|
501
|
-
* @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
501
|
+
* @pattern `^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
502
502
|
*/
|
|
503
503
|
ModelId?: string;
|
|
504
504
|
};
|
|
@@ -566,7 +566,7 @@ export type PromptFlowNodeInlineConfiguration = {
|
|
|
566
566
|
* ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
|
|
567
567
|
* @minLength `1`
|
|
568
568
|
* @maxLength `2048`
|
|
569
|
-
* @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
569
|
+
* @pattern `^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
570
570
|
*/
|
|
571
571
|
ModelId: string;
|
|
572
572
|
TemplateConfiguration: PromptTemplateConfiguration;
|
|
@@ -152,7 +152,7 @@ export type PromptVariant = {
|
|
|
152
152
|
* ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
|
|
153
153
|
* @minLength `1`
|
|
154
154
|
* @maxLength `2048`
|
|
155
|
-
* @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
155
|
+
* @pattern `^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
156
156
|
*/
|
|
157
157
|
ModelId?: string;
|
|
158
158
|
/**
|
|
@@ -106,7 +106,7 @@ export type BedrockPromptVersionAttributes = {
|
|
|
106
106
|
* ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
|
|
107
107
|
* @minLength `1`
|
|
108
108
|
* @maxLength `2048`
|
|
109
|
-
* @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
109
|
+
* @pattern `^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
110
110
|
*/
|
|
111
111
|
ModelId: string;
|
|
112
112
|
/**
|
|
@@ -232,7 +232,7 @@ export type PromptVariant = {
|
|
|
232
232
|
* ARN or Id of a Bedrock Foundational Model or Inference Profile, or the ARN of a imported model, or a provisioned throughput ARN for custom models.
|
|
233
233
|
* @minLength `1`
|
|
234
234
|
* @maxLength `2048`
|
|
235
|
-
* @pattern `^(arn:aws(-[^:]{1,12})?:bedrock:[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
235
|
+
* @pattern `^(arn:aws(-[^:]{1,12})?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$`
|
|
236
236
|
*/
|
|
237
237
|
ModelId?: string;
|
|
238
238
|
/**
|
|
@@ -0,0 +1,48 @@
|
|
|
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 the AWS::EC2::SecurityGroupVpcAssociation resource
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html}
|
|
6
|
+
*/
|
|
7
|
+
export type EC2SecurityGroupVpcAssociationProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The group ID of the specified security group.
|
|
10
|
+
*/
|
|
11
|
+
GroupId: string;
|
|
12
|
+
/**
|
|
13
|
+
* The ID of the VPC in the security group vpc association.
|
|
14
|
+
*/
|
|
15
|
+
VpcId: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Attribute type definition for `AWS::EC2::SecurityGroupVpcAssociation`.
|
|
19
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html#aws-resource-ec2-securitygroupvpcassociation-return-values}
|
|
20
|
+
*/
|
|
21
|
+
export type EC2SecurityGroupVpcAssociationAttributes = {
|
|
22
|
+
/**
|
|
23
|
+
* The state of the security group vpc association.
|
|
24
|
+
*/
|
|
25
|
+
State: SecurityGroupVpcAssociationState;
|
|
26
|
+
/**
|
|
27
|
+
* The reason for the state of the security group vpc association.
|
|
28
|
+
*/
|
|
29
|
+
StateReason: string;
|
|
30
|
+
/**
|
|
31
|
+
* The owner of the VPC in the security group vpc association.
|
|
32
|
+
*/
|
|
33
|
+
VpcOwnerId: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Type definition for `AWS::EC2::SecurityGroupVpcAssociation.SecurityGroupVpcAssociationState`.
|
|
37
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-securitygroupvpcassociation-securitygroupvpcassociationstate.html}
|
|
38
|
+
*/
|
|
39
|
+
export type SecurityGroupVpcAssociationState = "associating" | "associated" | "association-failed" | "disassociating" | "disassociated" | "disassociation-failed";
|
|
40
|
+
/**
|
|
41
|
+
* Resource type definition for the AWS::EC2::SecurityGroupVpcAssociation resource
|
|
42
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html}
|
|
43
|
+
*/
|
|
44
|
+
export declare class EC2SecurityGroupVpcAssociation extends $Resource<"AWS::EC2::SecurityGroupVpcAssociation", EC2SecurityGroupVpcAssociationProperties, EC2SecurityGroupVpcAssociationAttributes> {
|
|
45
|
+
static readonly Type = "AWS::EC2::SecurityGroupVpcAssociation";
|
|
46
|
+
constructor(logicalId: string, properties: EC2SecurityGroupVpcAssociationProperties, options?: $ResourceOptions);
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=AWS-EC2-SecurityGroupVpcAssociation.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for the AWS::EC2::SecurityGroupVpcAssociation resource
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-securitygroupvpcassociation.html}
|
|
5
|
+
*/
|
|
6
|
+
export class EC2SecurityGroupVpcAssociation extends $Resource {
|
|
7
|
+
static Type = "AWS::EC2::SecurityGroupVpcAssociation";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, EC2SecurityGroupVpcAssociation.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-EC2-SecurityGroupVpcAssociation.js.map
|
package/lib/AWS-ECS-Service.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export type ECSServiceProperties = {
|
|
|
18
18
|
*/
|
|
19
19
|
Cluster?: string;
|
|
20
20
|
/**
|
|
21
|
-
* Optional deployment parameters that control how many tasks run during the deployment and the
|
|
21
|
+
* Optional deployment parameters that control how many tasks run during the deployment and the failure detection methods.
|
|
22
22
|
*/
|
|
23
23
|
DeploymentConfiguration?: DeploymentConfiguration;
|
|
24
24
|
/**
|
|
@@ -222,7 +222,7 @@ export type DeploymentCircuitBreaker = {
|
|
|
222
222
|
};
|
|
223
223
|
/**
|
|
224
224
|
* Type definition for `AWS::ECS::Service.DeploymentConfiguration`.
|
|
225
|
-
* Optional deployment parameters that control how many tasks run during
|
|
225
|
+
* Optional deployment parameters that control how many tasks run during the deployment and the failure detection methods.
|
|
226
226
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-deploymentconfiguration.html}
|
|
227
227
|
*/
|
|
228
228
|
export type DeploymentConfiguration = {
|
|
@@ -313,7 +313,7 @@ export type LoadBalancer = {
|
|
|
313
313
|
*/
|
|
314
314
|
ContainerPort?: number;
|
|
315
315
|
/**
|
|
316
|
-
* The name of the load balancer to associate with the
|
|
316
|
+
* The name of the load balancer to associate with the service or task set.
|
|
317
317
|
If you are using an Application Load Balancer or a Network Load Balancer the load balancer name parameter should be omitted.
|
|
318
318
|
*/
|
|
319
319
|
LoadBalancerName?: string;
|
|
@@ -554,7 +554,7 @@ export type ServiceConnectTlsConfiguration = {
|
|
|
554
554
|
};
|
|
555
555
|
/**
|
|
556
556
|
* Type definition for `AWS::ECS::Service.ServiceManagedEBSVolumeConfiguration`.
|
|
557
|
-
* The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task in the service.
|
|
557
|
+
* The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task in the service. For information about the supported launch types and operating systems, see [Supported operating systems and launch types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volumes-configuration) in the*Amazon Elastic Container Service Developer Guide*.
|
|
558
558
|
Many of these parameters map 1:1 with the Amazon EBS ``CreateVolume`` API request parameters.
|
|
559
559
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-servicemanagedebsvolumeconfiguration.html}
|
|
560
560
|
*/
|
|
@@ -564,9 +564,10 @@ export type ServiceManagedEBSVolumeConfiguration = {
|
|
|
564
564
|
*/
|
|
565
565
|
Encrypted?: boolean;
|
|
566
566
|
/**
|
|
567
|
-
* The
|
|
568
|
-
The available filesystem types are
|
|
567
|
+
* The filesystem type for the volume. For volumes created from a snapshot, you must specify the same filesystem type that the volume was using when the snapshot was created. If there is a filesystem type mismatch, the task will fail to start.
|
|
568
|
+
The available Linux filesystem types are
|
|
569
569
|
``ext3``, ``ext4``, and ``xfs``. If no value is specified, the ``xfs`` filesystem type is used by default.
|
|
570
|
+
The available Windows filesystem types are ``NTFS``.
|
|
570
571
|
*/
|
|
571
572
|
FilesystemType?: string;
|
|
572
573
|
/**
|
|
@@ -24,6 +24,26 @@ export type LogsDeliveryProperties = {
|
|
|
24
24
|
* @pattern `[\w-]*$`
|
|
25
25
|
*/
|
|
26
26
|
DeliverySourceName: string;
|
|
27
|
+
/**
|
|
28
|
+
* The field delimiter to use between record fields when the final output format of a delivery is in Plain , W3C , or Raw format.
|
|
29
|
+
* @minLength `1`
|
|
30
|
+
* @maxLength `5`
|
|
31
|
+
*/
|
|
32
|
+
FieldDelimiter?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The list of record fields to be delivered to the destination, in order. If the delivery's log source has mandatory fields, they must be included in this list.
|
|
35
|
+
*/
|
|
36
|
+
RecordFields?: string[];
|
|
37
|
+
/**
|
|
38
|
+
* This parameter causes the S3 objects that contain delivered logs to use a prefix structure that allows for integration with Apache Hive.
|
|
39
|
+
*/
|
|
40
|
+
S3EnableHiveCompatiblePath?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* This string allows re-configuring the S3 object prefix to contain either static or variable sections. The valid variables to use in the suffix path will vary by each log source. See ConfigurationTemplate$allowedSuffixPathFields for more info on what values are supported in the suffix path for each log source.
|
|
43
|
+
* @minLength `0`
|
|
44
|
+
* @maxLength `256`
|
|
45
|
+
*/
|
|
46
|
+
S3SuffixPath?: string;
|
|
27
47
|
/**
|
|
28
48
|
* The tags that have been assigned to this delivery.
|
|
29
49
|
*/
|
|
@@ -30,6 +30,13 @@ export type LogsDeliveryDestinationProperties = {
|
|
|
30
30
|
* @pattern `[\w-]*$`
|
|
31
31
|
*/
|
|
32
32
|
Name: string;
|
|
33
|
+
/**
|
|
34
|
+
* The format of the logs that are sent to this delivery destination.
|
|
35
|
+
* @minLength `1`
|
|
36
|
+
* @maxLength `12`
|
|
37
|
+
* @pattern `^[0-9A-Za-z]+$`
|
|
38
|
+
*/
|
|
39
|
+
OutputFormat?: string;
|
|
33
40
|
/**
|
|
34
41
|
* The tags that have been assigned to this delivery destination.
|
|
35
42
|
*/
|