@awboost/cfn-resource-types 0.1.67 → 0.1.69

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.
@@ -95,7 +95,7 @@ export type CrlConfiguration = {
95
95
  */
96
96
  CrlDistributionPointExtensionConfiguration?: CrlDistributionPointExtensionConfiguration;
97
97
  CustomCname?: string;
98
- Enabled?: boolean;
98
+ Enabled: boolean;
99
99
  ExpirationInDays?: number;
100
100
  S3BucketName?: string;
101
101
  S3ObjectAcl?: string;
@@ -141,7 +141,7 @@ export type CustomAttribute = {
141
141
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-edipartyname.html}
142
142
  */
143
143
  export type EdiPartyName = {
144
- NameAssigner: string;
144
+ NameAssigner?: string;
145
145
  PartyName: string;
146
146
  };
147
147
  /**
@@ -205,7 +205,7 @@ export type KeyUsage = {
205
205
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-ocspconfiguration.html}
206
206
  */
207
207
  export type OcspConfiguration = {
208
- Enabled?: boolean;
208
+ Enabled: boolean;
209
209
  OcspCustomCname?: string;
210
210
  };
211
211
  /**
@@ -265,7 +265,7 @@ export type Subject = {
265
265
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-tag.html}
266
266
  */
267
267
  export type Tag = {
268
- Key?: string;
268
+ Key: string;
269
269
  Value?: string;
270
270
  };
271
271
  /**
@@ -5,6 +5,10 @@ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrock-datasource.html}
6
6
  */
7
7
  export type BedrockDataSourceProperties = {
8
+ /**
9
+ * The deletion policy for the data source.
10
+ */
11
+ DataDeletionPolicy?: DataDeletionPolicy;
8
12
  /**
9
13
  * Specifies a raw data source location to ingest.
10
14
  */
@@ -52,6 +56,11 @@ export type BedrockDataSourceAttributes = {
52
56
  * The status of a data source.
53
57
  */
54
58
  DataSourceStatus: DataSourceStatus;
59
+ /**
60
+ * The details of the failure reasons related to the data source.
61
+ * @maxLength `2048`
62
+ */
63
+ FailureReasons: string[];
55
64
  /**
56
65
  * The time at which the knowledge base was last updated.
57
66
  */
@@ -78,6 +87,12 @@ export type ChunkingConfiguration = {
78
87
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-chunkingstrategy.html}
79
88
  */
80
89
  export type ChunkingStrategy = "FIXED_SIZE" | "NONE";
90
+ /**
91
+ * Type definition for `AWS::Bedrock::DataSource.DataDeletionPolicy`.
92
+ * The deletion policy for the data source.
93
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-datadeletionpolicy.html}
94
+ */
95
+ export type DataDeletionPolicy = "RETAIN" | "DELETE";
81
96
  /**
82
97
  * Type definition for `AWS::Bedrock::DataSource.DataSourceConfiguration`.
83
98
  * Specifies a raw data source location to ingest.
@@ -98,7 +113,7 @@ export type DataSourceConfiguration = {
98
113
  * The status of a data source.
99
114
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-datasourcestatus.html}
100
115
  */
101
- export type DataSourceStatus = "AVAILABLE" | "DELETING";
116
+ export type DataSourceStatus = "AVAILABLE" | "DELETING" | "DELETE_UNSUCCESSFUL";
102
117
  /**
103
118
  * Type definition for `AWS::Bedrock::DataSource.DataSourceType`.
104
119
  * The type of the data source location.
@@ -136,6 +151,13 @@ export type S3DataSourceConfiguration = {
136
151
  * @pattern `^arn:aws(|-cn|-us-gov):s3:::[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$`
137
152
  */
138
153
  BucketArn: string;
154
+ /**
155
+ * The account ID for the owner of the S3 bucket.
156
+ * @minLength `12`
157
+ * @maxLength `12`
158
+ * @pattern `^[0-9]{12}$`
159
+ */
160
+ BucketOwnerAccountId?: string;
139
161
  /**
140
162
  * A list of S3 prefixes that define the object containing the data sources.
141
163
  * @minLength `1`
@@ -90,7 +90,7 @@ export type KnowledgeBaseConfiguration = {
90
90
  * The status of a knowledge base.
91
91
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-knowledgebasestatus.html}
92
92
  */
93
- export type KnowledgeBaseStatus = "CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED";
93
+ export type KnowledgeBaseStatus = "CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED" | "DELETE_UNSUCCESSFUL";
94
94
  /**
95
95
  * Type definition for `AWS::Bedrock::KnowledgeBase.KnowledgeBaseStorageType`.
96
96
  * The storage type of a knowledge base.
@@ -1,28 +1,39 @@
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
- * The AWS::EC2::KeyPair creates an SSH key pair
4
+ * Resource type definition for `AWS::EC2::KeyPair`.
5
+ * Specifies a key pair for use with an EC2long instance as follows:
6
+ + To import an existing key pair, include the ``PublicKeyMaterial`` property.
7
+ + To create a new key pair, omit the ``PublicKeyMaterial`` property.
8
+
9
+ When you import an existing key pair, you specify the public key material for the key. We assume that you have the private key material for the key. CFNlong does not create or return the private key material when you import a key pair.
10
+ When you create a new key pair, the private key is saved to SYSlong Parameter Store, using a parameter with the following name: ``/ec2/keypair/{key_pair_id}``. For more information about retrieving private key, and the required permissions, see [Create a key pair using](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html#create-key-pair-cloudformation) in the *User Guide*.
11
+ When CFN deletes a key pair that was created or imported by a stack, it also deletes the parameter that was used to store the private key material in Parameter Store.
5
12
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-keypair.html}
6
13
  */
7
14
  export type EC2KeyPairProperties = {
8
15
  /**
9
- * The format of the private key
10
- */
16
+ * The format of the key pair.
17
+ Default: ``pem``
18
+ */
11
19
  KeyFormat?: "pem" | "ppk";
12
20
  /**
13
- * The name of the SSH key pair
14
- */
21
+ * A unique name for the key pair.
22
+ Constraints: Up to 255 ASCII characters
23
+ */
15
24
  KeyName: string;
16
25
  /**
17
- * The crypto-system used to generate a key pair.
18
- */
26
+ * The type of key pair. Note that ED25519 keys are not supported for Windows instances.
27
+ If the ``PublicKeyMaterial`` property is specified, the ``KeyType`` property is ignored, and the key type is inferred from the ``PublicKeyMaterial`` value.
28
+ Default: ``rsa``
29
+ */
19
30
  KeyType?: "rsa" | "ed25519";
20
31
  /**
21
- * Plain text public key to import
32
+ * The public key material. The ``PublicKeyMaterial`` property is used to import a key pair. If this property is not specified, then a new key pair will be created.
22
33
  */
23
34
  PublicKeyMaterial?: string;
24
35
  /**
25
- * An array of key-value pairs to apply to this resource.
36
+ * The tags to apply to the key pair.
26
37
  */
27
38
  Tags?: Tag[];
28
39
  };
@@ -31,36 +42,37 @@ export type EC2KeyPairProperties = {
31
42
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-keypair.html#aws-resource-ec2-keypair-return-values}
32
43
  */
33
44
  export type EC2KeyPairAttributes = {
34
- /**
35
- * A short sequence of bytes used for public key verification
36
- */
37
45
  KeyFingerprint: string;
38
- /**
39
- * An AWS generated ID for the key pair
40
- */
41
46
  KeyPairId: string;
42
47
  };
43
48
  /**
44
49
  * Type definition for `AWS::EC2::KeyPair.Tag`.
45
- * A key-value pair to associate with a resource.
50
+ * Specifies a tag. For more information, see [Add tags to a resource](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#cloudformation-add-tag-specifications).
46
51
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-keypair-tag.html}
47
52
  */
48
53
  export type Tag = {
49
54
  /**
50
- * The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
55
+ * The tag key.
51
56
  * @minLength `1`
52
57
  * @maxLength `128`
53
58
  */
54
59
  Key: string;
55
60
  /**
56
- * The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
61
+ * The tag value.
57
62
  * @minLength `0`
58
63
  * @maxLength `256`
59
64
  */
60
65
  Value: string;
61
66
  };
62
67
  /**
63
- * The AWS::EC2::KeyPair creates an SSH key pair
68
+ * Resource type definition for `AWS::EC2::KeyPair`.
69
+ * Specifies a key pair for use with an EC2long instance as follows:
70
+ + To import an existing key pair, include the ``PublicKeyMaterial`` property.
71
+ + To create a new key pair, omit the ``PublicKeyMaterial`` property.
72
+
73
+ When you import an existing key pair, you specify the public key material for the key. We assume that you have the private key material for the key. CFNlong does not create or return the private key material when you import a key pair.
74
+ When you create a new key pair, the private key is saved to SYSlong Parameter Store, using a parameter with the following name: ``/ec2/keypair/{key_pair_id}``. For more information about retrieving private key, and the required permissions, see [Create a key pair using](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html#create-key-pair-cloudformation) in the *User Guide*.
75
+ When CFN deletes a key pair that was created or imported by a stack, it also deletes the parameter that was used to store the private key material in Parameter Store.
64
76
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-keypair.html}
65
77
  */
66
78
  export declare class EC2KeyPair extends $Resource<"AWS::EC2::KeyPair", EC2KeyPairProperties, EC2KeyPairAttributes> {
@@ -1,6 +1,13 @@
1
1
  import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
2
  /**
3
- * The AWS::EC2::KeyPair creates an SSH key pair
3
+ * Resource type definition for `AWS::EC2::KeyPair`.
4
+ * Specifies a key pair for use with an EC2long instance as follows:
5
+ + To import an existing key pair, include the ``PublicKeyMaterial`` property.
6
+ + To create a new key pair, omit the ``PublicKeyMaterial`` property.
7
+
8
+ When you import an existing key pair, you specify the public key material for the key. We assume that you have the private key material for the key. CFNlong does not create or return the private key material when you import a key pair.
9
+ When you create a new key pair, the private key is saved to SYSlong Parameter Store, using a parameter with the following name: ``/ec2/keypair/{key_pair_id}``. For more information about retrieving private key, and the required permissions, see [Create a key pair using](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html#create-key-pair-cloudformation) in the *User Guide*.
10
+ When CFN deletes a key pair that was created or imported by a stack, it also deletes the parameter that was used to store the private key material in Parameter Store.
4
11
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-keypair.html}
5
12
  */
6
13
  export class EC2KeyPair extends $Resource {
@@ -1,25 +1,24 @@
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::EC2::TransitGatewayRouteTablePropagation
4
+ * AWS::EC2::TransitGatewayRouteTablePropagation Type
5
5
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetablepropagation.html}
6
6
  */
7
7
  export type EC2TransitGatewayRouteTablePropagationProperties = {
8
+ /**
9
+ * The ID of transit gateway attachment.
10
+ */
8
11
  TransitGatewayAttachmentId: string;
12
+ /**
13
+ * The ID of transit gateway route table.
14
+ */
9
15
  TransitGatewayRouteTableId: string;
10
16
  };
11
17
  /**
12
- * Attribute type definition for `AWS::EC2::TransitGatewayRouteTablePropagation`.
13
- * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetablepropagation.html#aws-resource-ec2-transitgatewayroutetablepropagation-return-values}
14
- */
15
- export type EC2TransitGatewayRouteTablePropagationAttributes = {
16
- Id: string;
17
- };
18
- /**
19
- * Resource Type definition for AWS::EC2::TransitGatewayRouteTablePropagation
18
+ * AWS::EC2::TransitGatewayRouteTablePropagation Type
20
19
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetablepropagation.html}
21
20
  */
22
- export declare class EC2TransitGatewayRouteTablePropagation extends $Resource<"AWS::EC2::TransitGatewayRouteTablePropagation", EC2TransitGatewayRouteTablePropagationProperties, EC2TransitGatewayRouteTablePropagationAttributes> {
21
+ export declare class EC2TransitGatewayRouteTablePropagation extends $Resource<"AWS::EC2::TransitGatewayRouteTablePropagation", EC2TransitGatewayRouteTablePropagationProperties, Record<string, never>> {
23
22
  static readonly Type = "AWS::EC2::TransitGatewayRouteTablePropagation";
24
23
  constructor(logicalId: string, properties: EC2TransitGatewayRouteTablePropagationProperties, options?: $ResourceOptions);
25
24
  }
@@ -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::EC2::TransitGatewayRouteTablePropagation
3
+ * AWS::EC2::TransitGatewayRouteTablePropagation Type
4
4
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetablepropagation.html}
5
5
  */
6
6
  export class EC2TransitGatewayRouteTablePropagation extends $Resource {
@@ -573,11 +573,22 @@ export type FSxAuthorizationConfig = {
573
573
  };
574
574
  /**
575
575
  * Type definition for `AWS::ECS::TaskDefinition.FSxWindowsFileServerVolumeConfiguration`.
576
+ * This parameter is specified when you're using [Amazon FSx for Windows File Server](https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html) file system for task storage.
577
+ For more information and the input format, see [Amazon FSx for Windows File Server volumes](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) in the *Amazon Elastic Container Service Developer Guide*.
576
578
  * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-fsxwindowsfileservervolumeconfiguration.html}
577
579
  */
578
580
  export type FSxWindowsFileServerVolumeConfiguration = {
581
+ /**
582
+ * The authorization configuration details for the Amazon FSx for Windows File Server file system.
583
+ */
579
584
  AuthorizationConfig?: FSxAuthorizationConfig;
585
+ /**
586
+ * The Amazon FSx for Windows File Server file system ID to use.
587
+ */
580
588
  FileSystemId: string;
589
+ /**
590
+ * The directory within the Amazon FSx for Windows File Server file system to mount as the root directory inside the host.
591
+ */
581
592
  RootDirectory: string;
582
593
  };
583
594
  /**
@@ -1070,6 +1081,9 @@ export type Volume = {
1070
1081
  * This parameter is specified when you use an Amazon Elastic File System file system for task storage.
1071
1082
  */
1072
1083
  EFSVolumeConfiguration?: EFSVolumeConfiguration;
1084
+ /**
1085
+ * This parameter is specified when you use Amazon FSx for Windows File Server file system for task storage.
1086
+ */
1073
1087
  FSxWindowsFileServerVolumeConfiguration?: FSxWindowsFileServerVolumeConfiguration;
1074
1088
  /**
1075
1089
  * This parameter is specified when you use bind mount host volumes. The contents of the ``host`` parameter determine whether your bind mount host volume persists on the host container instance and where it's stored. If the ``host`` parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't guaranteed to persist after the containers that are associated with it stop running.
@@ -0,0 +1,119 @@
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::Application Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html}
6
+ */
7
+ export type QBusinessApplicationProperties = {
8
+ AttachmentsConfiguration?: AttachmentsConfiguration;
9
+ /**
10
+ * @minLength `0`
11
+ * @maxLength `1000`
12
+ * @pattern `^[\s\S]*$`
13
+ */
14
+ Description?: string;
15
+ /**
16
+ * @minLength `1`
17
+ * @maxLength `1000`
18
+ * @pattern `^[a-zA-Z0-9][a-zA-Z0-9_-]*$`
19
+ */
20
+ DisplayName: string;
21
+ EncryptionConfiguration?: EncryptionConfiguration;
22
+ /**
23
+ * @minLength `10`
24
+ * @maxLength `1224`
25
+ * @pattern `^arn:(aws|aws-us-gov|aws-cn|aws-iso|aws-iso-b):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$`
26
+ */
27
+ IdentityCenterInstanceArn?: string;
28
+ /**
29
+ * @minLength `0`
30
+ * @maxLength `1284`
31
+ * @pattern `^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$`
32
+ */
33
+ RoleArn?: string;
34
+ /**
35
+ * @minLength `0`
36
+ * @maxLength `200`
37
+ */
38
+ Tags?: Tag[];
39
+ };
40
+ /**
41
+ * Attribute type definition for `AWS::QBusiness::Application`.
42
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#aws-resource-qbusiness-application-return-values}
43
+ */
44
+ export type QBusinessApplicationAttributes = {
45
+ /**
46
+ * @minLength `0`
47
+ * @maxLength `1284`
48
+ * @pattern `^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$`
49
+ */
50
+ ApplicationArn: string;
51
+ /**
52
+ * @minLength `36`
53
+ * @maxLength `36`
54
+ * @pattern `^[a-zA-Z0-9][a-zA-Z0-9-]{35}$`
55
+ */
56
+ ApplicationId: string;
57
+ CreatedAt: string;
58
+ /**
59
+ * @minLength `10`
60
+ * @maxLength `1224`
61
+ * @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}$`
62
+ */
63
+ IdentityCenterApplicationArn: string;
64
+ Status: ApplicationStatus;
65
+ UpdatedAt: string;
66
+ };
67
+ /**
68
+ * Type definition for `AWS::QBusiness::Application.ApplicationStatus`.
69
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-applicationstatus.html}
70
+ */
71
+ export type ApplicationStatus = "CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING";
72
+ /**
73
+ * Type definition for `AWS::QBusiness::Application.AttachmentsConfiguration`.
74
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-attachmentsconfiguration.html}
75
+ */
76
+ export type AttachmentsConfiguration = {
77
+ AttachmentsControlMode: AttachmentsControlMode;
78
+ };
79
+ /**
80
+ * Type definition for `AWS::QBusiness::Application.AttachmentsControlMode`.
81
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-attachmentscontrolmode.html}
82
+ */
83
+ export type AttachmentsControlMode = "ENABLED" | "DISABLED";
84
+ /**
85
+ * Type definition for `AWS::QBusiness::Application.EncryptionConfiguration`.
86
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-encryptionconfiguration.html}
87
+ */
88
+ export type EncryptionConfiguration = {
89
+ /**
90
+ * @minLength `1`
91
+ * @maxLength `2048`
92
+ */
93
+ KmsKeyId?: string;
94
+ };
95
+ /**
96
+ * Type definition for `AWS::QBusiness::Application.Tag`.
97
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-tag.html}
98
+ */
99
+ export type Tag = {
100
+ /**
101
+ * @minLength `1`
102
+ * @maxLength `128`
103
+ */
104
+ Key: string;
105
+ /**
106
+ * @minLength `0`
107
+ * @maxLength `256`
108
+ */
109
+ Value: string;
110
+ };
111
+ /**
112
+ * Definition of AWS::QBusiness::Application Resource Type
113
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html}
114
+ */
115
+ export declare class QBusinessApplication extends $Resource<"AWS::QBusiness::Application", QBusinessApplicationProperties, QBusinessApplicationAttributes> {
116
+ static readonly Type = "AWS::QBusiness::Application";
117
+ constructor(logicalId: string, properties: QBusinessApplicationProperties, options?: $ResourceOptions);
118
+ }
119
+ //# sourceMappingURL=AWS-QBusiness-Application.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::Application Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html}
5
+ */
6
+ export class QBusinessApplication extends $Resource {
7
+ static Type = "AWS::QBusiness::Application";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, QBusinessApplication.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-QBusiness-Application.js.map
@@ -0,0 +1,225 @@
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::DataSource Resource Type
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html}
6
+ */
7
+ export type QBusinessDataSourceProperties = {
8
+ /**
9
+ * @minLength `36`
10
+ * @maxLength `36`
11
+ * @pattern `^[a-zA-Z0-9][a-zA-Z0-9-]{35}$`
12
+ */
13
+ ApplicationId: string;
14
+ Configuration: any;
15
+ /**
16
+ * @minLength `0`
17
+ * @maxLength `1000`
18
+ * @pattern `^[\s\S]*$`
19
+ */
20
+ Description?: string;
21
+ /**
22
+ * @minLength `1`
23
+ * @maxLength `1000`
24
+ * @pattern `^[a-zA-Z0-9][a-zA-Z0-9_-]*$`
25
+ */
26
+ DisplayName: string;
27
+ DocumentEnrichmentConfiguration?: DocumentEnrichmentConfiguration;
28
+ /**
29
+ * @minLength `36`
30
+ * @maxLength `36`
31
+ * @pattern `^[a-zA-Z0-9][a-zA-Z0-9-]{35}$`
32
+ */
33
+ IndexId: string;
34
+ /**
35
+ * @minLength `0`
36
+ * @maxLength `1284`
37
+ * @pattern `^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$`
38
+ */
39
+ RoleArn?: string;
40
+ /**
41
+ * @maxLength `998`
42
+ * @pattern `^[\s\S]*$`
43
+ */
44
+ SyncSchedule?: string;
45
+ /**
46
+ * @minLength `0`
47
+ * @maxLength `200`
48
+ */
49
+ Tags?: Tag[];
50
+ VpcConfiguration?: DataSourceVpcConfiguration;
51
+ };
52
+ /**
53
+ * Attribute type definition for `AWS::QBusiness::DataSource`.
54
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html#aws-resource-qbusiness-datasource-return-values}
55
+ */
56
+ export type QBusinessDataSourceAttributes = {
57
+ CreatedAt: string;
58
+ /**
59
+ * @minLength `0`
60
+ * @maxLength `1284`
61
+ * @pattern `^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$`
62
+ */
63
+ DataSourceArn: string;
64
+ /**
65
+ * @minLength `36`
66
+ * @maxLength `36`
67
+ * @pattern `^[a-zA-Z0-9][a-zA-Z0-9-]{35}$`
68
+ */
69
+ DataSourceId: string;
70
+ Status: DataSourceStatus;
71
+ /**
72
+ * @minLength `1`
73
+ * @maxLength `2048`
74
+ */
75
+ Type: string;
76
+ UpdatedAt: string;
77
+ };
78
+ /**
79
+ * Type definition for `AWS::QBusiness::DataSource.AttributeValueOperator`.
80
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-attributevalueoperator.html}
81
+ */
82
+ export type AttributeValueOperator = "DELETE";
83
+ /**
84
+ * Type definition for `AWS::QBusiness::DataSource.DataSourceStatus`.
85
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-datasourcestatus.html}
86
+ */
87
+ export type DataSourceStatus = "PENDING_CREATION" | "CREATING" | "ACTIVE" | "DELETING" | "FAILED" | "UPDATING";
88
+ /**
89
+ * Type definition for `AWS::QBusiness::DataSource.DataSourceVpcConfiguration`.
90
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-datasourcevpcconfiguration.html}
91
+ */
92
+ export type DataSourceVpcConfiguration = {
93
+ /**
94
+ * @minLength `1`
95
+ * @maxLength `10`
96
+ */
97
+ SecurityGroupIds: string[];
98
+ SubnetIds: string[];
99
+ };
100
+ /**
101
+ * Type definition for `AWS::QBusiness::DataSource.DocumentAttributeCondition`.
102
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributecondition.html}
103
+ */
104
+ export type DocumentAttributeCondition = {
105
+ /**
106
+ * @minLength `1`
107
+ * @maxLength `200`
108
+ * @pattern `^[a-zA-Z0-9_][a-zA-Z0-9_-]*$`
109
+ */
110
+ Key: string;
111
+ Operator: DocumentEnrichmentConditionOperator;
112
+ Value?: DocumentAttributeValue;
113
+ };
114
+ /**
115
+ * Type definition for `AWS::QBusiness::DataSource.DocumentAttributeTarget`.
116
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributetarget.html}
117
+ */
118
+ export type DocumentAttributeTarget = {
119
+ AttributeValueOperator?: AttributeValueOperator;
120
+ /**
121
+ * @minLength `1`
122
+ * @maxLength `200`
123
+ * @pattern `^[a-zA-Z0-9_][a-zA-Z0-9_-]*$`
124
+ */
125
+ Key: string;
126
+ Value?: DocumentAttributeValue;
127
+ };
128
+ /**
129
+ * Type definition for `AWS::QBusiness::DataSource.DocumentAttributeValue`.
130
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentattributevalue.html}
131
+ */
132
+ export type DocumentAttributeValue = {
133
+ /**
134
+ * @maxLength `2048`
135
+ */
136
+ StringValue: string;
137
+ } | {
138
+ StringListValue: string[];
139
+ } | {
140
+ LongValue: number;
141
+ } | {
142
+ DateValue: string;
143
+ };
144
+ /**
145
+ * Type definition for `AWS::QBusiness::DataSource.DocumentContentOperator`.
146
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentcontentoperator.html}
147
+ */
148
+ export type DocumentContentOperator = "DELETE";
149
+ /**
150
+ * Type definition for `AWS::QBusiness::DataSource.DocumentEnrichmentConditionOperator`.
151
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconditionoperator.html}
152
+ */
153
+ export type DocumentEnrichmentConditionOperator = "GREATER_THAN" | "GREATER_THAN_OR_EQUALS" | "LESS_THAN" | "LESS_THAN_OR_EQUALS" | "EQUALS" | "NOT_EQUALS" | "CONTAINS" | "NOT_CONTAINS" | "EXISTS" | "NOT_EXISTS" | "BEGINS_WITH";
154
+ /**
155
+ * Type definition for `AWS::QBusiness::DataSource.DocumentEnrichmentConfiguration`.
156
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-documentenrichmentconfiguration.html}
157
+ */
158
+ export type DocumentEnrichmentConfiguration = {
159
+ /**
160
+ * @minLength `1`
161
+ * @maxLength `100`
162
+ */
163
+ InlineConfigurations?: InlineDocumentEnrichmentConfiguration[];
164
+ PostExtractionHookConfiguration?: HookConfiguration;
165
+ PreExtractionHookConfiguration?: HookConfiguration;
166
+ };
167
+ /**
168
+ * Type definition for `AWS::QBusiness::DataSource.HookConfiguration`.
169
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-hookconfiguration.html}
170
+ */
171
+ export type HookConfiguration = {
172
+ InvocationCondition?: DocumentAttributeCondition;
173
+ /**
174
+ * @minLength `1`
175
+ * @maxLength `2048`
176
+ * @pattern `^arn:aws[a-zA-Z-]*:lambda:[a-z-]*-[0-9]:[0-9]{12}:function:[a-zA-Z0-9-_]+(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?(:[a-zA-Z0-9-_]+)?$`
177
+ */
178
+ LambdaArn?: string;
179
+ /**
180
+ * @minLength `0`
181
+ * @maxLength `1284`
182
+ * @pattern `^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$`
183
+ */
184
+ RoleArn?: string;
185
+ /**
186
+ * @minLength `1`
187
+ * @maxLength `63`
188
+ * @pattern `^[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]$`
189
+ */
190
+ S3BucketName?: string;
191
+ };
192
+ /**
193
+ * Type definition for `AWS::QBusiness::DataSource.InlineDocumentEnrichmentConfiguration`.
194
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-inlinedocumentenrichmentconfiguration.html}
195
+ */
196
+ export type InlineDocumentEnrichmentConfiguration = {
197
+ Condition?: DocumentAttributeCondition;
198
+ DocumentContentOperator?: DocumentContentOperator;
199
+ Target?: DocumentAttributeTarget;
200
+ };
201
+ /**
202
+ * Type definition for `AWS::QBusiness::DataSource.Tag`.
203
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-datasource-tag.html}
204
+ */
205
+ export type Tag = {
206
+ /**
207
+ * @minLength `1`
208
+ * @maxLength `128`
209
+ */
210
+ Key: string;
211
+ /**
212
+ * @minLength `0`
213
+ * @maxLength `256`
214
+ */
215
+ Value: string;
216
+ };
217
+ /**
218
+ * Definition of AWS::QBusiness::DataSource Resource Type
219
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html}
220
+ */
221
+ export declare class QBusinessDataSource extends $Resource<"AWS::QBusiness::DataSource", QBusinessDataSourceProperties, QBusinessDataSourceAttributes> {
222
+ static readonly Type = "AWS::QBusiness::DataSource";
223
+ constructor(logicalId: string, properties: QBusinessDataSourceProperties, options?: $ResourceOptions);
224
+ }
225
+ //# sourceMappingURL=AWS-QBusiness-DataSource.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::DataSource Resource Type
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-datasource.html}
5
+ */
6
+ export class QBusinessDataSource extends $Resource {
7
+ static Type = "AWS::QBusiness::DataSource";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, QBusinessDataSource.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-QBusiness-DataSource.js.map