@awboost/cfn-resource-types 0.1.166 → 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
  /**
@@ -75,6 +75,10 @@ export type ActionDeclaration = {
75
75
  * Represents information about an action type.
76
76
  */
77
77
  ActionTypeId: ActionTypeId;
78
+ /**
79
+ * The shell commands to run with your compute action in CodePipeline.
80
+ */
81
+ Commands?: string[];
78
82
  /**
79
83
  * The action's configuration. These are key-value pairs that specify input values for an action.
80
84
  */
@@ -89,6 +93,10 @@ export type ActionDeclaration = {
89
93
  */
90
94
  Namespace?: string;
91
95
  OutputArtifacts?: OutputArtifact[];
96
+ /**
97
+ * The list of variables that are to be exported from the compute action.
98
+ */
99
+ OutputVariables?: string[];
92
100
  /**
93
101
  * The action declaration's AWS Region, such as us-east-1.
94
102
  */
@@ -116,7 +124,7 @@ export type ActionTypeId = {
116
124
  /**
117
125
  * A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the values below.
118
126
  */
119
- Category: "Source" | "Build" | "Test" | "Deploy" | "Invoke" | "Approval";
127
+ Category: "Source" | "Build" | "Test" | "Deploy" | "Invoke" | "Approval" | "Compute";
120
128
  /**
121
129
  * The creator of the action being called. There are three valid values for the Owner field in the action category section within your pipeline structure: AWS, ThirdParty, and Custom.
122
130
  */
@@ -345,6 +353,10 @@ export type InputArtifact = {
345
353
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-outputartifact.html}
346
354
  */
347
355
  export type OutputArtifact = {
356
+ /**
357
+ * The files that you want to associate with the output artifact that will be exported from the compute action.
358
+ */
359
+ Files?: string[];
348
360
  /**
349
361
  * The name of the output of an artifact, such as "My App".
350
362
  */
@@ -18,10 +18,31 @@ export type EC2VPNConnectionProperties = {
18
18
  Default: ``false``
19
19
  */
20
20
  EnableAcceleration?: boolean;
21
+ /**
22
+ * The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
23
+ Default: ``0.0.0.0/0``
24
+ */
21
25
  LocalIpv4NetworkCidr?: string;
26
+ /**
27
+ * The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
28
+ Default: ``::/0``
29
+ */
22
30
  LocalIpv6NetworkCidr?: string;
31
+ /**
32
+ * The type of IPv4 address assigned to the outside interface of the customer gateway device.
33
+ Valid values: ``PrivateIpv4`` | ``PublicIpv4``
34
+ Default: ``PublicIpv4``
35
+ */
23
36
  OutsideIpAddressType?: string;
37
+ /**
38
+ * The IPv4 CIDR on the AWS side of the VPN connection.
39
+ Default: ``0.0.0.0/0``
40
+ */
24
41
  RemoteIpv4NetworkCidr?: string;
42
+ /**
43
+ * The IPv6 CIDR on the AWS side of the VPN connection.
44
+ Default: ``::/0``
45
+ */
25
46
  RemoteIpv6NetworkCidr?: string;
26
47
  /**
27
48
  * Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
@@ -37,7 +58,15 @@ export type EC2VPNConnectionProperties = {
37
58
  You must specify either ``TransitGatewayId`` or ``VpnGatewayId``, but not both.
38
59
  */
39
60
  TransitGatewayId?: string;
61
+ /**
62
+ * The transit gateway attachment ID to use for the VPN tunnel.
63
+ Required if ``OutsideIpAddressType`` is set to ``PrivateIpv4``.
64
+ */
40
65
  TransportTransitGatewayAttachmentId?: string;
66
+ /**
67
+ * Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.
68
+ Default: ``ipv4``
69
+ */
41
70
  TunnelInsideIpVersion?: string;
42
71
  /**
43
72
  * The type of VPN connection.
@@ -60,6 +89,64 @@ export type EC2VPNConnectionProperties = {
60
89
  export type EC2VPNConnectionAttributes = {
61
90
  VpnConnectionId: string;
62
91
  };
92
+ /**
93
+ * Type definition for `AWS::EC2::VPNConnection.CloudwatchLogOptionsSpecification`.
94
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-cloudwatchlogoptionsspecification.html}
95
+ */
96
+ export type CloudwatchLogOptionsSpecification = {
97
+ LogEnabled?: boolean;
98
+ LogGroupArn?: string;
99
+ LogOutputFormat?: "json" | "text";
100
+ };
101
+ /**
102
+ * Type definition for `AWS::EC2::VPNConnection.IKEVersionsRequestListValue`.
103
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-ikeversionsrequestlistvalue.html}
104
+ */
105
+ export type IKEVersionsRequestListValue = {
106
+ Value?: "ikev1" | "ikev2";
107
+ };
108
+ /**
109
+ * Type definition for `AWS::EC2::VPNConnection.Phase1DHGroupNumbersRequestListValue`.
110
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue.html}
111
+ */
112
+ export type Phase1DHGroupNumbersRequestListValue = {
113
+ Value?: 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
114
+ };
115
+ /**
116
+ * Type definition for `AWS::EC2::VPNConnection.Phase1EncryptionAlgorithmsRequestListValue`.
117
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1encryptionalgorithmsrequestlistvalue.html}
118
+ */
119
+ export type Phase1EncryptionAlgorithmsRequestListValue = {
120
+ Value?: "AES128" | "AES256" | "AES128-GCM-16" | "AES256-GCM-16";
121
+ };
122
+ /**
123
+ * Type definition for `AWS::EC2::VPNConnection.Phase1IntegrityAlgorithmsRequestListValue`.
124
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase1integrityalgorithmsrequestlistvalue.html}
125
+ */
126
+ export type Phase1IntegrityAlgorithmsRequestListValue = {
127
+ Value?: "SHA1" | "SHA2-256" | "SHA2-384" | "SHA2-512";
128
+ };
129
+ /**
130
+ * Type definition for `AWS::EC2::VPNConnection.Phase2DHGroupNumbersRequestListValue`.
131
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2dhgroupnumbersrequestlistvalue.html}
132
+ */
133
+ export type Phase2DHGroupNumbersRequestListValue = {
134
+ Value?: 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
135
+ };
136
+ /**
137
+ * Type definition for `AWS::EC2::VPNConnection.Phase2EncryptionAlgorithmsRequestListValue`.
138
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2encryptionalgorithmsrequestlistvalue.html}
139
+ */
140
+ export type Phase2EncryptionAlgorithmsRequestListValue = {
141
+ Value?: "AES128" | "AES256" | "AES128-GCM-16" | "AES256-GCM-16";
142
+ };
143
+ /**
144
+ * Type definition for `AWS::EC2::VPNConnection.Phase2IntegrityAlgorithmsRequestListValue`.
145
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-phase2integrityalgorithmsrequestlistvalue.html}
146
+ */
147
+ export type Phase2IntegrityAlgorithmsRequestListValue = {
148
+ Value?: "SHA1" | "SHA2-256" | "SHA2-384" | "SHA2-512";
149
+ };
63
150
  /**
64
151
  * Type definition for `AWS::EC2::VPNConnection.Tag`.
65
152
  * Specifies a tag. For more information, see [Resource tags](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
@@ -75,17 +162,63 @@ export type Tag = {
75
162
  */
76
163
  Value: string;
77
164
  };
165
+ /**
166
+ * Type definition for `AWS::EC2::VPNConnection.VpnTunnelLogOptionsSpecification`.
167
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunnellogoptionsspecification.html}
168
+ */
169
+ export type VpnTunnelLogOptionsSpecification = {
170
+ CloudwatchLogOptions?: CloudwatchLogOptionsSpecification;
171
+ };
78
172
  /**
79
173
  * Type definition for `AWS::EC2::VPNConnection.VpnTunnelOptionsSpecification`.
80
174
  * The tunnel options for a single VPN tunnel.
81
175
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-vpnconnection-vpntunneloptionsspecification.html}
82
176
  */
83
177
  export type VpnTunnelOptionsSpecification = {
178
+ DPDTimeoutAction?: "clear" | "none" | "restart";
179
+ /**
180
+ * @min `30`
181
+ */
182
+ DPDTimeoutSeconds?: number;
183
+ EnableTunnelLifecycleControl?: boolean;
184
+ IKEVersions?: IKEVersionsRequestListValue[];
185
+ LogOptions?: VpnTunnelLogOptionsSpecification;
186
+ Phase1DHGroupNumbers?: Phase1DHGroupNumbersRequestListValue[];
187
+ Phase1EncryptionAlgorithms?: Phase1EncryptionAlgorithmsRequestListValue[];
188
+ Phase1IntegrityAlgorithms?: Phase1IntegrityAlgorithmsRequestListValue[];
189
+ /**
190
+ * @min `900`
191
+ * @max `28800`
192
+ */
193
+ Phase1LifetimeSeconds?: number;
194
+ Phase2DHGroupNumbers?: Phase2DHGroupNumbersRequestListValue[];
195
+ Phase2EncryptionAlgorithms?: Phase2EncryptionAlgorithmsRequestListValue[];
196
+ Phase2IntegrityAlgorithms?: Phase2IntegrityAlgorithmsRequestListValue[];
197
+ /**
198
+ * @min `900`
199
+ * @max `3600`
200
+ */
201
+ Phase2LifetimeSeconds?: number;
84
202
  /**
85
203
  * The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.
86
204
  Constraints: Allowed characters are alphanumeric characters, periods (.), and underscores (_). Must be between 8 and 64 characters in length and cannot start with zero (0).
87
205
  */
88
206
  PreSharedKey?: string;
207
+ /**
208
+ * @min `0`
209
+ * @max `100`
210
+ */
211
+ RekeyFuzzPercentage?: number;
212
+ /**
213
+ * @min `60`
214
+ */
215
+ RekeyMarginTimeSeconds?: number;
216
+ /**
217
+ * @min `64`
218
+ * @max `2048`
219
+ */
220
+ ReplayWindowSize?: number;
221
+ StartupAction?: "add" | "start";
89
222
  /**
90
223
  * The range of inside IP addresses for the tunnel. Any specified CIDR blocks must be unique across all VPN connections that use the same virtual private gateway.
91
224
  Constraints: A size /30 CIDR block from the ``169.254.0.0/16`` range. The following CIDR blocks are reserved and cannot be used:
@@ -98,6 +231,7 @@ export type VpnTunnelOptionsSpecification = {
98
231
  + ``169.254.169.252/30``
99
232
  */
100
233
  TunnelInsideCidr?: string;
234
+ TunnelInsideIpv6Cidr?: string;
101
235
  };
102
236
  /**
103
237
  * Resource type definition for `AWS::EC2::VPNConnection`.
@@ -26,6 +26,17 @@ export type GameLiftContainerGroupDefinitionProperties = {
26
26
  * Specifies whether the container group includes replica or daemon containers.
27
27
  */
28
28
  SchedulingStrategy?: "REPLICA" | "DAEMON";
29
+ /**
30
+ * A specific ContainerGroupDefinition version to be updated
31
+ * @min `0`
32
+ */
33
+ SourceVersionNumber?: number;
34
+ /**
35
+ * A collection of support container definitions that define the containers in this group.
36
+ * @minLength `1`
37
+ * @maxLength `10`
38
+ */
39
+ SupportContainerDefinitions?: any[];
29
40
  /**
30
41
  * An array of key-value pairs to apply to this resource.
31
42
  * @minLength `0`
@@ -73,6 +84,14 @@ export type GameLiftContainerGroupDefinitionAttributes = {
73
84
  * A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example "1469498468.057").
74
85
  */
75
86
  CreationTime: string;
87
+ /**
88
+ * A string indicating ContainerGroupDefinition status.
89
+ */
90
+ Status: "READY" | "COPYING" | "FAILED";
91
+ /**
92
+ * A string indicating the reason for ContainerGroupDefinition status.
93
+ */
94
+ StatusReason: string;
76
95
  };
77
96
  /**
78
97
  * Type definition for `AWS::GameLift::ContainerGroupDefinition.ContainerDefinition`.
@@ -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`
@@ -273,16 +273,13 @@ export type RDSDBInstanceProperties = {
273
273
  + ``CharacterSetName``
274
274
  + ``DBClusterIdentifier``
275
275
  + ``DBName``
276
- + ``DeleteAutomatedBackups``
277
276
  + ``KmsKeyId``
278
277
  + ``MasterUsername``
279
278
  + ``MasterUserPassword``
280
- + ``PerformanceInsightsKMSKeyId``
281
- + ``PerformanceInsightsRetentionPeriod``
282
279
  + ``PromotionTier``
283
280
  + ``SourceDBInstanceIdentifier``
284
281
  + ``SourceRegion``
285
- + ``StorageEncrypted`` (for an encrypted snapshot)
282
+ + ``StorageEncrypted`` (for an unencrypted snapshot)
286
283
  + ``Timezone``
287
284
 
288
285
  *Amazon Aurora*
@@ -5,12 +5,6 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html}
6
6
  */
7
7
  export type Route53ResolverResolverRuleProperties = {
8
- /**
9
- * The name server domain for queries to be delegated to if a query matches the delegation record.
10
- * @minLength `1`
11
- * @maxLength `256`
12
- */
13
- DelegationRecord?: string;
14
8
  /**
15
9
  * DNS queries for this domain name are forwarded to the IP addresses that are specified in TargetIps
16
10
  * @minLength `1`
@@ -97,6 +91,12 @@ export type TargetAddress = {
97
91
  * The protocol that you want to use to forward DNS queries.
98
92
  */
99
93
  Protocol?: "Do53" | "DoH";
94
+ /**
95
+ * The SNI of the target name servers for DoH/DoH-FIPS outbound endpoints
96
+ * @minLength `0`
97
+ * @maxLength `255`
98
+ */
99
+ ServerNameIndication?: string;
100
100
  };
101
101
  /**
102
102
  * Resource Type definition for AWS::Route53Resolver::ResolverRule
@@ -68,18 +68,18 @@ export type SQSQueueProperties = {
68
68
  ReceiveMessageWaitTimeSeconds?: number;
69
69
  /**
70
70
  * The string that includes the parameters for the permissions for the dead-letter queue redrive permission and which source queues can specify dead-letter queues as a JSON object. The parameters are as follows:
71
- + ``redrivePermission``: The permission type that defines which source queues can specify the current queue as the dead-letter queue. Valid values are:
72
- + ``allowAll``: (Default) Any source queues in this AWS account in the same Region can specify this queue as the dead-letter queue.
73
- + ``denyAll``: No source queues can specify this queue as the dead-letter queue.
74
- + ``byQueue``: Only queues specified by the ``sourceQueueArns`` parameter can specify this queue as the dead-letter queue.
71
+ + ``redrivePermission``: The permission type that defines which source queues can specify the current queue as the dead-letter queue. Valid values are:
72
+ + ``allowAll``: (Default) Any source queues in this AWS account in the same Region can specify this queue as the dead-letter queue.
73
+ + ``denyAll``: No source queues can specify this queue as the dead-letter queue.
74
+ + ``byQueue``: Only queues specified by the ``sourceQueueArns`` parameter can specify this queue as the dead-letter queue.
75
75
 
76
- + ``sourceQueueArns``: The Amazon Resource Names (ARN)s of the source queues that can specify this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the ``redrivePermission`` parameter is set to ``byQueue``. You can specify up to 10 source queue ARNs. To allow more than 10 source queues to specify dead-letter queues, set the ``redrivePermission`` parameter to ``allowAll``.
76
+ + ``sourceQueueArns``: The Amazon Resource Names (ARN)s of the source queues that can specify this queue as the dead-letter queue and redrive messages. You can specify this parameter only when the ``redrivePermission`` parameter is set to ``byQueue``. You can specify up to 10 source queue ARNs. To allow more than 10 source queues to specify dead-letter queues, set the ``redrivePermission`` parameter to ``allowAll``.
77
77
  */
78
78
  RedriveAllowPolicy?: Record<string, any> | string;
79
79
  /**
80
80
  * The string that includes the parameters for the dead-letter queue functionality of the source queue as a JSON object. The parameters are as follows:
81
- + ``deadLetterTargetArn``: The Amazon Resource Name (ARN) of the dead-letter queue to which SQS moves messages after the value of ``maxReceiveCount`` is exceeded.
82
- + ``maxReceiveCount``: The number of times a message is delivered to the source queue before being moved to the dead-letter queue. When the ``ReceiveCount`` for a message exceeds the ``maxReceiveCount`` for a queue, SQS moves the message to the dead-letter-queue.
81
+ + ``deadLetterTargetArn``: The Amazon Resource Name (ARN) of the dead-letter queue to which SQS moves messages after the value of ``maxReceiveCount`` is exceeded.
82
+ + ``maxReceiveCount``: The number of times a message is received by a consumer of the source queue before being moved to the dead-letter queue. When the ``ReceiveCount`` for a message exceeds the ``maxReceiveCount`` for a queue, SQS moves the message to the dead-letter-queue.
83
83
 
84
84
  The dead-letter queue of a FIFO queue must also be a FIFO queue. Similarly, the dead-letter queue of a standard queue must also be a standard queue.
85
85
  *JSON*
@@ -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.166",
3
+ "version": "0.1.168",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },