@awboost/cfn-resource-types 0.1.218 → 0.1.220

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.
@@ -0,0 +1,170 @@
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
+ * AWS::PCS::ComputeNodeGroup resource creates an AWS PCS compute node group.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html}
6
+ */
7
+ export type PCSComputeNodeGroupProperties = {
8
+ /**
9
+ * The ID of the Amazon Machine Image (AMI) that AWS PCS uses to launch instances. If not provided, AWS PCS uses the AMI ID specified in the custom launch template.
10
+ * @pattern `^ami-[a-z0-9]+$`
11
+ */
12
+ AmiId?: string;
13
+ /**
14
+ * The ID of the cluster of the compute node group.
15
+ */
16
+ ClusterId: string;
17
+ /**
18
+ * An Amazon EC2 launch template AWS PCS uses to launch compute nodes.
19
+ */
20
+ CustomLaunchTemplate: {
21
+ /**
22
+ * The ID of the EC2 launch template to use to provision instances.
23
+ */
24
+ Id: string;
25
+ /**
26
+ * The version of the EC2 launch template to use to provision instances.
27
+ */
28
+ Version: string;
29
+ };
30
+ /**
31
+ * The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have pcs:RegisterComputeNodeGroupInstance permissions attached to provision instances correctly.
32
+ * @pattern `^arn:aws([a-zA-Z-]{0,10})?:iam::[0-9]{12}:instance-profile/.{1,128}$`
33
+ */
34
+ IamInstanceProfileArn: string;
35
+ /**
36
+ * A list of EC2 instance configurations that AWS PCS can provision in the compute node group.
37
+ */
38
+ InstanceConfigs: InstanceConfig[];
39
+ /**
40
+ * The name that identifies the compute node group.
41
+ * @pattern `^(?!pcs_)^(?![A-Za-z0-9]{10}$)[A-Za-z][A-Za-z0-9-]+$`
42
+ */
43
+ Name?: string;
44
+ /**
45
+ * Specifies how EC2 instances are purchased on your behalf. AWS PCS supports On-Demand and Spot instances. For more information, see Instance purchasing options in the Amazon Elastic Compute Cloud User Guide. If you don't provide this option, it defaults to On-Demand.
46
+ */
47
+ PurchaseOption?: "ONDEMAND" | "SPOT";
48
+ /**
49
+ * Specifies the boundaries of the compute node group auto scaling.
50
+ */
51
+ ScalingConfiguration: {
52
+ /**
53
+ * The upper bound of the number of instances allowed in the compute fleet.
54
+ * @min `0`
55
+ */
56
+ MaxInstanceCount: number;
57
+ /**
58
+ * The lower bound of the number of instances allowed in the compute fleet.
59
+ * @min `0`
60
+ */
61
+ MinInstanceCount: number;
62
+ };
63
+ /**
64
+ * Additional options related to the Slurm scheduler.
65
+ */
66
+ SlurmConfiguration?: {
67
+ /**
68
+ * Additional Slurm-specific configuration that directly maps to Slurm settings.
69
+ */
70
+ SlurmCustomSettings?: SlurmCustomSetting[];
71
+ };
72
+ /**
73
+ * Additional configuration when you specify SPOT as the purchase option.
74
+ */
75
+ SpotOptions?: {
76
+ /**
77
+ * The Amazon EC2 allocation strategy AWS PCS uses to provision EC2 instances. AWS PCS supports lowest price, capacity optimized, and price capacity optimized. If you don't provide this option, it defaults to price capacity optimized.
78
+ */
79
+ AllocationStrategy?: "lowest-price" | "capacity-optimized" | "price-capacity-optimized";
80
+ };
81
+ /**
82
+ * The list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster.
83
+ */
84
+ SubnetIds: string[];
85
+ /**
86
+ * 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
87
+ */
88
+ Tags?: Record<string, string>;
89
+ };
90
+ /**
91
+ * Attribute type definition for `AWS::PCS::ComputeNodeGroup`.
92
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html#aws-resource-pcs-computenodegroup-return-values}
93
+ */
94
+ export type PCSComputeNodeGroupAttributes = {
95
+ /**
96
+ * The unique Amazon Resource Name (ARN) of the compute node group.
97
+ */
98
+ Arn: string;
99
+ /**
100
+ * The list of errors that occurred during compute node group provisioning.
101
+ */
102
+ ErrorInfo: {
103
+ /**
104
+ * The short-form error code.
105
+ */
106
+ Code: string;
107
+ /**
108
+ * The detailed error information.
109
+ */
110
+ Message: string;
111
+ }[];
112
+ /**
113
+ * The generated unique ID of the compute node group.
114
+ */
115
+ Id: string;
116
+ /**
117
+ * The provisioning status of the compute node group. The provisioning status doesn't indicate the overall health of the compute node group.
118
+ */
119
+ Status: "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED";
120
+ };
121
+ /**
122
+ * Type definition for `AWS::PCS::ComputeNodeGroup.ErrorInfo`.
123
+ * An error that occurred during resource provisioning.
124
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-errorinfo.html}
125
+ */
126
+ export type ErrorInfo = {
127
+ /**
128
+ * The short-form error code.
129
+ */
130
+ Code?: string;
131
+ /**
132
+ * The detailed error information.
133
+ */
134
+ Message?: string;
135
+ };
136
+ /**
137
+ * Type definition for `AWS::PCS::ComputeNodeGroup.InstanceConfig`.
138
+ * An EC2 instance configuration AWS PCS uses to launch compute nodes.
139
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-instanceconfig.html}
140
+ */
141
+ export type InstanceConfig = {
142
+ /**
143
+ * The EC2 instance type that AWS PCS can provision in the compute node group.
144
+ */
145
+ InstanceType?: string;
146
+ };
147
+ /**
148
+ * Type definition for `AWS::PCS::ComputeNodeGroup.SlurmCustomSetting`.
149
+ * Additional settings that directly map to Slurm settings.
150
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-computenodegroup-slurmcustomsetting.html}
151
+ */
152
+ export type SlurmCustomSetting = {
153
+ /**
154
+ * AWS PCS supports configuration of the following Slurm parameters for compute node groups: Weight and RealMemory.
155
+ */
156
+ ParameterName: string;
157
+ /**
158
+ * The value for the configured Slurm setting.
159
+ */
160
+ ParameterValue: string;
161
+ };
162
+ /**
163
+ * AWS::PCS::ComputeNodeGroup resource creates an AWS PCS compute node group.
164
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html}
165
+ */
166
+ export declare class PCSComputeNodeGroup extends $Resource<"AWS::PCS::ComputeNodeGroup", PCSComputeNodeGroupProperties, PCSComputeNodeGroupAttributes> {
167
+ static readonly Type = "AWS::PCS::ComputeNodeGroup";
168
+ constructor(logicalId: string, properties: PCSComputeNodeGroupProperties, options?: $ResourceOptions);
169
+ }
170
+ //# sourceMappingURL=AWS-PCS-ComputeNodeGroup.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * AWS::PCS::ComputeNodeGroup resource creates an AWS PCS compute node group.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html}
5
+ */
6
+ export class PCSComputeNodeGroup extends $Resource {
7
+ static Type = "AWS::PCS::ComputeNodeGroup";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, PCSComputeNodeGroup.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-PCS-ComputeNodeGroup.js.map
@@ -0,0 +1,92 @@
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
+ * AWS::PCS::Queue resource creates an AWS PCS queue.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html}
6
+ */
7
+ export type PCSQueueProperties = {
8
+ /**
9
+ * The ID of the cluster of the queue.
10
+ */
11
+ ClusterId: string;
12
+ /**
13
+ * The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.
14
+ */
15
+ ComputeNodeGroupConfigurations?: ComputeNodeGroupConfiguration[];
16
+ /**
17
+ * The name that identifies the queue.
18
+ * @pattern `^(?!pcs_)^(?![A-Za-z0-9]{10}$)[A-Za-z][A-Za-z0-9-]+$`
19
+ */
20
+ Name?: string;
21
+ /**
22
+ * 1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.
23
+ */
24
+ Tags?: Record<string, string>;
25
+ };
26
+ /**
27
+ * Attribute type definition for `AWS::PCS::Queue`.
28
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html#aws-resource-pcs-queue-return-values}
29
+ */
30
+ export type PCSQueueAttributes = {
31
+ /**
32
+ * The unique Amazon Resource Name (ARN) of the queue.
33
+ * @pattern `^(.*?)`
34
+ */
35
+ Arn: string;
36
+ /**
37
+ * The list of errors that occurred during queue provisioning.
38
+ */
39
+ ErrorInfo: {
40
+ /**
41
+ * The short-form error code.
42
+ */
43
+ Code: string;
44
+ /**
45
+ * The detailed error information.
46
+ */
47
+ Message: string;
48
+ }[];
49
+ /**
50
+ * The generated unique ID of the queue.
51
+ */
52
+ Id: string;
53
+ /**
54
+ * The provisioning status of the queue. The provisioning status doesn't indicate the overall health of the queue.
55
+ */
56
+ Status: "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED";
57
+ };
58
+ /**
59
+ * Type definition for `AWS::PCS::Queue.ComputeNodeGroupConfiguration`.
60
+ * The compute node group configuration for a queue.
61
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-queue-computenodegroupconfiguration.html}
62
+ */
63
+ export type ComputeNodeGroupConfiguration = {
64
+ /**
65
+ * The compute node group ID for the compute node group configuration.
66
+ */
67
+ ComputeNodeGroupId?: string;
68
+ };
69
+ /**
70
+ * Type definition for `AWS::PCS::Queue.ErrorInfo`.
71
+ * An error that occurred during resource provisioning.
72
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-queue-errorinfo.html}
73
+ */
74
+ export type ErrorInfo = {
75
+ /**
76
+ * The short-form error code.
77
+ */
78
+ Code?: string;
79
+ /**
80
+ * The detailed error information.
81
+ */
82
+ Message?: string;
83
+ };
84
+ /**
85
+ * AWS::PCS::Queue resource creates an AWS PCS queue.
86
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html}
87
+ */
88
+ export declare class PCSQueue extends $Resource<"AWS::PCS::Queue", PCSQueueProperties, PCSQueueAttributes> {
89
+ static readonly Type = "AWS::PCS::Queue";
90
+ constructor(logicalId: string, properties: PCSQueueProperties, options?: $ResourceOptions);
91
+ }
92
+ //# sourceMappingURL=AWS-PCS-Queue.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * AWS::PCS::Queue resource creates an AWS PCS queue.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html}
5
+ */
6
+ export class PCSQueue extends $Resource {
7
+ static Type = "AWS::PCS::Queue";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, PCSQueue.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-PCS-Queue.js.map
@@ -0,0 +1,90 @@
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 the AWS::QuickSight::CustomPermissions Resource Type.
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-custompermissions.html}
6
+ */
7
+ export type QuickSightCustomPermissionsProperties = {
8
+ /**
9
+ * @minLength `12`
10
+ * @maxLength `12`
11
+ * @pattern `^[0-9]{12}$`
12
+ */
13
+ AwsAccountId: string;
14
+ Capabilities?: Capabilities;
15
+ /**
16
+ * @minLength `1`
17
+ * @maxLength `64`
18
+ * @pattern `^[a-zA-Z0-9+=,.@_-]+$`
19
+ */
20
+ CustomPermissionsName: string;
21
+ /**
22
+ * @minLength `1`
23
+ * @maxLength `200`
24
+ */
25
+ Tags?: Tag[];
26
+ };
27
+ /**
28
+ * Attribute type definition for `AWS::QuickSight::CustomPermissions`.
29
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-custompermissions.html#aws-resource-quicksight-custompermissions-return-values}
30
+ */
31
+ export type QuickSightCustomPermissionsAttributes = {
32
+ Arn: string;
33
+ };
34
+ /**
35
+ * Type definition for `AWS::QuickSight::CustomPermissions.Capabilities`.
36
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-custompermissions-capabilities.html}
37
+ */
38
+ export type Capabilities = {
39
+ AddOrRunAnomalyDetectionForAnalyses?: CapabilityState;
40
+ CreateAndUpdateDashboardEmailReports?: CapabilityState;
41
+ CreateAndUpdateDataSources?: CapabilityState;
42
+ CreateAndUpdateDatasets?: CapabilityState;
43
+ CreateAndUpdateThemes?: CapabilityState;
44
+ CreateAndUpdateThresholdAlerts?: CapabilityState;
45
+ CreateSPICEDataset?: CapabilityState;
46
+ CreateSharedFolders?: CapabilityState;
47
+ ExportToCsv?: CapabilityState;
48
+ ExportToExcel?: CapabilityState;
49
+ RenameSharedFolders?: CapabilityState;
50
+ ShareAnalyses?: CapabilityState;
51
+ ShareDashboards?: CapabilityState;
52
+ ShareDataSources?: CapabilityState;
53
+ ShareDatasets?: CapabilityState;
54
+ SubscribeDashboardEmailReports?: CapabilityState;
55
+ ViewAccountSPICECapacity?: CapabilityState;
56
+ };
57
+ /**
58
+ * Type definition for `AWS::QuickSight::CustomPermissions.CapabilityState`.
59
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-custompermissions-capabilitystate.html}
60
+ */
61
+ export type CapabilityState = "DENY";
62
+ /**
63
+ * Type definition for `AWS::QuickSight::CustomPermissions.Tag`.
64
+ * <p>The key or keys of the key-value pairs for the resource tag or tags assigned to the
65
+ resource.</p>
66
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-custompermissions-tag.html}
67
+ */
68
+ export type Tag = {
69
+ /**
70
+ * <p>Tag key.</p>
71
+ * @minLength `1`
72
+ * @maxLength `128`
73
+ */
74
+ Key: string;
75
+ /**
76
+ * <p>Tag value.</p>
77
+ * @minLength `1`
78
+ * @maxLength `256`
79
+ */
80
+ Value: string;
81
+ };
82
+ /**
83
+ * Definition of the AWS::QuickSight::CustomPermissions Resource Type.
84
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-custompermissions.html}
85
+ */
86
+ export declare class QuickSightCustomPermissions extends $Resource<"AWS::QuickSight::CustomPermissions", QuickSightCustomPermissionsProperties, QuickSightCustomPermissionsAttributes> {
87
+ static readonly Type = "AWS::QuickSight::CustomPermissions";
88
+ constructor(logicalId: string, properties: QuickSightCustomPermissionsProperties, options?: $ResourceOptions);
89
+ }
90
+ //# sourceMappingURL=AWS-QuickSight-CustomPermissions.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Definition of the AWS::QuickSight::CustomPermissions Resource Type.
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-custompermissions.html}
5
+ */
6
+ export class QuickSightCustomPermissions extends $Resource {
7
+ static Type = "AWS::QuickSight::CustomPermissions";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, QuickSightCustomPermissions.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-QuickSight-CustomPermissions.js.map
@@ -58,6 +58,7 @@ export type QuickSightDataSetProperties = {
58
58
  * @maxLength `128`
59
59
  */
60
60
  Name?: string;
61
+ PerformanceConfiguration?: PerformanceConfiguration;
61
62
  /**
62
63
  * <p>A list of resource permissions on the dataset.</p>
63
64
  * @minLength `1`
@@ -809,6 +810,17 @@ export type OverrideDatasetParameterOperation = {
809
810
  */
810
811
  ParameterName: string;
811
812
  };
813
+ /**
814
+ * Type definition for `AWS::QuickSight::DataSet.PerformanceConfiguration`.
815
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-performanceconfiguration.html}
816
+ */
817
+ export type PerformanceConfiguration = {
818
+ /**
819
+ * @minLength `1`
820
+ * @maxLength `1`
821
+ */
822
+ UniqueKeys?: UniqueKey[];
823
+ };
812
824
  /**
813
825
  * Type definition for `AWS::QuickSight::DataSet.PhysicalTable`.
814
826
  * <p>A view of a data source that contains information about the shape of the data in the
@@ -1194,6 +1206,17 @@ export type TransformOperation = {
1194
1206
  */
1195
1207
  UntagColumnOperation?: UntagColumnOperation;
1196
1208
  };
1209
+ /**
1210
+ * Type definition for `AWS::QuickSight::DataSet.UniqueKey`.
1211
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-uniquekey.html}
1212
+ */
1213
+ export type UniqueKey = {
1214
+ /**
1215
+ * @minLength `1`
1216
+ * @maxLength `1`
1217
+ */
1218
+ ColumnNames: string[];
1219
+ };
1197
1220
  /**
1198
1221
  * Type definition for `AWS::QuickSight::DataSet.UntagColumnOperation`.
1199
1222
  * <p>A transform operation that removes tags associated with a column.</p>
@@ -34,7 +34,7 @@ export type RDSDBClusterProperties = {
34
34
  AssociatedRoles?: DBClusterRole[];
35
35
  /**
36
36
  * Specifies whether minor engine upgrades are applied automatically to the DB cluster during the maintenance window. By default, minor engine upgrades are applied automatically.
37
- Valid for Cluster Type: Multi-AZ DB clusters only
37
+ Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB cluster
38
38
  */
39
39
  AutoMinorVersionUpgrade?: boolean;
40
40
  /**
@@ -277,7 +277,8 @@ export type RDSDBClusterProperties = {
277
277
  MasterUserPassword?: string;
278
278
  /**
279
279
  * The secret managed by RDS in AWS Secrets Manager for the master user password.
280
- For more information, see [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) in the *Amazon RDS User Guide* and [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) in the *Amazon Aurora User Guide.*
280
+ When you restore a DB cluster from a snapshot, Amazon RDS generates a new secret instead of reusing the secret specified in the ``SecretArn`` property. This ensures that the restored DB cluster is securely managed with a dedicated secret. To maintain consistent integration with your application, you might need to update resource configurations to reference the newly created secret.
281
+ For more information, see [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) in the *Amazon RDS User Guide* and [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) in the *Amazon Aurora User Guide.*
281
282
  */
282
283
  MasterUserSecret?: MasterUserSecret;
283
284
  /**
@@ -291,7 +292,7 @@ export type RDSDBClusterProperties = {
291
292
  /**
292
293
  * The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify ``0``.
293
294
  If ``MonitoringRoleArn`` is specified, also set ``MonitoringInterval`` to a value other than ``0``.
294
- Valid for Cluster Type: Multi-AZ DB clusters only
295
+ Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
295
296
  Valid Values: ``0 | 1 | 5 | 10 | 15 | 30 | 60``
296
297
  Default: ``0``
297
298
  */
@@ -299,7 +300,7 @@ export type RDSDBClusterProperties = {
299
300
  /**
300
301
  * The Amazon Resource Name (ARN) for the IAM role that permits RDS to send Enhanced Monitoring metrics to Amazon CloudWatch Logs. An example is ``arn:aws:iam:123456789012:role/emaccess``. For information on creating a monitoring role, see [Setting up and enabling Enhanced Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) in the *Amazon RDS User Guide*.
301
302
  If ``MonitoringInterval`` is set to a value other than ``0``, supply a ``MonitoringRoleArn`` value.
302
- Valid for Cluster Type: Multi-AZ DB clusters only
303
+ Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
303
304
  */
304
305
  MonitoringRoleArn?: string;
305
306
  /**
@@ -316,19 +317,19 @@ export type RDSDBClusterProperties = {
316
317
  /**
317
318
  * Specifies whether to turn on Performance Insights for the DB cluster.
318
319
  For more information, see [Using Amazon Performance Insights](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) in the *Amazon RDS User Guide*.
319
- Valid for Cluster Type: Multi-AZ DB clusters only
320
+ Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
320
321
  */
321
322
  PerformanceInsightsEnabled?: boolean;
322
323
  /**
323
324
  * The AWS KMS key identifier for encryption of Performance Insights data.
324
325
  The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
325
326
  If you don't specify a value for ``PerformanceInsightsKMSKeyId``, then Amazon RDS uses your default KMS key. There is a default KMS key for your AWS-account. Your AWS-account has a different default KMS key for each AWS-Region.
326
- Valid for Cluster Type: Multi-AZ DB clusters only
327
+ Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
327
328
  */
328
329
  PerformanceInsightsKmsKeyId?: string;
329
330
  /**
330
331
  * The number of days to retain Performance Insights data.
331
- Valid for Cluster Type: Multi-AZ DB clusters only
332
+ Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
332
333
  Valid Values:
333
334
  + ``7``
334
335
  + *month* * 31, where *month* is a number of months from 1-23. Examples: ``93`` (3 months * 31), ``341`` (11 months * 31), ``589`` (19 months * 31)
@@ -527,7 +528,8 @@ export type RDSDBClusterAttributes = {
527
528
  };
528
529
  /**
529
530
  * The secret managed by RDS in AWS Secrets Manager for the master user password.
530
- For more information, see [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) in the *Amazon RDS User Guide* and [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) in the *Amazon Aurora User Guide.*
531
+ When you restore a DB cluster from a snapshot, Amazon RDS generates a new secret instead of reusing the secret specified in the ``SecretArn`` property. This ensures that the restored DB cluster is securely managed with a dedicated secret. To maintain consistent integration with your application, you might need to update resource configurations to reference the newly created secret.
532
+ For more information, see [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html) in the *Amazon RDS User Guide* and [Password management with Secrets Manager](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/rds-secrets-manager.html) in the *Amazon Aurora User Guide.*
531
533
  */
532
534
  MasterUserSecret: {
533
535
  /**
@@ -21,7 +21,7 @@ export type RedshiftIntegrationProperties = {
21
21
  */
22
22
  KMSKeyId?: string;
23
23
  /**
24
- * The Amazon Resource Name (ARN) of the database to use as the source for replication, for example, arn:aws:dynamodb:us-east-2:123412341234:table/dynamotable
24
+ * The Amazon Resource Name (ARN) of the database to use as the source for replication
25
25
  */
26
26
  SourceArn: string;
27
27
  /**
@@ -30,7 +30,7 @@ export type RedshiftIntegrationProperties = {
30
30
  */
31
31
  Tags?: Tag[];
32
32
  /**
33
- * The Amazon Resource Name (ARN) of the Redshift data warehouse to use as the target for replication, for example, arn:aws:redshift:us-east-2:123412341234:namespace:e43aab3e-10a3-4ec4-83d4-f227ff9bfbcf
33
+ * The Amazon Resource Name (ARN) of the Redshift data warehouse to use as the target for replication
34
34
  */
35
35
  TargetArn: string;
36
36
  };
@@ -0,0 +1,134 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
3
+ /**
4
+ * Resource Type definition for AWS::SageMaker::PartnerApp
5
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html}
6
+ */
7
+ export type SageMakerPartnerAppProperties = {
8
+ /**
9
+ * A collection of settings that specify the maintenance schedule for the PartnerApp.
10
+ */
11
+ ApplicationConfig?: PartnerAppConfig;
12
+ /**
13
+ * The Auth type of PartnerApp.
14
+ */
15
+ AuthType: "IAM";
16
+ /**
17
+ * The client token for the PartnerApp.
18
+ * @minLength `1`
19
+ * @maxLength `36`
20
+ * @pattern `^[a-zA-Z0-9-]+$`
21
+ */
22
+ ClientToken?: string;
23
+ /**
24
+ * Enables IAM Session based Identity for PartnerApp.
25
+ */
26
+ EnableIamSessionBasedIdentity?: boolean;
27
+ /**
28
+ * The execution role for the user.
29
+ * @minLength `20`
30
+ * @maxLength `2048`
31
+ * @pattern `^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$`
32
+ */
33
+ ExecutionRoleArn: string;
34
+ /**
35
+ * A collection of settings that specify the maintenance schedule for the PartnerApp.
36
+ */
37
+ MaintenanceConfig?: PartnerAppMaintenanceConfig;
38
+ /**
39
+ * A name for the PartnerApp.
40
+ * @minLength `1`
41
+ * @maxLength `256`
42
+ * @pattern `^[a-zA-Z0-9]+`
43
+ */
44
+ Name: string;
45
+ /**
46
+ * A list of tags to apply to the PartnerApp.
47
+ * @minLength `0`
48
+ * @maxLength `50`
49
+ */
50
+ Tags?: Tag[];
51
+ /**
52
+ * The tier of the PartnerApp.
53
+ * @minLength `1`
54
+ * @maxLength `64`
55
+ */
56
+ Tier: string;
57
+ /**
58
+ * The type of PartnerApp.
59
+ */
60
+ Type: "lakera-guard" | "comet" | "deepchecks-llm-evaluation" | "fiddler";
61
+ };
62
+ /**
63
+ * Attribute type definition for `AWS::SageMaker::PartnerApp`.
64
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html#aws-resource-sagemaker-partnerapp-return-values}
65
+ */
66
+ export type SageMakerPartnerAppAttributes = {
67
+ /**
68
+ * The Amazon Resource Name (ARN) of the created PartnerApp.
69
+ * @minLength `1`
70
+ * @maxLength `128`
71
+ * @pattern `arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:partner-app/app-[A-Z0-9]{12}$`
72
+ */
73
+ Arn: string;
74
+ /**
75
+ * The AppServerUrl based on app and account-info.
76
+ * @maxLength `2048`
77
+ */
78
+ BaseUrl: string;
79
+ };
80
+ /**
81
+ * Type definition for `AWS::SageMaker::PartnerApp.PartnerAppConfig`.
82
+ * A collection of configuration settings for the PartnerApp.
83
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html}
84
+ */
85
+ export type PartnerAppConfig = {
86
+ /**
87
+ * A list of users with administrator privileges for the PartnerApp.
88
+ * @minLength `0`
89
+ * @maxLength `5`
90
+ */
91
+ AdminUsers?: string[];
92
+ /**
93
+ * A list of arguments to pass to the PartnerApp.
94
+ */
95
+ Arguments?: Record<string, string>;
96
+ };
97
+ /**
98
+ * Type definition for `AWS::SageMaker::PartnerApp.PartnerAppMaintenanceConfig`.
99
+ * A collection of settings that specify the maintenance schedule for the PartnerApp.
100
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappmaintenanceconfig.html}
101
+ */
102
+ export type PartnerAppMaintenanceConfig = {
103
+ /**
104
+ * The maintenance window start day and time for the PartnerApp.
105
+ * @maxLength `9`
106
+ * @pattern `(Mon|Tue|Wed|Thu|Fri|Sat|Sun):([01]\d|2[0-3]):([0-5]\d)`
107
+ */
108
+ MaintenanceWindowStart: string;
109
+ };
110
+ /**
111
+ * Type definition for `AWS::SageMaker::PartnerApp.Tag`.
112
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-tag.html}
113
+ */
114
+ export type Tag = {
115
+ /**
116
+ * @minLength `1`
117
+ * @maxLength `128`
118
+ */
119
+ Key: string;
120
+ /**
121
+ * @minLength `1`
122
+ * @maxLength `128`
123
+ */
124
+ Value: string;
125
+ };
126
+ /**
127
+ * Resource Type definition for AWS::SageMaker::PartnerApp
128
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html}
129
+ */
130
+ export declare class SageMakerPartnerApp extends $Resource<"AWS::SageMaker::PartnerApp", SageMakerPartnerAppProperties, SageMakerPartnerAppAttributes> {
131
+ static readonly Type = "AWS::SageMaker::PartnerApp";
132
+ constructor(logicalId: string, properties: SageMakerPartnerAppProperties, options?: $ResourceOptions);
133
+ }
134
+ //# sourceMappingURL=AWS-SageMaker-PartnerApp.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
2
+ /**
3
+ * Resource Type definition for AWS::SageMaker::PartnerApp
4
+ * @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html}
5
+ */
6
+ export class SageMakerPartnerApp extends $Resource {
7
+ static Type = "AWS::SageMaker::PartnerApp";
8
+ constructor(logicalId, properties, options) {
9
+ super(logicalId, SageMakerPartnerApp.Type, properties, options);
10
+ }
11
+ }
12
+ //# sourceMappingURL=AWS-SageMaker-PartnerApp.js.map