@awboost/cfn-resource-types 0.1.167 → 0.1.168

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,18 +5,55 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html}
6
6
  */
7
7
  export type AppSyncDataSourceProperties = {
8
+ /**
9
+ * Unique AWS AppSync GraphQL API identifier where this data source will be created.
10
+ */
8
11
  ApiId: string;
12
+ /**
13
+ * The description of the data source.
14
+ */
9
15
  Description?: string;
16
+ /**
17
+ * AWS Region and TableName for an Amazon DynamoDB table in your account.
18
+ */
10
19
  DynamoDBConfig?: DynamoDBConfig;
20
+ /**
21
+ * AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.
22
+ As of September 2021, Amazon Elasticsearch Service is Amazon OpenSearch Service. This property is deprecated. For new data sources, use OpenSearchServiceConfig to specify an OpenSearch Service data source.
23
+ */
11
24
  ElasticsearchConfig?: ElasticsearchConfig;
25
+ /**
26
+ * ARN for the EventBridge bus.
27
+ */
12
28
  EventBridgeConfig?: EventBridgeConfig;
29
+ /**
30
+ * Endpoints for an HTTP data source.
31
+ */
13
32
  HttpConfig?: HttpConfig;
33
+ /**
34
+ * An ARN of a Lambda function in valid ARN format. This can be the ARN of a Lambda function that exists in the current account or in another account.
35
+ */
14
36
  LambdaConfig?: LambdaConfig;
15
- MetricsConfig?: string;
37
+ MetricsConfig?: "DISABLED" | "ENABLED";
38
+ /**
39
+ * Friendly name for you to identify your AppSync data source after creation.
40
+ */
16
41
  Name: string;
42
+ /**
43
+ * AWS Region and Endpoints for an Amazon OpenSearch Service domain in your account.
44
+ */
17
45
  OpenSearchServiceConfig?: OpenSearchServiceConfig;
46
+ /**
47
+ * Relational Database configuration of the relational database data source.
48
+ */
18
49
  RelationalDatabaseConfig?: RelationalDatabaseConfig;
50
+ /**
51
+ * The AWS Identity and Access Management service role ARN for the data source. The system assumes this role when accessing the data source.
52
+ */
19
53
  ServiceRoleArn?: string;
54
+ /**
55
+ * The type of the data source.
56
+ */
20
57
  Type: string;
21
58
  };
22
59
  /**
@@ -24,15 +61,23 @@ export type AppSyncDataSourceProperties = {
24
61
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-datasource.html#aws-resource-appsync-datasource-return-values}
25
62
  */
26
63
  export type AppSyncDataSourceAttributes = {
64
+ /**
65
+ * The Amazon Resource Name (ARN) of the API key, such as arn:aws:appsync:us-east-1:123456789012:apis/graphqlapiid/datasources/datasourcename.
66
+ */
27
67
  DataSourceArn: string;
28
- Id: string;
29
68
  };
30
69
  /**
31
70
  * Type definition for `AWS::AppSync::DataSource.AuthorizationConfig`.
32
71
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-authorizationconfig.html}
33
72
  */
34
73
  export type AuthorizationConfig = {
74
+ /**
75
+ * The authorization type that the HTTP endpoint requires.
76
+ */
35
77
  AuthorizationType: string;
78
+ /**
79
+ * The AWS Identity and Access Management settings.
80
+ */
36
81
  AwsIamConfig?: AwsIamConfig;
37
82
  };
38
83
  /**
@@ -40,7 +85,13 @@ export type AuthorizationConfig = {
40
85
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-awsiamconfig.html}
41
86
  */
42
87
  export type AwsIamConfig = {
88
+ /**
89
+ * The signing Region for AWS Identity and Access Management authorization.
90
+ */
43
91
  SigningRegion?: string;
92
+ /**
93
+ * The signing service name for AWS Identity and Access Management authorization.
94
+ */
44
95
  SigningServiceName?: string;
45
96
  };
46
97
  /**
@@ -48,8 +99,17 @@ export type AwsIamConfig = {
48
99
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-deltasyncconfig.html}
49
100
  */
50
101
  export type DeltaSyncConfig = {
102
+ /**
103
+ * The number of minutes that an Item is stored in the data source.
104
+ */
51
105
  BaseTableTTL: string;
106
+ /**
107
+ * The Delta Sync table name.
108
+ */
52
109
  DeltaSyncTableName: string;
110
+ /**
111
+ * The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.
112
+ */
53
113
  DeltaSyncTableTTL: string;
54
114
  };
55
115
  /**
@@ -57,10 +117,25 @@ export type DeltaSyncConfig = {
57
117
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-dynamodbconfig.html}
58
118
  */
59
119
  export type DynamoDBConfig = {
120
+ /**
121
+ * The AWS Region.
122
+ */
60
123
  AwsRegion: string;
124
+ /**
125
+ * The DeltaSyncConfig for a versioned datasource.
126
+ */
61
127
  DeltaSyncConfig?: DeltaSyncConfig;
128
+ /**
129
+ * The table name.
130
+ */
62
131
  TableName: string;
132
+ /**
133
+ * Set to TRUE to use AWS Identity and Access Management with this data source.
134
+ */
63
135
  UseCallerCredentials?: boolean;
136
+ /**
137
+ * Set to TRUE to use Conflict Detection and Resolution with this data source.
138
+ */
64
139
  Versioned?: boolean;
65
140
  };
66
141
  /**
@@ -68,7 +143,13 @@ export type DynamoDBConfig = {
68
143
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-elasticsearchconfig.html}
69
144
  */
70
145
  export type ElasticsearchConfig = {
146
+ /**
147
+ * The AWS Region.
148
+ */
71
149
  AwsRegion: string;
150
+ /**
151
+ * The endpoint.
152
+ */
72
153
  Endpoint: string;
73
154
  };
74
155
  /**
@@ -76,6 +157,9 @@ export type ElasticsearchConfig = {
76
157
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-eventbridgeconfig.html}
77
158
  */
78
159
  export type EventBridgeConfig = {
160
+ /**
161
+ * ARN for the EventBridge bus.
162
+ */
79
163
  EventBusArn: string;
80
164
  };
81
165
  /**
@@ -83,7 +167,13 @@ export type EventBridgeConfig = {
83
167
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-httpconfig.html}
84
168
  */
85
169
  export type HttpConfig = {
170
+ /**
171
+ * The authorization configuration.
172
+ */
86
173
  AuthorizationConfig?: AuthorizationConfig;
174
+ /**
175
+ * The endpoint.
176
+ */
87
177
  Endpoint: string;
88
178
  };
89
179
  /**
@@ -91,6 +181,9 @@ export type HttpConfig = {
91
181
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-lambdaconfig.html}
92
182
  */
93
183
  export type LambdaConfig = {
184
+ /**
185
+ * The ARN for the Lambda function.
186
+ */
94
187
  LambdaFunctionArn: string;
95
188
  };
96
189
  /**
@@ -98,7 +191,13 @@ export type LambdaConfig = {
98
191
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-opensearchserviceconfig.html}
99
192
  */
100
193
  export type OpenSearchServiceConfig = {
194
+ /**
195
+ * The AWS Region.
196
+ */
101
197
  AwsRegion: string;
198
+ /**
199
+ * The endpoint.
200
+ */
102
201
  Endpoint: string;
103
202
  };
104
203
  /**
@@ -106,10 +205,25 @@ export type OpenSearchServiceConfig = {
106
205
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-rdshttpendpointconfig.html}
107
206
  */
108
207
  export type RdsHttpEndpointConfig = {
208
+ /**
209
+ * AWS Region for RDS HTTP endpoint.
210
+ */
109
211
  AwsRegion: string;
212
+ /**
213
+ * The ARN for database credentials stored in AWS Secrets Manager.
214
+ */
110
215
  AwsSecretStoreArn: string;
216
+ /**
217
+ * Logical database name.
218
+ */
111
219
  DatabaseName?: string;
220
+ /**
221
+ * Amazon RDS cluster Amazon Resource Name (ARN).
222
+ */
112
223
  DbClusterIdentifier: string;
224
+ /**
225
+ * Logical schema name.
226
+ */
113
227
  Schema?: string;
114
228
  };
115
229
  /**
@@ -117,7 +231,13 @@ export type RdsHttpEndpointConfig = {
117
231
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-relationaldatabaseconfig.html}
118
232
  */
119
233
  export type RelationalDatabaseConfig = {
234
+ /**
235
+ * Information about the Amazon RDS resource.
236
+ */
120
237
  RdsHttpEndpointConfig?: RdsHttpEndpointConfig;
238
+ /**
239
+ * The type of relational data source.
240
+ */
121
241
  RelationalDatabaseSourceType: string;
122
242
  };
123
243
  /**
@@ -12,6 +12,11 @@ export type QBusinessWebExperienceProperties = {
12
12
  */
13
13
  ApplicationId: string;
14
14
  IdentityProviderConfiguration?: IdentityProviderConfiguration;
15
+ /**
16
+ * @minLength `0`
17
+ * @maxLength `10`
18
+ */
19
+ Origins?: string[];
15
20
  /**
16
21
  * @minLength `0`
17
22
  * @maxLength `1284`
@@ -23,6 +23,11 @@ export type QuickSightAnalysisProperties = {
23
23
  * @minLength `1`
24
24
  */
25
25
  Errors?: AnalysisError[];
26
+ /**
27
+ * @minLength `0`
28
+ * @maxLength `10`
29
+ */
30
+ FolderArns?: string[];
26
31
  /**
27
32
  * <p>The descriptive name of the analysis.</p>
28
33
  * @minLength `1`
@@ -22,6 +22,11 @@ export type QuickSightDashboardProperties = {
22
22
  */
23
23
  DashboardPublishOptions?: DashboardPublishOptions;
24
24
  Definition?: DashboardVersionDefinition;
25
+ /**
26
+ * @minLength `0`
27
+ * @maxLength `10`
28
+ */
29
+ FolderArns?: string[];
25
30
  /**
26
31
  * @minLength `0`
27
32
  * @maxLength `5`
@@ -1,24 +1,60 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
3
  /**
4
- * Resource Type definition for AWS::Transfer::Server
4
+ * Definition of AWS::Transfer::Server Resource Type
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html}
6
6
  */
7
7
  export type TransferServerProperties = {
8
+ /**
9
+ * @minLength `0`
10
+ * @maxLength `1600`
11
+ */
8
12
  Certificate?: string;
9
- Domain?: string;
13
+ Domain?: Domain;
10
14
  EndpointDetails?: EndpointDetails;
11
- EndpointType?: string;
15
+ EndpointType?: EndpointType;
12
16
  IdentityProviderDetails?: IdentityProviderDetails;
13
- IdentityProviderType?: string;
17
+ IdentityProviderType?: IdentityProviderType;
18
+ /**
19
+ * @minLength `0`
20
+ * @maxLength `2048`
21
+ * @pattern `^(|arn:.*role/\S+)$`
22
+ */
14
23
  LoggingRole?: string;
24
+ /**
25
+ * @minLength `0`
26
+ * @maxLength `4096`
27
+ * @pattern `^[\x09-\x0D\x20-\x7E]*$`
28
+ */
15
29
  PostAuthenticationLoginBanner?: string;
30
+ /**
31
+ * @minLength `0`
32
+ * @maxLength `4096`
33
+ * @pattern `^[\x09-\x0D\x20-\x7E]*$`
34
+ */
16
35
  PreAuthenticationLoginBanner?: string;
17
36
  ProtocolDetails?: ProtocolDetails;
37
+ /**
38
+ * @minLength `1`
39
+ * @maxLength `4`
40
+ */
18
41
  Protocols?: Protocol[];
19
42
  S3StorageOptions?: S3StorageOptions;
43
+ /**
44
+ * @minLength `0`
45
+ * @maxLength `100`
46
+ * @pattern `^TransferSecurityPolicy-.+$`
47
+ */
20
48
  SecurityPolicyName?: string;
21
- StructuredLogDestinations?: StructuredLogDestination[];
49
+ /**
50
+ * @minLength `0`
51
+ * @maxLength `1`
52
+ */
53
+ StructuredLogDestinations?: string[];
54
+ /**
55
+ * @minLength `1`
56
+ * @maxLength `50`
57
+ */
22
58
  Tags?: Tag[];
23
59
  WorkflowDetails?: WorkflowDetails;
24
60
  };
@@ -27,14 +63,39 @@ export type TransferServerProperties = {
27
63
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html#aws-resource-transfer-server-return-values}
28
64
  */
29
65
  export type TransferServerAttributes = {
66
+ /**
67
+ * @minLength `20`
68
+ * @maxLength `1600`
69
+ * @pattern `^arn:\S+$`
70
+ */
30
71
  Arn: string;
72
+ /**
73
+ * The list of egress IP addresses of this server. These IP addresses are only relevant for servers that use the AS2 protocol. They are used for sending asynchronous MDNs. These IP addresses are assigned automatically when you create an AS2 server. Additionally, if you update an existing server and add the AS2 protocol, static IP addresses are assigned as well.
74
+ */
75
+ As2ServiceManagedEgressIpAddresses: string[];
76
+ /**
77
+ * @minLength `19`
78
+ * @maxLength `19`
79
+ * @pattern `^s-([0-9a-f]{17})$`
80
+ */
31
81
  ServerId: string;
32
82
  };
33
83
  /**
34
84
  * Type definition for `AWS::Transfer::Server.As2Transport`.
35
85
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-as2transport.html}
36
86
  */
37
- export type As2Transport = Record<string, any>;
87
+ export type As2Transport = "HTTP";
88
+ /**
89
+ * Type definition for `AWS::Transfer::Server.DirectoryListingOptimization`.
90
+ * Indicates whether optimization to directory listing on S3 servers is used. Disabled by default for compatibility.
91
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-directorylistingoptimization.html}
92
+ */
93
+ export type DirectoryListingOptimization = "ENABLED" | "DISABLED";
94
+ /**
95
+ * Type definition for `AWS::Transfer::Server.Domain`.
96
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-domain.html}
97
+ */
98
+ export type Domain = "S3" | "EFS";
38
99
  /**
39
100
  * Type definition for `AWS::Transfer::Server.EndpointDetails`.
40
101
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-endpointdetails.html}
@@ -43,61 +104,134 @@ export type EndpointDetails = {
43
104
  AddressAllocationIds?: string[];
44
105
  SecurityGroupIds?: string[];
45
106
  SubnetIds?: string[];
107
+ /**
108
+ * @minLength `22`
109
+ * @maxLength `22`
110
+ * @pattern `^vpce-[0-9a-f]{17}$`
111
+ */
46
112
  VpcEndpointId?: string;
47
113
  VpcId?: string;
48
114
  };
115
+ /**
116
+ * Type definition for `AWS::Transfer::Server.EndpointType`.
117
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-endpointtype.html}
118
+ */
119
+ export type EndpointType = "PUBLIC" | "VPC" | "VPC_ENDPOINT";
49
120
  /**
50
121
  * Type definition for `AWS::Transfer::Server.IdentityProviderDetails`.
51
122
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-identityproviderdetails.html}
52
123
  */
53
124
  export type IdentityProviderDetails = {
125
+ /**
126
+ * @minLength `12`
127
+ * @maxLength `12`
128
+ * @pattern `^d-[0-9a-f]{10}$`
129
+ */
54
130
  DirectoryId?: string;
131
+ /**
132
+ * @minLength `1`
133
+ * @maxLength `170`
134
+ * @pattern `^arn:[a-z-]+:lambda:.*$`
135
+ */
55
136
  Function?: string;
137
+ /**
138
+ * @minLength `20`
139
+ * @maxLength `2048`
140
+ * @pattern `^arn:.*role/\S+$`
141
+ */
56
142
  InvocationRole?: string;
57
- SftpAuthenticationMethods?: string;
143
+ SftpAuthenticationMethods?: SftpAuthenticationMethods;
144
+ /**
145
+ * @minLength `0`
146
+ * @maxLength `255`
147
+ */
58
148
  Url?: string;
59
149
  };
150
+ /**
151
+ * Type definition for `AWS::Transfer::Server.IdentityProviderType`.
152
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-identityprovidertype.html}
153
+ */
154
+ export type IdentityProviderType = "SERVICE_MANAGED" | "API_GATEWAY" | "AWS_DIRECTORY_SERVICE" | "AWS_LAMBDA";
60
155
  /**
61
156
  * Type definition for `AWS::Transfer::Server.Protocol`.
62
157
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-protocol.html}
63
158
  */
64
- export type Protocol = Record<string, any>;
159
+ export type Protocol = "SFTP" | "FTP" | "FTPS" | "AS2";
65
160
  /**
66
161
  * Type definition for `AWS::Transfer::Server.ProtocolDetails`.
67
162
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-protocoldetails.html}
68
163
  */
69
164
  export type ProtocolDetails = {
165
+ /**
166
+ * @minLength `1`
167
+ * @maxLength `1`
168
+ */
70
169
  As2Transports?: As2Transport[];
170
+ /**
171
+ * @minLength `0`
172
+ * @maxLength `15`
173
+ */
71
174
  PassiveIp?: string;
72
- SetStatOption?: string;
73
- TlsSessionResumptionMode?: string;
175
+ SetStatOption?: SetStatOption;
176
+ TlsSessionResumptionMode?: TlsSessionResumptionMode;
74
177
  };
75
178
  /**
76
179
  * Type definition for `AWS::Transfer::Server.S3StorageOptions`.
77
180
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-s3storageoptions.html}
78
181
  */
79
182
  export type S3StorageOptions = {
80
- DirectoryListingOptimization?: string;
183
+ /**
184
+ * Indicates whether optimization to directory listing on S3 servers is used. Disabled by default for compatibility.
185
+ */
186
+ DirectoryListingOptimization?: DirectoryListingOptimization;
81
187
  };
82
188
  /**
83
- * Type definition for `AWS::Transfer::Server.StructuredLogDestination`.
84
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-structuredlogdestination.html}
189
+ * Type definition for `AWS::Transfer::Server.SetStatOption`.
190
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-setstatoption.html}
191
+ */
192
+ export type SetStatOption = "DEFAULT" | "ENABLE_NO_OP";
193
+ /**
194
+ * Type definition for `AWS::Transfer::Server.SftpAuthenticationMethods`.
195
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-sftpauthenticationmethods.html}
85
196
  */
86
- export type StructuredLogDestination = Record<string, any>;
197
+ export type SftpAuthenticationMethods = "PASSWORD" | "PUBLIC_KEY" | "PUBLIC_KEY_OR_PASSWORD" | "PUBLIC_KEY_AND_PASSWORD";
87
198
  /**
88
199
  * Type definition for `AWS::Transfer::Server.Tag`.
89
200
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-tag.html}
90
201
  */
91
202
  export type Tag = {
203
+ /**
204
+ * @minLength `0`
205
+ * @maxLength `128`
206
+ */
92
207
  Key: string;
208
+ /**
209
+ * @minLength `0`
210
+ * @maxLength `256`
211
+ */
93
212
  Value: string;
94
213
  };
214
+ /**
215
+ * Type definition for `AWS::Transfer::Server.TlsSessionResumptionMode`.
216
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-tlssessionresumptionmode.html}
217
+ */
218
+ export type TlsSessionResumptionMode = "DISABLED" | "ENABLED" | "ENFORCED";
95
219
  /**
96
220
  * Type definition for `AWS::Transfer::Server.WorkflowDetail`.
97
221
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-workflowdetail.html}
98
222
  */
99
223
  export type WorkflowDetail = {
224
+ /**
225
+ * @minLength `20`
226
+ * @maxLength `2048`
227
+ * @pattern `^arn:.*role/\S+$`
228
+ */
100
229
  ExecutionRole: string;
230
+ /**
231
+ * @minLength `19`
232
+ * @maxLength `19`
233
+ * @pattern `^w-([a-z0-9]{17})$`
234
+ */
101
235
  WorkflowId: string;
102
236
  };
103
237
  /**
@@ -105,11 +239,19 @@ export type WorkflowDetail = {
105
239
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-workflowdetails.html}
106
240
  */
107
241
  export type WorkflowDetails = {
242
+ /**
243
+ * @minLength `0`
244
+ * @maxLength `1`
245
+ */
108
246
  OnPartialUpload?: WorkflowDetail[];
247
+ /**
248
+ * @minLength `0`
249
+ * @maxLength `1`
250
+ */
109
251
  OnUpload?: WorkflowDetail[];
110
252
  };
111
253
  /**
112
- * Resource Type definition for AWS::Transfer::Server
254
+ * Definition of AWS::Transfer::Server Resource Type
113
255
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html}
114
256
  */
115
257
  export declare class TransferServer extends $Resource<"AWS::Transfer::Server", TransferServerProperties, TransferServerAttributes> {
@@ -1,6 +1,6 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * Resource Type definition for AWS::Transfer::Server
3
+ * Definition of AWS::Transfer::Server Resource Type
4
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-server.html}
5
5
  */
6
6
  export class TransferServer extends $Resource {
@@ -0,0 +1,99 @@
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::AIPrompt Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html}
6
+ */
7
+ export type WisdomAIPromptProperties = {
8
+ ApiFormat: AIPromptAPIFormat;
9
+ /**
10
+ * @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}$`
11
+ */
12
+ AssistantId?: string;
13
+ /**
14
+ * @minLength `1`
15
+ * @maxLength `255`
16
+ * @pattern `^[a-zA-Z0-9\s_.,-]+`
17
+ */
18
+ Description?: string;
19
+ /**
20
+ * @minLength `1`
21
+ * @maxLength `2048`
22
+ */
23
+ ModelId: string;
24
+ /**
25
+ * @minLength `1`
26
+ * @maxLength `255`
27
+ * @pattern `^[a-zA-Z0-9\s_.,-]+`
28
+ */
29
+ Name?: string;
30
+ Tags?: Tags;
31
+ TemplateConfiguration: AIPromptTemplateConfiguration;
32
+ TemplateType: AIPromptTemplateType;
33
+ Type: AIPromptType;
34
+ };
35
+ /**
36
+ * Attribute type definition for `AWS::Wisdom::AIPrompt`.
37
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#aws-resource-wisdom-aiprompt-return-values}
38
+ */
39
+ export type WisdomAIPromptAttributes = {
40
+ /**
41
+ * @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}$`
42
+ */
43
+ AIPromptArn: string;
44
+ /**
45
+ * @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}$`
46
+ */
47
+ AIPromptId: string;
48
+ /**
49
+ * @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}$`
50
+ */
51
+ AssistantArn: string;
52
+ };
53
+ /**
54
+ * Type definition for `AWS::Wisdom::AIPrompt.AIPromptAPIFormat`.
55
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-aipromptapiformat.html}
56
+ */
57
+ export type AIPromptAPIFormat = "ANTHROPIC_CLAUDE_MESSAGES" | "ANTHROPIC_CLAUDE_TEXT_COMPLETIONS";
58
+ /**
59
+ * Type definition for `AWS::Wisdom::AIPrompt.AIPromptTemplateConfiguration`.
60
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-aiprompttemplateconfiguration.html}
61
+ */
62
+ export type AIPromptTemplateConfiguration = {
63
+ TextFullAIPromptEditTemplateConfiguration: TextFullAIPromptEditTemplateConfiguration;
64
+ };
65
+ /**
66
+ * Type definition for `AWS::Wisdom::AIPrompt.AIPromptTemplateType`.
67
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-aiprompttemplatetype.html}
68
+ */
69
+ export type AIPromptTemplateType = "TEXT";
70
+ /**
71
+ * Type definition for `AWS::Wisdom::AIPrompt.AIPromptType`.
72
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-aiprompttype.html}
73
+ */
74
+ export type AIPromptType = "ANSWER_GENERATION" | "INTENT_LABELING_GENERATION" | "QUERY_REFORMULATION";
75
+ /**
76
+ * Type definition for `AWS::Wisdom::AIPrompt.Tags`.
77
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-tags.html}
78
+ */
79
+ export type Tags = Record<string, string>;
80
+ /**
81
+ * Type definition for `AWS::Wisdom::AIPrompt.TextFullAIPromptEditTemplateConfiguration`.
82
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiprompt-textfullaipromptedittemplateconfiguration.html}
83
+ */
84
+ export type TextFullAIPromptEditTemplateConfiguration = {
85
+ /**
86
+ * @minLength `1`
87
+ * @maxLength `200000`
88
+ */
89
+ Text: string;
90
+ };
91
+ /**
92
+ * Definition of AWS::Wisdom::AIPrompt Resource Type
93
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html}
94
+ */
95
+ export declare class WisdomAIPrompt extends $Resource<"AWS::Wisdom::AIPrompt", WisdomAIPromptProperties, WisdomAIPromptAttributes> {
96
+ static readonly Type = "AWS::Wisdom::AIPrompt";
97
+ constructor(logicalId: string, properties: WisdomAIPromptProperties, options?: $ResourceOptions);
98
+ }
99
+ //# sourceMappingURL=AWS-Wisdom-AIPrompt.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::AIPrompt Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html}
5
+ */
6
+ export class WisdomAIPrompt extends $Resource {
7
+ static Type = "AWS::Wisdom::AIPrompt";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, WisdomAIPrompt.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-Wisdom-AIPrompt.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.167",
3
+ "version": "0.1.168",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },