@awboost/cfn-resource-types 0.1.208 → 0.1.210
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-AmazonMQ-Configuration.d.ts +1 -1
- package/lib/AWS-Kendra-Index.d.ts +1 -1
- package/lib/AWS-QBusiness-Application.d.ts +14 -1
- package/lib/AWS-QBusiness-DataAccessor.d.ts +150 -0
- package/lib/AWS-QBusiness-DataAccessor.js +12 -0
- package/lib/AWS-QBusiness-Permission.d.ts +40 -0
- package/lib/AWS-QBusiness-Permission.js +12 -0
- package/lib/AWS-QBusiness-Plugin.d.ts +14 -2
- package/lib/AWS-QBusiness-WebExperience.d.ts +31 -0
- package/lib/AWS-VpcLattice-ResourceConfiguration.d.ts +103 -0
- package/lib/AWS-VpcLattice-ResourceConfiguration.js +13 -0
- package/lib/AWS-VpcLattice-ResourceGateway.d.ts +78 -0
- package/lib/AWS-VpcLattice-ResourceGateway.js +13 -0
- package/lib/AWS-Wisdom-AIAgent.d.ts +30 -1
- package/lib/AWS-Wisdom-AIGuardrail.d.ts +331 -0
- package/lib/AWS-Wisdom-AIGuardrail.js +12 -0
- package/lib/AWS-Wisdom-AIGuardrailVersion.d.ts +45 -0
- package/lib/AWS-Wisdom-AIGuardrailVersion.js +12 -0
- package/lib/AWS-Wisdom-AIPrompt.d.ts +1 -1
- package/package.json +1 -1
|
@@ -106,7 +106,7 @@ export type DocumentMetadataConfiguration = {
|
|
|
106
106
|
* Edition of index
|
|
107
107
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-edition.html}
|
|
108
108
|
*/
|
|
109
|
-
export type Edition = "DEVELOPER_EDITION" | "ENTERPRISE_EDITION";
|
|
109
|
+
export type Edition = "DEVELOPER_EDITION" | "ENTERPRISE_EDITION" | "GEN_AI_ENTERPRISE_EDITION";
|
|
110
110
|
/**
|
|
111
111
|
* Type definition for `AWS::Kendra::Index.JsonTokenTypeConfiguration`.
|
|
112
112
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jsontokentypeconfiguration.html}
|
|
@@ -36,6 +36,7 @@ export type QBusinessApplicationProperties = {
|
|
|
36
36
|
IdentityType?: IdentityType;
|
|
37
37
|
PersonalizationConfiguration?: PersonalizationConfiguration;
|
|
38
38
|
QAppsConfiguration?: QAppsConfiguration;
|
|
39
|
+
QuickSightConfiguration?: QuickSightConfiguration;
|
|
39
40
|
/**
|
|
40
41
|
* @minLength `0`
|
|
41
42
|
* @maxLength `1284`
|
|
@@ -120,7 +121,7 @@ export type EncryptionConfiguration = {
|
|
|
120
121
|
* Type definition for `AWS::QBusiness::Application.IdentityType`.
|
|
121
122
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-identitytype.html}
|
|
122
123
|
*/
|
|
123
|
-
export type IdentityType = "AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC";
|
|
124
|
+
export type IdentityType = "AWS_IAM_IDP_SAML" | "AWS_IAM_IDP_OIDC" | "AWS_IAM_IDC" | "AWS_QUICKSIGHT_IDP";
|
|
124
125
|
/**
|
|
125
126
|
* Type definition for `AWS::QBusiness::Application.PersonalizationConfiguration`.
|
|
126
127
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-personalizationconfiguration.html}
|
|
@@ -145,6 +146,18 @@ export type QAppsConfiguration = {
|
|
|
145
146
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-qappscontrolmode.html}
|
|
146
147
|
*/
|
|
147
148
|
export type QAppsControlMode = "ENABLED" | "DISABLED";
|
|
149
|
+
/**
|
|
150
|
+
* Type definition for `AWS::QBusiness::Application.QuickSightConfiguration`.
|
|
151
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-quicksightconfiguration.html}
|
|
152
|
+
*/
|
|
153
|
+
export type QuickSightConfiguration = {
|
|
154
|
+
/**
|
|
155
|
+
* @minLength `1`
|
|
156
|
+
* @maxLength `64`
|
|
157
|
+
* @pattern `^[a-zA-Z0-9._-]*$`
|
|
158
|
+
*/
|
|
159
|
+
ClientNamespace: string;
|
|
160
|
+
};
|
|
148
161
|
/**
|
|
149
162
|
* Type definition for `AWS::QBusiness::Application.SubscriptionType`.
|
|
150
163
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-subscriptiontype.html}
|
|
@@ -0,0 +1,150 @@
|
|
|
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::QBusiness::DataAccessor Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-dataaccessor.html}
|
|
6
|
+
*/
|
|
7
|
+
export type QBusinessDataAccessorProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* @minLength `1`
|
|
10
|
+
* @maxLength `10`
|
|
11
|
+
*/
|
|
12
|
+
ActionConfigurations: ActionConfiguration[];
|
|
13
|
+
/**
|
|
14
|
+
* @minLength `36`
|
|
15
|
+
* @maxLength `36`
|
|
16
|
+
* @pattern `^[a-zA-Z0-9][a-zA-Z0-9-]{35}$`
|
|
17
|
+
*/
|
|
18
|
+
ApplicationId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @minLength `1`
|
|
21
|
+
* @maxLength `1000`
|
|
22
|
+
* @pattern `^[a-zA-Z0-9][a-zA-Z0-9_-]*$`
|
|
23
|
+
*/
|
|
24
|
+
DisplayName: string;
|
|
25
|
+
/**
|
|
26
|
+
* @minLength `1`
|
|
27
|
+
* @maxLength `1284`
|
|
28
|
+
* @pattern `^arn:aws:iam::[0-9]{12}:role/.+`
|
|
29
|
+
*/
|
|
30
|
+
Principal: string;
|
|
31
|
+
/**
|
|
32
|
+
* @minLength `0`
|
|
33
|
+
* @maxLength `200`
|
|
34
|
+
*/
|
|
35
|
+
Tags?: Tag[];
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Attribute type definition for `AWS::QBusiness::DataAccessor`.
|
|
39
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-dataaccessor.html#aws-resource-qbusiness-dataaccessor-return-values}
|
|
40
|
+
*/
|
|
41
|
+
export type QBusinessDataAccessorAttributes = {
|
|
42
|
+
CreatedAt: string;
|
|
43
|
+
/**
|
|
44
|
+
* @minLength `0`
|
|
45
|
+
* @maxLength `1284`
|
|
46
|
+
* @pattern `^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$`
|
|
47
|
+
*/
|
|
48
|
+
DataAccessorArn: string;
|
|
49
|
+
/**
|
|
50
|
+
* @minLength `36`
|
|
51
|
+
* @maxLength `36`
|
|
52
|
+
* @pattern `^[a-zA-Z0-9][a-zA-Z0-9-]{35}$`
|
|
53
|
+
*/
|
|
54
|
+
DataAccessorId: string;
|
|
55
|
+
/**
|
|
56
|
+
* @minLength `10`
|
|
57
|
+
* @maxLength `1224`
|
|
58
|
+
* @pattern `^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso::\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}$`
|
|
59
|
+
*/
|
|
60
|
+
IdcApplicationArn: string;
|
|
61
|
+
UpdatedAt: string;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Type definition for `AWS::QBusiness::DataAccessor.ActionConfiguration`.
|
|
65
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-actionconfiguration.html}
|
|
66
|
+
*/
|
|
67
|
+
export type ActionConfiguration = {
|
|
68
|
+
/**
|
|
69
|
+
* @pattern `^qbusiness:[a-zA-Z]+$`
|
|
70
|
+
*/
|
|
71
|
+
Action: string;
|
|
72
|
+
FilterConfiguration?: ActionFilterConfiguration;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Type definition for `AWS::QBusiness::DataAccessor.ActionFilterConfiguration`.
|
|
76
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-actionfilterconfiguration.html}
|
|
77
|
+
*/
|
|
78
|
+
export type ActionFilterConfiguration = {
|
|
79
|
+
DocumentAttributeFilter: AttributeFilter;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Type definition for `AWS::QBusiness::DataAccessor.AttributeFilter`.
|
|
83
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-attributefilter.html}
|
|
84
|
+
*/
|
|
85
|
+
export type AttributeFilter = {
|
|
86
|
+
AndAllFilters?: AttributeFilter[];
|
|
87
|
+
ContainsAll?: DocumentAttribute;
|
|
88
|
+
ContainsAny?: DocumentAttribute;
|
|
89
|
+
EqualsTo?: DocumentAttribute;
|
|
90
|
+
GreaterThan?: DocumentAttribute;
|
|
91
|
+
GreaterThanOrEquals?: DocumentAttribute;
|
|
92
|
+
LessThan?: DocumentAttribute;
|
|
93
|
+
LessThanOrEquals?: DocumentAttribute;
|
|
94
|
+
NotFilter?: AttributeFilter;
|
|
95
|
+
OrAllFilters?: AttributeFilter[];
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Type definition for `AWS::QBusiness::DataAccessor.DocumentAttribute`.
|
|
99
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-documentattribute.html}
|
|
100
|
+
*/
|
|
101
|
+
export type DocumentAttribute = {
|
|
102
|
+
/**
|
|
103
|
+
* @minLength `1`
|
|
104
|
+
* @maxLength `200`
|
|
105
|
+
* @pattern `^[a-zA-Z0-9_][a-zA-Z0-9_-]*$`
|
|
106
|
+
*/
|
|
107
|
+
Name: string;
|
|
108
|
+
Value: DocumentAttributeValue;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Type definition for `AWS::QBusiness::DataAccessor.DocumentAttributeValue`.
|
|
112
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-documentattributevalue.html}
|
|
113
|
+
*/
|
|
114
|
+
export type DocumentAttributeValue = {
|
|
115
|
+
/**
|
|
116
|
+
* @maxLength `2048`
|
|
117
|
+
*/
|
|
118
|
+
StringValue: string;
|
|
119
|
+
} | {
|
|
120
|
+
StringListValue: string[];
|
|
121
|
+
} | {
|
|
122
|
+
LongValue: number;
|
|
123
|
+
} | {
|
|
124
|
+
DateValue: string;
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* Type definition for `AWS::QBusiness::DataAccessor.Tag`.
|
|
128
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-dataaccessor-tag.html}
|
|
129
|
+
*/
|
|
130
|
+
export type Tag = {
|
|
131
|
+
/**
|
|
132
|
+
* @minLength `1`
|
|
133
|
+
* @maxLength `128`
|
|
134
|
+
*/
|
|
135
|
+
Key: string;
|
|
136
|
+
/**
|
|
137
|
+
* @minLength `0`
|
|
138
|
+
* @maxLength `256`
|
|
139
|
+
*/
|
|
140
|
+
Value: string;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Definition of AWS::QBusiness::DataAccessor Resource Type
|
|
144
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-dataaccessor.html}
|
|
145
|
+
*/
|
|
146
|
+
export declare class QBusinessDataAccessor extends $Resource<"AWS::QBusiness::DataAccessor", QBusinessDataAccessorProperties, QBusinessDataAccessorAttributes> {
|
|
147
|
+
static readonly Type = "AWS::QBusiness::DataAccessor";
|
|
148
|
+
constructor(logicalId: string, properties: QBusinessDataAccessorProperties, options?: $ResourceOptions);
|
|
149
|
+
}
|
|
150
|
+
//# sourceMappingURL=AWS-QBusiness-DataAccessor.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Definition of AWS::QBusiness::DataAccessor Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-dataaccessor.html}
|
|
5
|
+
*/
|
|
6
|
+
export class QBusinessDataAccessor extends $Resource {
|
|
7
|
+
static Type = "AWS::QBusiness::DataAccessor";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, QBusinessDataAccessor.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-QBusiness-DataAccessor.js.map
|
|
@@ -0,0 +1,40 @@
|
|
|
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::QBusiness::Permission Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-permission.html}
|
|
6
|
+
*/
|
|
7
|
+
export type QBusinessPermissionProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* @minLength `1`
|
|
10
|
+
* @maxLength `10`
|
|
11
|
+
*/
|
|
12
|
+
Actions: string[];
|
|
13
|
+
/**
|
|
14
|
+
* @minLength `36`
|
|
15
|
+
* @maxLength `36`
|
|
16
|
+
* @pattern `^[a-zA-Z0-9][a-zA-Z0-9-]{35}$`
|
|
17
|
+
*/
|
|
18
|
+
ApplicationId: string;
|
|
19
|
+
/**
|
|
20
|
+
* @minLength `1`
|
|
21
|
+
* @maxLength `1284`
|
|
22
|
+
* @pattern `^arn:aws:iam::[0-9]{12}:role/.+`
|
|
23
|
+
*/
|
|
24
|
+
Principal: string;
|
|
25
|
+
/**
|
|
26
|
+
* @minLength `1`
|
|
27
|
+
* @maxLength `100`
|
|
28
|
+
* @pattern `^[a-zA-Z0-9_-]+$`
|
|
29
|
+
*/
|
|
30
|
+
StatementId: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Definition of AWS::QBusiness::Permission Resource Type
|
|
34
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-permission.html}
|
|
35
|
+
*/
|
|
36
|
+
export declare class QBusinessPermission extends $Resource<"AWS::QBusiness::Permission", QBusinessPermissionProperties, Record<string, never>> {
|
|
37
|
+
static readonly Type = "AWS::QBusiness::Permission";
|
|
38
|
+
constructor(logicalId: string, properties: QBusinessPermissionProperties, options?: $ResourceOptions);
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=AWS-QBusiness-Permission.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Definition of AWS::QBusiness::Permission Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-permission.html}
|
|
5
|
+
*/
|
|
6
|
+
export class QBusinessPermission extends $Resource {
|
|
7
|
+
static Type = "AWS::QBusiness::Permission";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, QBusinessPermission.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-QBusiness-Permission.js.map
|
|
@@ -10,7 +10,7 @@ export type QBusinessPluginProperties = {
|
|
|
10
10
|
* @maxLength `36`
|
|
11
11
|
* @pattern `^[a-zA-Z0-9][a-zA-Z0-9-]{35}$`
|
|
12
12
|
*/
|
|
13
|
-
ApplicationId
|
|
13
|
+
ApplicationId?: string;
|
|
14
14
|
AuthConfiguration: PluginAuthConfiguration;
|
|
15
15
|
CustomPluginConfiguration?: CustomPluginConfiguration;
|
|
16
16
|
/**
|
|
@@ -109,6 +109,12 @@ export type NoAuthConfiguration = Record<string, any>;
|
|
|
109
109
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-oauth2clientcredentialconfiguration.html}
|
|
110
110
|
*/
|
|
111
111
|
export type OAuth2ClientCredentialConfiguration = {
|
|
112
|
+
/**
|
|
113
|
+
* @minLength `1`
|
|
114
|
+
* @maxLength `2048`
|
|
115
|
+
* @pattern `^(https?|ftp|file)://([^\s]*)$`
|
|
116
|
+
*/
|
|
117
|
+
AuthorizationUrl?: string;
|
|
112
118
|
/**
|
|
113
119
|
* @minLength `0`
|
|
114
120
|
* @maxLength `1284`
|
|
@@ -121,6 +127,12 @@ export type OAuth2ClientCredentialConfiguration = {
|
|
|
121
127
|
* @pattern `^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$`
|
|
122
128
|
*/
|
|
123
129
|
SecretArn: string;
|
|
130
|
+
/**
|
|
131
|
+
* @minLength `1`
|
|
132
|
+
* @maxLength `2048`
|
|
133
|
+
* @pattern `^(https?|ftp|file)://([^\s]*)$`
|
|
134
|
+
*/
|
|
135
|
+
TokenUrl?: string;
|
|
124
136
|
};
|
|
125
137
|
/**
|
|
126
138
|
* Type definition for `AWS::QBusiness::Plugin.PluginAuthConfiguration`.
|
|
@@ -147,7 +159,7 @@ export type PluginState = "ENABLED" | "DISABLED";
|
|
|
147
159
|
* Type definition for `AWS::QBusiness::Plugin.PluginType`.
|
|
148
160
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-plugintype.html}
|
|
149
161
|
*/
|
|
150
|
-
export type PluginType = "SERVICE_NOW" | "SALESFORCE" | "JIRA" | "ZENDESK" | "CUSTOM";
|
|
162
|
+
export type PluginType = "SERVICE_NOW" | "SALESFORCE" | "JIRA" | "ZENDESK" | "CUSTOM" | "QUICKSIGHT" | "SERVICENOW_NOW_PLATFORM" | "JIRA_CLOUD" | "SALESFORCE_CRM" | "ZENDESK_SUITE" | "ATLASSIAN_CONFLUENCE" | "GOOGLE_CALENDAR" | "MICROSOFT_TEAMS" | "MICROSOFT_EXCHANGE" | "PAGERDUTY_ADVANCE" | "SMARTSHEET" | "ASANA";
|
|
151
163
|
/**
|
|
152
164
|
* Type definition for `AWS::QBusiness::Plugin.S3`.
|
|
153
165
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-plugin-s3.html}
|
|
@@ -11,6 +11,7 @@ export type QBusinessWebExperienceProperties = {
|
|
|
11
11
|
* @pattern `^[a-zA-Z0-9][a-zA-Z0-9-]{35}$`
|
|
12
12
|
*/
|
|
13
13
|
ApplicationId: string;
|
|
14
|
+
CustomizationConfiguration?: CustomizationConfiguration;
|
|
14
15
|
IdentityProviderConfiguration?: IdentityProviderConfiguration;
|
|
15
16
|
/**
|
|
16
17
|
* @minLength `0`
|
|
@@ -74,6 +75,36 @@ export type QBusinessWebExperienceAttributes = {
|
|
|
74
75
|
*/
|
|
75
76
|
WebExperienceId: string;
|
|
76
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* Type definition for `AWS::QBusiness::WebExperience.CustomizationConfiguration`.
|
|
80
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-customizationconfiguration.html}
|
|
81
|
+
*/
|
|
82
|
+
export type CustomizationConfiguration = {
|
|
83
|
+
/**
|
|
84
|
+
* @minLength `0`
|
|
85
|
+
* @maxLength `1284`
|
|
86
|
+
* @pattern `^(https?://[a-zA-Z0-9-_.+%/]+\.css)?$`
|
|
87
|
+
*/
|
|
88
|
+
CustomCSSUrl?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @minLength `0`
|
|
91
|
+
* @maxLength `1284`
|
|
92
|
+
* @pattern `^(https?://[a-zA-Z0-9-_.+%/]+\.(svg|ico))?$`
|
|
93
|
+
*/
|
|
94
|
+
FaviconUrl?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @minLength `0`
|
|
97
|
+
* @maxLength `1284`
|
|
98
|
+
* @pattern `^(https?://[a-zA-Z0-9-_.+%/]+\.(ttf|woff|woff2|otf))?$`
|
|
99
|
+
*/
|
|
100
|
+
FontUrl?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @minLength `0`
|
|
103
|
+
* @maxLength `1284`
|
|
104
|
+
* @pattern `^(https?://[a-zA-Z0-9-_.+%/]+\.(svg|png))?$`
|
|
105
|
+
*/
|
|
106
|
+
LogoUrl?: string;
|
|
107
|
+
};
|
|
77
108
|
/**
|
|
78
109
|
* Type definition for `AWS::QBusiness::WebExperience.IdentityProviderConfiguration`.
|
|
79
110
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-identityproviderconfiguration.html}
|
|
@@ -0,0 +1,103 @@
|
|
|
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 `AWS::VpcLattice::ResourceConfiguration`.
|
|
5
|
+
* VpcLattice ResourceConfiguration CFN resource
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourceconfiguration.html}
|
|
7
|
+
*/
|
|
8
|
+
export type VpcLatticeResourceConfigurationProperties = {
|
|
9
|
+
AllowAssociationToSharableServiceNetwork?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* @minLength `3`
|
|
12
|
+
* @maxLength `40`
|
|
13
|
+
* @pattern `^(?!rcfg-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$`
|
|
14
|
+
*/
|
|
15
|
+
Name?: string;
|
|
16
|
+
PortRanges?: string[];
|
|
17
|
+
ProtocolType?: "TCP";
|
|
18
|
+
ResourceConfigurationAuthType?: "NONE" | "AWS_IAM";
|
|
19
|
+
ResourceConfigurationDefinition?: {
|
|
20
|
+
/**
|
|
21
|
+
* @minLength `4`
|
|
22
|
+
* @maxLength `39`
|
|
23
|
+
*/
|
|
24
|
+
IpResource: string;
|
|
25
|
+
} | {
|
|
26
|
+
/**
|
|
27
|
+
* @maxLength `1224`
|
|
28
|
+
* @pattern `^arn:[a-z0-9][-.a-z0-9]{0,62}:vpc-lattice:([a-z0-9][-.a-z0-9]{0,62})?:\d{12}?:[^/].{0,1023}$`
|
|
29
|
+
*/
|
|
30
|
+
ArnResource: string;
|
|
31
|
+
} | {
|
|
32
|
+
DnsResource: DnsResource;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @minLength `22`
|
|
36
|
+
* @maxLength `22`
|
|
37
|
+
* @pattern `^rcfg-[0-9a-z]{17}$`
|
|
38
|
+
*/
|
|
39
|
+
ResourceConfigurationGroupId?: string;
|
|
40
|
+
ResourceConfigurationType?: "GROUP" | "CHILD" | "SINGLE" | "ARN";
|
|
41
|
+
ResourceGatewayId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @minLength `0`
|
|
44
|
+
* @maxLength `50`
|
|
45
|
+
*/
|
|
46
|
+
Tags?: Tag[];
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Attribute type definition for `AWS::VpcLattice::ResourceConfiguration`.
|
|
50
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourceconfiguration.html#aws-resource-vpclattice-resourceconfiguration-return-values}
|
|
51
|
+
*/
|
|
52
|
+
export type VpcLatticeResourceConfigurationAttributes = {
|
|
53
|
+
/**
|
|
54
|
+
* @minLength `20`
|
|
55
|
+
* @maxLength `2048`
|
|
56
|
+
* @pattern `^arn:[a-z0-9f\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:resourceconfiguration/rcfg-[0-9a-z]{17}$`
|
|
57
|
+
*/
|
|
58
|
+
Arn: string;
|
|
59
|
+
/**
|
|
60
|
+
* @minLength `22`
|
|
61
|
+
* @maxLength `22`
|
|
62
|
+
* @pattern `^rcfg-[0-9a-z]{17}$`
|
|
63
|
+
*/
|
|
64
|
+
Id: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Type definition for `AWS::VpcLattice::ResourceConfiguration.DnsResource`.
|
|
68
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-dnsresource.html}
|
|
69
|
+
*/
|
|
70
|
+
export type DnsResource = {
|
|
71
|
+
/**
|
|
72
|
+
* @minLength `3`
|
|
73
|
+
* @maxLength `255`
|
|
74
|
+
*/
|
|
75
|
+
DomainName: string;
|
|
76
|
+
IpAddressType: "IPV4" | "IPV6" | "DUALSTACK";
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Type definition for `AWS::VpcLattice::ResourceConfiguration.Tag`.
|
|
80
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourceconfiguration-tag.html}
|
|
81
|
+
*/
|
|
82
|
+
export type Tag = {
|
|
83
|
+
/**
|
|
84
|
+
* @minLength `1`
|
|
85
|
+
* @maxLength `128`
|
|
86
|
+
*/
|
|
87
|
+
Key: string;
|
|
88
|
+
/**
|
|
89
|
+
* @minLength `1`
|
|
90
|
+
* @maxLength `256`
|
|
91
|
+
*/
|
|
92
|
+
Value?: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Resource type definition for `AWS::VpcLattice::ResourceConfiguration`.
|
|
96
|
+
* VpcLattice ResourceConfiguration CFN resource
|
|
97
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourceconfiguration.html}
|
|
98
|
+
*/
|
|
99
|
+
export declare class VpcLatticeResourceConfiguration extends $Resource<"AWS::VpcLattice::ResourceConfiguration", VpcLatticeResourceConfigurationProperties, VpcLatticeResourceConfigurationAttributes> {
|
|
100
|
+
static readonly Type = "AWS::VpcLattice::ResourceConfiguration";
|
|
101
|
+
constructor(logicalId: string, properties: VpcLatticeResourceConfigurationProperties, options?: $ResourceOptions);
|
|
102
|
+
}
|
|
103
|
+
//# sourceMappingURL=AWS-VpcLattice-ResourceConfiguration.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for `AWS::VpcLattice::ResourceConfiguration`.
|
|
4
|
+
* VpcLattice ResourceConfiguration CFN resource
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourceconfiguration.html}
|
|
6
|
+
*/
|
|
7
|
+
export class VpcLatticeResourceConfiguration extends $Resource {
|
|
8
|
+
static Type = "AWS::VpcLattice::ResourceConfiguration";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, VpcLatticeResourceConfiguration.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-VpcLattice-ResourceConfiguration.js.map
|
|
@@ -0,0 +1,78 @@
|
|
|
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 `AWS::VpcLattice::ResourceGateway`.
|
|
5
|
+
* Creates a resource gateway for a service.
|
|
6
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html}
|
|
7
|
+
*/
|
|
8
|
+
export type VpcLatticeResourceGatewayProperties = {
|
|
9
|
+
IpAddressType?: "IPV4" | "IPV6" | "DUALSTACK";
|
|
10
|
+
/**
|
|
11
|
+
* @minLength `3`
|
|
12
|
+
* @maxLength `40`
|
|
13
|
+
* @pattern `^(?!rgw-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$`
|
|
14
|
+
*/
|
|
15
|
+
Name?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The ID of one or more security groups to associate with the endpoint network interface.
|
|
18
|
+
*/
|
|
19
|
+
SecurityGroupIds?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* The ID of one or more subnets in which to create an endpoint network interface.
|
|
22
|
+
*/
|
|
23
|
+
SubnetIds?: string[];
|
|
24
|
+
/**
|
|
25
|
+
* @minLength `0`
|
|
26
|
+
* @maxLength `50`
|
|
27
|
+
*/
|
|
28
|
+
Tags?: Tag[];
|
|
29
|
+
/**
|
|
30
|
+
* @minLength `5`
|
|
31
|
+
* @maxLength `50`
|
|
32
|
+
*/
|
|
33
|
+
VpcIdentifier?: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Attribute type definition for `AWS::VpcLattice::ResourceGateway`.
|
|
37
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html#aws-resource-vpclattice-resourcegateway-return-values}
|
|
38
|
+
*/
|
|
39
|
+
export type VpcLatticeResourceGatewayAttributes = {
|
|
40
|
+
/**
|
|
41
|
+
* @minLength `20`
|
|
42
|
+
* @maxLength `2048`
|
|
43
|
+
* @pattern `^arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:resourcegateway/rgw-[0-9a-z]{17}$`
|
|
44
|
+
*/
|
|
45
|
+
Arn: string;
|
|
46
|
+
/**
|
|
47
|
+
* @minLength `17`
|
|
48
|
+
* @maxLength `2048`
|
|
49
|
+
* @pattern `^((rgw-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:resourcegateway/rgw-[0-9a-z]{17}))$`
|
|
50
|
+
*/
|
|
51
|
+
Id: string;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Type definition for `AWS::VpcLattice::ResourceGateway.Tag`.
|
|
55
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-resourcegateway-tag.html}
|
|
56
|
+
*/
|
|
57
|
+
export type Tag = {
|
|
58
|
+
/**
|
|
59
|
+
* @minLength `1`
|
|
60
|
+
* @maxLength `128`
|
|
61
|
+
*/
|
|
62
|
+
Key: string;
|
|
63
|
+
/**
|
|
64
|
+
* @minLength `1`
|
|
65
|
+
* @maxLength `256`
|
|
66
|
+
*/
|
|
67
|
+
Value?: string;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Resource type definition for `AWS::VpcLattice::ResourceGateway`.
|
|
71
|
+
* Creates a resource gateway for a service.
|
|
72
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html}
|
|
73
|
+
*/
|
|
74
|
+
export declare class VpcLatticeResourceGateway extends $Resource<"AWS::VpcLattice::ResourceGateway", VpcLatticeResourceGatewayProperties, VpcLatticeResourceGatewayAttributes> {
|
|
75
|
+
static readonly Type = "AWS::VpcLattice::ResourceGateway";
|
|
76
|
+
constructor(logicalId: string, properties: VpcLatticeResourceGatewayProperties, options?: $ResourceOptions);
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=AWS-VpcLattice-ResourceGateway.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource type definition for `AWS::VpcLattice::ResourceGateway`.
|
|
4
|
+
* Creates a resource gateway for a service.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcegateway.html}
|
|
6
|
+
*/
|
|
7
|
+
export class VpcLatticeResourceGateway extends $Resource {
|
|
8
|
+
static Type = "AWS::VpcLattice::ResourceGateway";
|
|
9
|
+
constructor(logicalId, properties, options) {
|
|
10
|
+
super(logicalId, VpcLatticeResourceGateway.Type, properties, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=AWS-VpcLattice-ResourceGateway.js.map
|
|
@@ -56,17 +56,23 @@ export type AIAgentConfiguration = {
|
|
|
56
56
|
ManualSearchAIAgentConfiguration: ManualSearchAIAgentConfiguration;
|
|
57
57
|
} | {
|
|
58
58
|
AnswerRecommendationAIAgentConfiguration: AnswerRecommendationAIAgentConfiguration;
|
|
59
|
+
} | {
|
|
60
|
+
SelfServiceAIAgentConfiguration: SelfServiceAIAgentConfiguration;
|
|
59
61
|
};
|
|
60
62
|
/**
|
|
61
63
|
* Type definition for `AWS::Wisdom::AIAgent.AIAgentType`.
|
|
62
64
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-aiagenttype.html}
|
|
63
65
|
*/
|
|
64
|
-
export type AIAgentType = "MANUAL_SEARCH" | "ANSWER_RECOMMENDATION";
|
|
66
|
+
export type AIAgentType = "MANUAL_SEARCH" | "ANSWER_RECOMMENDATION" | "SELF_SERVICE";
|
|
65
67
|
/**
|
|
66
68
|
* Type definition for `AWS::Wisdom::AIAgent.AnswerRecommendationAIAgentConfiguration`.
|
|
67
69
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-answerrecommendationaiagentconfiguration.html}
|
|
68
70
|
*/
|
|
69
71
|
export type AnswerRecommendationAIAgentConfiguration = {
|
|
72
|
+
/**
|
|
73
|
+
* @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}$`
|
|
74
|
+
*/
|
|
75
|
+
AnswerGenerationAIGuardrailId?: string;
|
|
70
76
|
/**
|
|
71
77
|
* @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}$`
|
|
72
78
|
*/
|
|
@@ -123,6 +129,10 @@ export type KnowledgeBaseSearchType = "HYBRID" | "SEMANTIC";
|
|
|
123
129
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-manualsearchaiagentconfiguration.html}
|
|
124
130
|
*/
|
|
125
131
|
export type ManualSearchAIAgentConfiguration = {
|
|
132
|
+
/**
|
|
133
|
+
* @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}$`
|
|
134
|
+
*/
|
|
135
|
+
AnswerGenerationAIGuardrailId?: string;
|
|
126
136
|
/**
|
|
127
137
|
* @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}$`
|
|
128
138
|
*/
|
|
@@ -138,6 +148,25 @@ export type OrCondition = {
|
|
|
138
148
|
} | {
|
|
139
149
|
TagCondition: TagCondition;
|
|
140
150
|
};
|
|
151
|
+
/**
|
|
152
|
+
* Type definition for `AWS::Wisdom::AIAgent.SelfServiceAIAgentConfiguration`.
|
|
153
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-selfserviceaiagentconfiguration.html}
|
|
154
|
+
*/
|
|
155
|
+
export type SelfServiceAIAgentConfiguration = {
|
|
156
|
+
AssociationConfigurations?: AssociationConfiguration[];
|
|
157
|
+
/**
|
|
158
|
+
* @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}$`
|
|
159
|
+
*/
|
|
160
|
+
SelfServiceAIGuardrailId?: string;
|
|
161
|
+
/**
|
|
162
|
+
* @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}$`
|
|
163
|
+
*/
|
|
164
|
+
SelfServiceAnswerGenerationAIPromptId?: string;
|
|
165
|
+
/**
|
|
166
|
+
* @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}$`
|
|
167
|
+
*/
|
|
168
|
+
SelfServicePreProcessingAIPromptId?: string;
|
|
169
|
+
};
|
|
141
170
|
/**
|
|
142
171
|
* Type definition for `AWS::Wisdom::AIAgent.TagCondition`.
|
|
143
172
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-tagcondition.html}
|
|
@@ -0,0 +1,331 @@
|
|
|
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::AIGuardrail Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html}
|
|
6
|
+
*/
|
|
7
|
+
export type WisdomAIGuardrailProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* @pattern `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^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}){0,2}$`
|
|
10
|
+
*/
|
|
11
|
+
AssistantId: string;
|
|
12
|
+
/**
|
|
13
|
+
* Messaging for when violations are detected in text
|
|
14
|
+
* @minLength `1`
|
|
15
|
+
* @maxLength `500`
|
|
16
|
+
*/
|
|
17
|
+
BlockedInputMessaging: string;
|
|
18
|
+
/**
|
|
19
|
+
* Messaging for when violations are detected in text
|
|
20
|
+
* @minLength `1`
|
|
21
|
+
* @maxLength `500`
|
|
22
|
+
*/
|
|
23
|
+
BlockedOutputsMessaging: string;
|
|
24
|
+
/**
|
|
25
|
+
* Content policy config for a guardrail.
|
|
26
|
+
*/
|
|
27
|
+
ContentPolicyConfig?: AIGuardrailContentPolicyConfig;
|
|
28
|
+
/**
|
|
29
|
+
* Contextual grounding policy config for a guardrail.
|
|
30
|
+
*/
|
|
31
|
+
ContextualGroundingPolicyConfig?: AIGuardrailContextualGroundingPolicyConfig;
|
|
32
|
+
/**
|
|
33
|
+
* Description of the guardrail or its version
|
|
34
|
+
* @minLength `1`
|
|
35
|
+
* @maxLength `200`
|
|
36
|
+
*/
|
|
37
|
+
Description?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @minLength `1`
|
|
40
|
+
* @maxLength `255`
|
|
41
|
+
* @pattern `^[a-zA-Z0-9\s_.,-]+`
|
|
42
|
+
*/
|
|
43
|
+
Name?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Sensitive information policy config for a guardrail.
|
|
46
|
+
*/
|
|
47
|
+
SensitiveInformationPolicyConfig?: AIGuardrailSensitiveInformationPolicyConfig;
|
|
48
|
+
Tags?: Tags;
|
|
49
|
+
/**
|
|
50
|
+
* Topic policy config for a guardrail.
|
|
51
|
+
*/
|
|
52
|
+
TopicPolicyConfig?: AIGuardrailTopicPolicyConfig;
|
|
53
|
+
/**
|
|
54
|
+
* Word policy config for a guardrail.
|
|
55
|
+
*/
|
|
56
|
+
WordPolicyConfig?: AIGuardrailWordPolicyConfig;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Attribute type definition for `AWS::Wisdom::AIGuardrail`.
|
|
60
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html#aws-resource-wisdom-aiguardrail-return-values}
|
|
61
|
+
*/
|
|
62
|
+
export type WisdomAIGuardrailAttributes = {
|
|
63
|
+
/**
|
|
64
|
+
* @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}){0,2}$`
|
|
65
|
+
*/
|
|
66
|
+
AIGuardrailArn: string;
|
|
67
|
+
/**
|
|
68
|
+
* @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}$|^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}){0,2}(:[A-Z0-9_$]+){0,1}$`
|
|
69
|
+
*/
|
|
70
|
+
AIGuardrailId: string;
|
|
71
|
+
/**
|
|
72
|
+
* @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}){0,2}$`
|
|
73
|
+
*/
|
|
74
|
+
AssistantArn: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.AIGuardrailContentPolicyConfig`.
|
|
78
|
+
* Content policy config for a guardrail.
|
|
79
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-aiguardrailcontentpolicyconfig.html}
|
|
80
|
+
*/
|
|
81
|
+
export type AIGuardrailContentPolicyConfig = {
|
|
82
|
+
/**
|
|
83
|
+
* List of content filter configs in content policy.
|
|
84
|
+
* @minLength `1`
|
|
85
|
+
* @maxLength `6`
|
|
86
|
+
*/
|
|
87
|
+
FiltersConfig: GuardrailContentFilterConfig[];
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.AIGuardrailContextualGroundingPolicyConfig`.
|
|
91
|
+
* Contextual grounding policy config for a guardrail.
|
|
92
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-aiguardrailcontextualgroundingpolicyconfig.html}
|
|
93
|
+
*/
|
|
94
|
+
export type AIGuardrailContextualGroundingPolicyConfig = {
|
|
95
|
+
/**
|
|
96
|
+
* List of contextual grounding filter configs.
|
|
97
|
+
* @minLength `1`
|
|
98
|
+
*/
|
|
99
|
+
FiltersConfig: GuardrailContextualGroundingFilterConfig[];
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.AIGuardrailSensitiveInformationPolicyConfig`.
|
|
103
|
+
* Sensitive information policy config for a guardrail.
|
|
104
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-aiguardrailsensitiveinformationpolicyconfig.html}
|
|
105
|
+
*/
|
|
106
|
+
export type AIGuardrailSensitiveInformationPolicyConfig = {
|
|
107
|
+
/**
|
|
108
|
+
* List of entities.
|
|
109
|
+
* @minLength `1`
|
|
110
|
+
*/
|
|
111
|
+
PiiEntitiesConfig?: GuardrailPiiEntityConfig[];
|
|
112
|
+
/**
|
|
113
|
+
* List of regex.
|
|
114
|
+
* @minLength `1`
|
|
115
|
+
*/
|
|
116
|
+
RegexesConfig?: GuardrailRegexConfig[];
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.AIGuardrailTopicPolicyConfig`.
|
|
120
|
+
* Topic policy config for a guardrail.
|
|
121
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-aiguardrailtopicpolicyconfig.html}
|
|
122
|
+
*/
|
|
123
|
+
export type AIGuardrailTopicPolicyConfig = {
|
|
124
|
+
/**
|
|
125
|
+
* List of topic configs in topic policy.
|
|
126
|
+
* @minLength `1`
|
|
127
|
+
*/
|
|
128
|
+
TopicsConfig: GuardrailTopicConfig[];
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.AIGuardrailWordPolicyConfig`.
|
|
132
|
+
* Word policy config for a guardrail.
|
|
133
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-aiguardrailwordpolicyconfig.html}
|
|
134
|
+
*/
|
|
135
|
+
export type AIGuardrailWordPolicyConfig = {
|
|
136
|
+
/**
|
|
137
|
+
* A config for the list of managed words.
|
|
138
|
+
*/
|
|
139
|
+
ManagedWordListsConfig?: GuardrailManagedWordsConfig[];
|
|
140
|
+
/**
|
|
141
|
+
* List of custom word configs.
|
|
142
|
+
* @minLength `1`
|
|
143
|
+
*/
|
|
144
|
+
WordsConfig?: GuardrailWordConfig[];
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailContentFilterConfig`.
|
|
148
|
+
* Content filter config in content policy.
|
|
149
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailcontentfilterconfig.html}
|
|
150
|
+
*/
|
|
151
|
+
export type GuardrailContentFilterConfig = {
|
|
152
|
+
/**
|
|
153
|
+
* Strength for filters
|
|
154
|
+
*/
|
|
155
|
+
InputStrength: GuardrailFilterStrength;
|
|
156
|
+
/**
|
|
157
|
+
* Strength for filters
|
|
158
|
+
*/
|
|
159
|
+
OutputStrength: GuardrailFilterStrength;
|
|
160
|
+
/**
|
|
161
|
+
* Type of text to text filter in content policy
|
|
162
|
+
*/
|
|
163
|
+
Type: GuardrailContentFilterType;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailContentFilterType`.
|
|
167
|
+
* Type of text to text filter in content policy
|
|
168
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailcontentfiltertype.html}
|
|
169
|
+
*/
|
|
170
|
+
export type GuardrailContentFilterType = "SEXUAL" | "VIOLENCE" | "HATE" | "INSULTS" | "MISCONDUCT" | "PROMPT_ATTACK";
|
|
171
|
+
/**
|
|
172
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailContextualGroundingFilterConfig`.
|
|
173
|
+
* A config for grounding filter.
|
|
174
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailcontextualgroundingfilterconfig.html}
|
|
175
|
+
*/
|
|
176
|
+
export type GuardrailContextualGroundingFilterConfig = {
|
|
177
|
+
/**
|
|
178
|
+
* The threshold for this filter.
|
|
179
|
+
* @min `0`
|
|
180
|
+
*/
|
|
181
|
+
Threshold: number;
|
|
182
|
+
/**
|
|
183
|
+
* Type of contextual grounding filter
|
|
184
|
+
*/
|
|
185
|
+
Type: GuardrailContextualGroundingFilterType;
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailContextualGroundingFilterType`.
|
|
189
|
+
* Type of contextual grounding filter
|
|
190
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailcontextualgroundingfiltertype.html}
|
|
191
|
+
*/
|
|
192
|
+
export type GuardrailContextualGroundingFilterType = "GROUNDING" | "RELEVANCE";
|
|
193
|
+
/**
|
|
194
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailFilterStrength`.
|
|
195
|
+
* Strength for filters
|
|
196
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailfilterstrength.html}
|
|
197
|
+
*/
|
|
198
|
+
export type GuardrailFilterStrength = "NONE" | "LOW" | "MEDIUM" | "HIGH";
|
|
199
|
+
/**
|
|
200
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailManagedWordsConfig`.
|
|
201
|
+
* A managed words config.
|
|
202
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailmanagedwordsconfig.html}
|
|
203
|
+
*/
|
|
204
|
+
export type GuardrailManagedWordsConfig = {
|
|
205
|
+
/**
|
|
206
|
+
* Options for managed words.
|
|
207
|
+
*/
|
|
208
|
+
Type: GuardrailManagedWordsType;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailManagedWordsType`.
|
|
212
|
+
* Options for managed words.
|
|
213
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailmanagedwordstype.html}
|
|
214
|
+
*/
|
|
215
|
+
export type GuardrailManagedWordsType = "PROFANITY";
|
|
216
|
+
/**
|
|
217
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailPiiEntityConfig`.
|
|
218
|
+
* Pii entity configuration.
|
|
219
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailpiientityconfig.html}
|
|
220
|
+
*/
|
|
221
|
+
export type GuardrailPiiEntityConfig = {
|
|
222
|
+
/**
|
|
223
|
+
* Options for sensitive information action.
|
|
224
|
+
*/
|
|
225
|
+
Action: GuardrailSensitiveInformationAction;
|
|
226
|
+
/**
|
|
227
|
+
* The currently supported PII entities
|
|
228
|
+
*/
|
|
229
|
+
Type: GuardrailPiiEntityType;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailPiiEntityType`.
|
|
233
|
+
* The currently supported PII entities
|
|
234
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailpiientitytype.html}
|
|
235
|
+
*/
|
|
236
|
+
export type GuardrailPiiEntityType = "ADDRESS" | "AGE" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "DRIVER_ID" | "EMAIL" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "IP_ADDRESS" | "LICENSE_PLATE" | "MAC_ADDRESS" | "NAME" | "PASSWORD" | "PHONE" | "PIN" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "URL" | "USERNAME" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "VEHICLE_IDENTIFICATION_NUMBER";
|
|
237
|
+
/**
|
|
238
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailRegexConfig`.
|
|
239
|
+
* A regex configuration.
|
|
240
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailregexconfig.html}
|
|
241
|
+
*/
|
|
242
|
+
export type GuardrailRegexConfig = {
|
|
243
|
+
/**
|
|
244
|
+
* Options for sensitive information action.
|
|
245
|
+
*/
|
|
246
|
+
Action: GuardrailSensitiveInformationAction;
|
|
247
|
+
/**
|
|
248
|
+
* The regex description.
|
|
249
|
+
* @minLength `1`
|
|
250
|
+
* @maxLength `1000`
|
|
251
|
+
*/
|
|
252
|
+
Description?: string;
|
|
253
|
+
/**
|
|
254
|
+
* The regex name.
|
|
255
|
+
* @minLength `1`
|
|
256
|
+
* @maxLength `100`
|
|
257
|
+
*/
|
|
258
|
+
Name: string;
|
|
259
|
+
/**
|
|
260
|
+
* The regex pattern.
|
|
261
|
+
* @minLength `1`
|
|
262
|
+
*/
|
|
263
|
+
Pattern: string;
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailSensitiveInformationAction`.
|
|
267
|
+
* Options for sensitive information action.
|
|
268
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailsensitiveinformationaction.html}
|
|
269
|
+
*/
|
|
270
|
+
export type GuardrailSensitiveInformationAction = "BLOCK" | "ANONYMIZE";
|
|
271
|
+
/**
|
|
272
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailTopicConfig`.
|
|
273
|
+
* Topic config in topic policy.
|
|
274
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailtopicconfig.html}
|
|
275
|
+
*/
|
|
276
|
+
export type GuardrailTopicConfig = {
|
|
277
|
+
/**
|
|
278
|
+
* Definition of topic in topic policy
|
|
279
|
+
* @minLength `1`
|
|
280
|
+
* @maxLength `200`
|
|
281
|
+
*/
|
|
282
|
+
Definition: string;
|
|
283
|
+
/**
|
|
284
|
+
* List of text examples
|
|
285
|
+
* @minLength `0`
|
|
286
|
+
*/
|
|
287
|
+
Examples?: string[];
|
|
288
|
+
/**
|
|
289
|
+
* Name of topic in topic policy
|
|
290
|
+
* @minLength `1`
|
|
291
|
+
* @maxLength `100`
|
|
292
|
+
* @pattern `^[0-9a-zA-Z-_ !?.]+$`
|
|
293
|
+
*/
|
|
294
|
+
Name: string;
|
|
295
|
+
/**
|
|
296
|
+
* Type of topic in a policy
|
|
297
|
+
*/
|
|
298
|
+
Type: GuardrailTopicType;
|
|
299
|
+
};
|
|
300
|
+
/**
|
|
301
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailTopicType`.
|
|
302
|
+
* Type of topic in a policy
|
|
303
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailtopictype.html}
|
|
304
|
+
*/
|
|
305
|
+
export type GuardrailTopicType = "DENY";
|
|
306
|
+
/**
|
|
307
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.GuardrailWordConfig`.
|
|
308
|
+
* A custom word config.
|
|
309
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-guardrailwordconfig.html}
|
|
310
|
+
*/
|
|
311
|
+
export type GuardrailWordConfig = {
|
|
312
|
+
/**
|
|
313
|
+
* The custom word text.
|
|
314
|
+
* @minLength `1`
|
|
315
|
+
*/
|
|
316
|
+
Text: string;
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* Type definition for `AWS::Wisdom::AIGuardrail.Tags`.
|
|
320
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiguardrail-tags.html}
|
|
321
|
+
*/
|
|
322
|
+
export type Tags = Record<string, string>;
|
|
323
|
+
/**
|
|
324
|
+
* Definition of AWS::Wisdom::AIGuardrail Resource Type
|
|
325
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html}
|
|
326
|
+
*/
|
|
327
|
+
export declare class WisdomAIGuardrail extends $Resource<"AWS::Wisdom::AIGuardrail", WisdomAIGuardrailProperties, WisdomAIGuardrailAttributes> {
|
|
328
|
+
static readonly Type = "AWS::Wisdom::AIGuardrail";
|
|
329
|
+
constructor(logicalId: string, properties: WisdomAIGuardrailProperties, options?: $ResourceOptions);
|
|
330
|
+
}
|
|
331
|
+
//# sourceMappingURL=AWS-Wisdom-AIGuardrail.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::AIGuardrail Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrail.html}
|
|
5
|
+
*/
|
|
6
|
+
export class WisdomAIGuardrail extends $Resource {
|
|
7
|
+
static Type = "AWS::Wisdom::AIGuardrail";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, WisdomAIGuardrail.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-Wisdom-AIGuardrail.js.map
|
|
@@ -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::AIGuardrailVersion Resource Type
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrailversion.html}
|
|
6
|
+
*/
|
|
7
|
+
export type WisdomAIGuardrailVersionProperties = {
|
|
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
|
+
AIGuardrailId: 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::AIGuardrailVersion`.
|
|
20
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrailversion.html#aws-resource-wisdom-aiguardrailversion-return-values}
|
|
21
|
+
*/
|
|
22
|
+
export type WisdomAIGuardrailVersionAttributes = {
|
|
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
|
+
AIGuardrailArn: 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
|
+
AIGuardrailVersionId: 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::AIGuardrailVersion Resource Type
|
|
39
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrailversion.html}
|
|
40
|
+
*/
|
|
41
|
+
export declare class WisdomAIGuardrailVersion extends $Resource<"AWS::Wisdom::AIGuardrailVersion", WisdomAIGuardrailVersionProperties, WisdomAIGuardrailVersionAttributes> {
|
|
42
|
+
static readonly Type = "AWS::Wisdom::AIGuardrailVersion";
|
|
43
|
+
constructor(logicalId: string, properties: WisdomAIGuardrailVersionProperties, options?: $ResourceOptions);
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=AWS-Wisdom-AIGuardrailVersion.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::AIGuardrailVersion Resource Type
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiguardrailversion.html}
|
|
5
|
+
*/
|
|
6
|
+
export class WisdomAIGuardrailVersion extends $Resource {
|
|
7
|
+
static Type = "AWS::Wisdom::AIGuardrailVersion";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, WisdomAIGuardrailVersion.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-Wisdom-AIGuardrailVersion.js.map
|
|
@@ -71,7 +71,7 @@ export type AIPromptTemplateType = "TEXT";
|
|
|
71
71
|
* Type definition for `AWS::Wisdom::AIPrompt.AIPromptType`.
|
|
72
72
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-aiprompttype.html}
|
|
73
73
|
*/
|
|
74
|
-
export type AIPromptType = "ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION";
|
|
74
|
+
export type AIPromptType = "ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION" | "SELF_SERVICE_PRE_PROCESSING" | "SELF_SERVICE_ANSWER_GENERATION";
|
|
75
75
|
/**
|
|
76
76
|
* Type definition for `AWS::Wisdom::AIPrompt.Tags`.
|
|
77
77
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-tags.html}
|