@awboost/cfn-resource-types 0.1.181 → 0.1.182
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-ApplicationInferenceProfile.d.ts +149 -0
- package/lib/AWS-Bedrock-ApplicationInferenceProfile.js +12 -0
- package/lib/AWS-Bedrock-DataSource.d.ts +1 -1
- package/lib/AWS-EC2-VPNConnection.d.ts +1 -1
- package/lib/AWS-Lambda-Version.d.ts +0 -4
- package/lib/AWS-SES-ConfigurationSet.d.ts +6 -0
- package/lib/AWS-Wisdom-AIPromptVersion.d.ts +45 -0
- package/lib/AWS-Wisdom-AIPromptVersion.js +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,149 @@
|
|
|
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::ApplicationInferenceProfile Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-applicationinferenceprofile.html}
|
|
6
|
+
*/
|
|
7
|
+
export type BedrockApplicationInferenceProfileProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* Description of the inference profile
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
* @maxLength `200`
|
|
12
|
+
* @pattern `^([0-9a-zA-Z:.][ _-]?)+$`
|
|
13
|
+
*/
|
|
14
|
+
Description?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @minLength `1`
|
|
17
|
+
* @maxLength `64`
|
|
18
|
+
* @pattern `^([0-9a-zA-Z][ _-]?)+$`
|
|
19
|
+
*/
|
|
20
|
+
InferenceProfileName: string;
|
|
21
|
+
ModelSource?: InferenceProfileModelSource;
|
|
22
|
+
/**
|
|
23
|
+
* List of Tags
|
|
24
|
+
* @minLength `0`
|
|
25
|
+
* @maxLength `200`
|
|
26
|
+
*/
|
|
27
|
+
Tags?: Tag[];
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Attribute type definition for `AWS::Bedrock::ApplicationInferenceProfile`.
|
|
31
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-applicationinferenceprofile.html#aws-resource-bedrock-applicationinferenceprofile-return-values}
|
|
32
|
+
*/
|
|
33
|
+
export type BedrockApplicationInferenceProfileAttributes = {
|
|
34
|
+
/**
|
|
35
|
+
* Time Stamp
|
|
36
|
+
*/
|
|
37
|
+
CreatedAt: string;
|
|
38
|
+
/**
|
|
39
|
+
* @minLength `1`
|
|
40
|
+
* @maxLength `2048`
|
|
41
|
+
* @pattern `^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-:.]+$`
|
|
42
|
+
*/
|
|
43
|
+
InferenceProfileArn: string;
|
|
44
|
+
/**
|
|
45
|
+
* @minLength `1`
|
|
46
|
+
* @maxLength `64`
|
|
47
|
+
* @pattern `^[a-zA-Z0-9-:.]+$`
|
|
48
|
+
*/
|
|
49
|
+
InferenceProfileId: string;
|
|
50
|
+
/**
|
|
51
|
+
* Inference profile identifier. Supports both system-defined inference profile ids, and inference profile ARNs.
|
|
52
|
+
* @minLength `1`
|
|
53
|
+
* @maxLength `2048`
|
|
54
|
+
* @pattern `^(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-:.]+$`
|
|
55
|
+
*/
|
|
56
|
+
InferenceProfileIdentifier: string;
|
|
57
|
+
/**
|
|
58
|
+
* List of model configuration
|
|
59
|
+
* @minLength `1`
|
|
60
|
+
* @maxLength `5`
|
|
61
|
+
*/
|
|
62
|
+
Models: {
|
|
63
|
+
/**
|
|
64
|
+
* ARN for Foundation Models in Bedrock. These models can be used as base models for model customization jobs
|
|
65
|
+
* @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}$`
|
|
66
|
+
*/
|
|
67
|
+
ModelArn: string;
|
|
68
|
+
}[];
|
|
69
|
+
/**
|
|
70
|
+
* Status of the Inference Profile
|
|
71
|
+
*/
|
|
72
|
+
Status: InferenceProfileStatus;
|
|
73
|
+
/**
|
|
74
|
+
* Type of the Inference Profile
|
|
75
|
+
*/
|
|
76
|
+
Type: InferenceProfileType;
|
|
77
|
+
/**
|
|
78
|
+
* Time Stamp
|
|
79
|
+
*/
|
|
80
|
+
UpdatedAt: string;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Type definition for `AWS::Bedrock::ApplicationInferenceProfile.InferenceProfileModel`.
|
|
84
|
+
* Model configuration
|
|
85
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-applicationinferenceprofile-inferenceprofilemodel.html}
|
|
86
|
+
*/
|
|
87
|
+
export type InferenceProfileModel = {
|
|
88
|
+
/**
|
|
89
|
+
* ARN for Foundation Models in Bedrock. These models can be used as base models for model customization jobs
|
|
90
|
+
* @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}$`
|
|
91
|
+
*/
|
|
92
|
+
ModelArn?: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Type definition for `AWS::Bedrock::ApplicationInferenceProfile.InferenceProfileModelSource`.
|
|
96
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-applicationinferenceprofile-inferenceprofilemodelsource.html}
|
|
97
|
+
*/
|
|
98
|
+
export type InferenceProfileModelSource = {
|
|
99
|
+
/**
|
|
100
|
+
* Source arns for a custom inference profile to copy its regional load balancing config from. This
|
|
101
|
+
can either be a foundation model or predefined inference profile ARN.
|
|
102
|
+
* @minLength `1`
|
|
103
|
+
* @maxLength `2048`
|
|
104
|
+
* @pattern `^arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|foundation-model)/[a-zA-Z0-9-:.]+$`
|
|
105
|
+
*/
|
|
106
|
+
CopyFrom: string;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Type definition for `AWS::Bedrock::ApplicationInferenceProfile.InferenceProfileStatus`.
|
|
110
|
+
* Status of the Inference Profile
|
|
111
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-applicationinferenceprofile-inferenceprofilestatus.html}
|
|
112
|
+
*/
|
|
113
|
+
export type InferenceProfileStatus = "ACTIVE";
|
|
114
|
+
/**
|
|
115
|
+
* Type definition for `AWS::Bedrock::ApplicationInferenceProfile.InferenceProfileType`.
|
|
116
|
+
* Type of the Inference Profile
|
|
117
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-applicationinferenceprofile-inferenceprofiletype.html}
|
|
118
|
+
*/
|
|
119
|
+
export type InferenceProfileType = "APPLICATION" | "SYSTEM_DEFINED";
|
|
120
|
+
/**
|
|
121
|
+
* Type definition for `AWS::Bedrock::ApplicationInferenceProfile.Tag`.
|
|
122
|
+
* Definition of the key/value pair for a tag
|
|
123
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-applicationinferenceprofile-tag.html}
|
|
124
|
+
*/
|
|
125
|
+
export type Tag = {
|
|
126
|
+
/**
|
|
127
|
+
* Tag Key
|
|
128
|
+
* @minLength `1`
|
|
129
|
+
* @maxLength `128`
|
|
130
|
+
* @pattern `^[a-zA-Z0-9\s._:/=+@-]*$`
|
|
131
|
+
*/
|
|
132
|
+
Key: string;
|
|
133
|
+
/**
|
|
134
|
+
* Tag Value
|
|
135
|
+
* @minLength `0`
|
|
136
|
+
* @maxLength `256`
|
|
137
|
+
* @pattern `^[a-zA-Z0-9\s._:/=+@-]*$`
|
|
138
|
+
*/
|
|
139
|
+
Value: string;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Definition of AWS::Bedrock::ApplicationInferenceProfile Resource Type
|
|
143
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-applicationinferenceprofile.html}
|
|
144
|
+
*/
|
|
145
|
+
export declare class BedrockApplicationInferenceProfile extends $Resource<"AWS::Bedrock::ApplicationInferenceProfile", BedrockApplicationInferenceProfileProperties, BedrockApplicationInferenceProfileAttributes> {
|
|
146
|
+
static readonly Type = "AWS::Bedrock::ApplicationInferenceProfile";
|
|
147
|
+
constructor(logicalId: string, properties: BedrockApplicationInferenceProfileProperties, options?: $ResourceOptions);
|
|
148
|
+
}
|
|
149
|
+
//# sourceMappingURL=AWS-Bedrock-ApplicationInferenceProfile.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::ApplicationInferenceProfile Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-applicationinferenceprofile.html}
|
|
5
|
+
*/
|
|
6
|
+
export class BedrockApplicationInferenceProfile extends $Resource {
|
|
7
|
+
static Type = "AWS::Bedrock::ApplicationInferenceProfile";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, BedrockApplicationInferenceProfile.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-Bedrock-ApplicationInferenceProfile.js.map
|
|
@@ -76,7 +76,7 @@ export type BedrockFoundationModelConfiguration = {
|
|
|
76
76
|
* The model's ARN.
|
|
77
77
|
* @minLength `1`
|
|
78
78
|
* @maxLength `2048`
|
|
79
|
-
* @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})$`
|
|
79
|
+
* @pattern `^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)$`
|
|
80
80
|
*/
|
|
81
81
|
ModelArn: string;
|
|
82
82
|
/**
|
|
@@ -163,7 +163,7 @@ export type Phase2DHGroupNumbersRequestListValue = {
|
|
|
163
163
|
/**
|
|
164
164
|
* The Diffie-Hellmann group number.
|
|
165
165
|
*/
|
|
166
|
-
Value?: 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
166
|
+
Value?: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
|
|
167
167
|
};
|
|
168
168
|
/**
|
|
169
169
|
* Type definition for `AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue`.
|
|
@@ -22,10 +22,6 @@ export type LambdaVersionProperties = {
|
|
|
22
22
|
* @pattern `^(arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?$`
|
|
23
23
|
*/
|
|
24
24
|
FunctionName: string;
|
|
25
|
-
/**
|
|
26
|
-
* The resource policy of your function
|
|
27
|
-
*/
|
|
28
|
-
Policy?: Record<string, any>;
|
|
29
25
|
/**
|
|
30
26
|
* Specifies a provisioned concurrency configuration for a function's version. Updates are not supported for this property.
|
|
31
27
|
*/
|
|
@@ -53,6 +53,12 @@ export type DashboardOptions = {
|
|
|
53
53
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ses-configurationset-deliveryoptions.html}
|
|
54
54
|
*/
|
|
55
55
|
export type DeliveryOptions = {
|
|
56
|
+
/**
|
|
57
|
+
* Specifies the maximum time until which SES will retry sending emails
|
|
58
|
+
* @min `300`
|
|
59
|
+
* @max `50400`
|
|
60
|
+
*/
|
|
61
|
+
MaxDeliverySeconds?: number;
|
|
56
62
|
/**
|
|
57
63
|
* The name of the dedicated IP pool to associate with the configuration set.
|
|
58
64
|
*/
|
|
@@ -0,0 +1,45 @@
|
|
|
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::Wisdom::AIPromptVersion Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aipromptversion.html}
|
|
6
|
+
*/
|
|
7
|
+
export type WisdomAIPromptVersionProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
|
|
10
|
+
*/
|
|
11
|
+
AIPromptId: string;
|
|
12
|
+
/**
|
|
13
|
+
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
|
|
14
|
+
*/
|
|
15
|
+
AssistantId: string;
|
|
16
|
+
ModifiedTimeSeconds?: number;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Attribute type definition for `AWS::Wisdom::AIPromptVersion`.
|
|
20
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aipromptversion.html#aws-resource-wisdom-aipromptversion-return-values}
|
|
21
|
+
*/
|
|
22
|
+
export type WisdomAIPromptVersionAttributes = {
|
|
23
|
+
/**
|
|
24
|
+
* @pattern `^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$`
|
|
25
|
+
*/
|
|
26
|
+
AIPromptArn: string;
|
|
27
|
+
/**
|
|
28
|
+
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$`
|
|
29
|
+
*/
|
|
30
|
+
AIPromptVersionId: string;
|
|
31
|
+
/**
|
|
32
|
+
* @pattern `^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})?$`
|
|
33
|
+
*/
|
|
34
|
+
AssistantArn: string;
|
|
35
|
+
VersionNumber: number;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Definition of AWS::Wisdom::AIPromptVersion Resource Type
|
|
39
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aipromptversion.html}
|
|
40
|
+
*/
|
|
41
|
+
export declare class WisdomAIPromptVersion extends $Resource<"AWS::Wisdom::AIPromptVersion", WisdomAIPromptVersionProperties, WisdomAIPromptVersionAttributes> {
|
|
42
|
+
static readonly Type = "AWS::Wisdom::AIPromptVersion";
|
|
43
|
+
constructor(logicalId: string, properties: WisdomAIPromptVersionProperties, options?: $ResourceOptions);
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=AWS-Wisdom-AIPromptVersion.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Definition of AWS::Wisdom::AIPromptVersion Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aipromptversion.html}
|
|
5
|
+
*/
|
|
6
|
+
export class WisdomAIPromptVersion extends $Resource {
|
|
7
|
+
static Type = "AWS::Wisdom::AIPromptVersion";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, WisdomAIPromptVersion.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-Wisdom-AIPromptVersion.js.map
|