@propulsionworks/cloudformation 0.1.23 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/exports/resources.generated/aws-apprunner-service.d.ts +1 -3
- package/out/exports/resources.generated/aws-apprunner-vpcconnector.d.ts +1 -1
- package/out/exports/resources.generated/aws-b2bi-capability.d.ts +3 -0
- package/out/exports/resources.generated/aws-b2bi-partnership.d.ts +60 -1
- package/out/exports/resources.generated/aws-b2bi-profile.d.ts +1 -0
- package/out/exports/resources.generated/aws-b2bi-transformer.d.ts +38 -0
- package/out/exports/resources.generated/aws-batch-computeenvironment.d.ts +9 -0
- package/out/exports/resources.generated/aws-batch-jobdefinition.d.ts +1 -1
- package/out/exports/resources.generated/aws-batch-schedulingpolicy.d.ts +1 -1
- package/out/exports/resources.generated/aws-bedrock-automatedreasoningpolicy.d.ts +206 -0
- package/out/exports/resources.generated/aws-bedrock-automatedreasoningpolicyversion.d.ts +68 -0
- package/out/exports/resources.generated/aws-budgets-budget.d.ts +4 -0
- package/out/exports/resources.generated/aws-cloudformation-lambdahook.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudfront-distribution.d.ts +1 -0
- package/out/exports/resources.generated/aws-cognito-userpoolclient.d.ts +2 -2
- package/out/exports/resources.generated/aws-cognito-userpoolriskconfigurationattachment.d.ts +1 -1
- package/out/exports/resources.generated/aws-connect-predefinedattribute.d.ts +19 -0
- package/out/exports/resources.generated/aws-datazone-policygrant.d.ts +46 -2
- package/out/exports/resources.generated/aws-ec2-clientvpnendpoint.d.ts +1 -1
- package/out/exports/resources.generated/aws-ec2-ec2fleet.d.ts +6 -4
- package/out/exports/resources.generated/aws-ec2-instance.d.ts +1 -1
- package/out/exports/resources.generated/aws-ec2-spotfleet.d.ts +1 -1
- package/out/exports/resources.generated/aws-ec2-vpcblockpublicaccessoptions.d.ts +5 -0
- package/out/exports/resources.generated/aws-ec2-vpnconnection.d.ts +1 -0
- package/out/exports/resources.generated/aws-ecs-cluster.d.ts +26 -2
- package/out/exports/resources.generated/aws-ecs-clustercapacityproviderassociations.d.ts +26 -2
- package/out/exports/resources.generated/aws-ecs-service.d.ts +51 -4
- package/out/exports/resources.generated/aws-ecs-taskdefinition.d.ts +1 -1
- package/out/exports/resources.generated/aws-ecs-taskset.d.ts +26 -2
- package/out/exports/resources.generated/aws-eks-addon.d.ts +1 -1
- package/out/exports/resources.generated/aws-elasticloadbalancingv2-truststore.d.ts +3 -3
- package/out/exports/resources.generated/aws-glue-crawler.d.ts +14 -0
- package/out/exports/resources.generated/aws-iot-encryptionconfiguration.d.ts +7 -2
- package/out/exports/resources.generated/aws-iotsitewise-accesspolicy.d.ts +4 -0
- package/out/exports/resources.generated/aws-iotsitewise-assetmodel.d.ts +8 -7
- package/out/exports/resources.generated/aws-iotsitewise-computationmodel.d.ts +23 -16
- package/out/exports/resources.generated/aws-iotsitewise-dataset.d.ts +11 -6
- package/out/exports/resources.generated/aws-ivs-stage.d.ts +57 -37
- package/out/exports/resources.generated/aws-kinesisanalyticsv2-application.d.ts +6 -6
- package/out/exports/resources.generated/aws-lambda-codesigningconfig.d.ts +1 -1
- package/out/exports/resources.generated/aws-lambda-eventsourcemapping.d.ts +5 -5
- package/out/exports/resources.generated/aws-lambda-version.d.ts +3 -3
- package/out/exports/resources.generated/aws-lex-bot.d.ts +6 -0
- package/out/exports/resources.generated/aws-notifications-organizationalunitassociation.d.ts +26 -0
- package/out/exports/resources.generated/aws-omics-workflow.d.ts +84 -2
- package/out/exports/resources.generated/aws-pcs-cluster.d.ts +17 -6
- package/out/exports/resources.generated/aws-pcs-computenodegroup.d.ts +12 -7
- package/out/exports/resources.generated/aws-pcs-queue.d.ts +5 -3
- package/out/exports/resources.generated/aws-qbusiness-datasource.d.ts +1 -1
- package/out/exports/resources.generated/aws-s3tables-namespace.d.ts +9 -1
- package/out/exports/resources.generated/aws-s3tables-table.d.ts +20 -12
- package/out/exports/resources.generated/aws-s3tables-tablebucket.d.ts +8 -0
- package/out/exports/resources.generated/aws-s3tables-tablebucketpolicy.d.ts +10 -2
- package/out/exports/resources.generated/aws-s3tables-tablepolicy.d.ts +15 -6
- package/out/exports/resources.generated/aws-sagemaker-endpointconfig.d.ts +17 -0
- package/out/exports/resources.generated/aws-secretsmanager-rotationschedule.d.ts +3 -3
- package/out/exports/resources.generated/aws-ses-configurationset.d.ts +2 -2
- package/out/exports/resources.generated/aws-ses-mailmanageraddonsubscription.d.ts +1 -1
- package/out/exports/resources.generated/aws-ses-mailmanageraddresslist.d.ts +6 -2
- package/out/exports/resources.generated/aws-ses-mailmanagertrafficpolicy.d.ts +8 -0
- package/out/exports/resources.generated/aws-ses-receiptrule.d.ts +1 -0
- package/out/exports/resources.generated/aws-synthetics-canary.d.ts +36 -1
- package/out/exports/resources.generated/aws-transfer-certificate.d.ts +24 -2
- package/out/exports/resources.generated/aws-transfer-server.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
|
4
4
|
*
|
|
5
5
|
* - *Workflow definition files* : Define your workflow in one or more workflow definition files, written in WDL, Nextflow, or CWL. The workflow definition specifies the inputs and outputs for runs that use the workflow. It also includes specifications for the runs and run tasks for your workflow, including compute and memory requirements. The workflow definition file must be in .zip format.
|
|
6
6
|
* - (Optional) *Parameter template* : You can create a parameter template file that defines the run parameters, or AWS HealthOmics can generate the parameter template for you.
|
|
7
|
-
* - *ECR container images* : Create
|
|
7
|
+
* - *ECR container images* : Create container images for the workflow in a private ECR repository, or synchronize images from a supported upstream registry with your Amazon ECR private repository.
|
|
8
8
|
* - (Optional) *Sentieon licenses* : Request a Sentieon license if using the Sentieon software in a private workflow.
|
|
9
9
|
*
|
|
10
10
|
* For more information, see [Creating or updating a private workflow in AWS HealthOmics](https://docs.aws.amazon.com/omics/latest/dev/creating-private-workflows.html) in the *AWS HealthOmics User Guide* .
|
|
@@ -16,7 +16,7 @@ export type OmicsWorkflow = ResourceDefinitionWithAttributes<"AWS::Omics::Workfl
|
|
|
16
16
|
*
|
|
17
17
|
* - *Workflow definition files* : Define your workflow in one or more workflow definition files, written in WDL, Nextflow, or CWL. The workflow definition specifies the inputs and outputs for runs that use the workflow. It also includes specifications for the runs and run tasks for your workflow, including compute and memory requirements. The workflow definition file must be in .zip format.
|
|
18
18
|
* - (Optional) *Parameter template* : You can create a parameter template file that defines the run parameters, or AWS HealthOmics can generate the parameter template for you.
|
|
19
|
-
* - *ECR container images* : Create
|
|
19
|
+
* - *ECR container images* : Create container images for the workflow in a private ECR repository, or synchronize images from a supported upstream registry with your Amazon ECR private repository.
|
|
20
20
|
* - (Optional) *Sentieon licenses* : Request a Sentieon license if using the Sentieon software in a private workflow.
|
|
21
21
|
*
|
|
22
22
|
* For more information, see [Creating or updating a private workflow in AWS HealthOmics](https://docs.aws.amazon.com/omics/latest/dev/creating-private-workflows.html) in the *AWS HealthOmics User Guide* .
|
|
@@ -27,6 +27,11 @@ export type OmicsWorkflowProps = {
|
|
|
27
27
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-accelerators}
|
|
28
28
|
*/
|
|
29
29
|
Accelerators?: Accelerators | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Contains information about a source code repository that hosts the workflow definition files.
|
|
32
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-definitionrepository}
|
|
33
|
+
*/
|
|
34
|
+
DefinitionRepository?: DefinitionRepository | undefined;
|
|
30
35
|
/**
|
|
31
36
|
* The URI of a definition for the workflow.
|
|
32
37
|
* @minLength 1
|
|
@@ -69,6 +74,12 @@ export type OmicsWorkflowProps = {
|
|
|
69
74
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-parametertemplate}
|
|
70
75
|
*/
|
|
71
76
|
ParameterTemplate?: Record<string, WorkflowParameter> | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Path to the primary workflow parameter template JSON file inside the repository
|
|
79
|
+
* @pattern ^[\S]+$
|
|
80
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-parametertemplatepath}
|
|
81
|
+
*/
|
|
82
|
+
ParameterTemplatePath?: string | undefined;
|
|
72
83
|
/**
|
|
73
84
|
* The default static storage capacity (in gibibytes) for runs that use this workflow or workflow version. The `storageCapacity` can be overwritten at run time. The storage capacity is not required for runs with a `DYNAMIC` storage type.
|
|
74
85
|
* @min 0
|
|
@@ -85,6 +96,31 @@ export type OmicsWorkflowProps = {
|
|
|
85
96
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-tags}
|
|
86
97
|
*/
|
|
87
98
|
Tags?: Record<string, string> | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* Optional workflow bucket owner ID to verify the workflow bucket
|
|
101
|
+
* @pattern ^[0-9]{12}$
|
|
102
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-workflowbucketownerid}
|
|
103
|
+
*/
|
|
104
|
+
WorkflowBucketOwnerId?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* The markdown content for the workflow's README file. This provides documentation and usage information for users of the workflow.
|
|
107
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-readmemarkdown}
|
|
108
|
+
*/
|
|
109
|
+
readmeMarkdown?: string | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* The path to the workflow README markdown file within the repository. This file provides documentation and usage information for the workflow. If not specified, the README.md file from the root directory of the repository will be used.
|
|
112
|
+
* @minLength 1
|
|
113
|
+
* @maxLength 128
|
|
114
|
+
* @pattern ^[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+$
|
|
115
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-readmepath}
|
|
116
|
+
*/
|
|
117
|
+
readmePath?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* The S3 URI of the README file for the workflow. This file provides documentation and usage information for the workflow. The S3 URI must begin with s3://USER-OWNED-BUCKET/. The requester must have access to the S3 bucket and object. The max README content length is 500 KiB.
|
|
120
|
+
* @pattern ^s3://([a-z0-9][a-z0-9-.]{1,61}[a-z0-9])/((.{1,1024}))$
|
|
121
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-workflow-readmeuri}
|
|
122
|
+
*/
|
|
123
|
+
readmeUri?: string | undefined;
|
|
88
124
|
};
|
|
89
125
|
/**
|
|
90
126
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#aws-resource-omics-workflow-return-values}
|
|
@@ -133,6 +169,52 @@ export type OmicsWorkflowAttribs = {
|
|
|
133
169
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflow-accelerators.html}
|
|
134
170
|
*/
|
|
135
171
|
export type Accelerators = "GPU";
|
|
172
|
+
/**
|
|
173
|
+
* Contains information about a source code repository that hosts the workflow definition files.
|
|
174
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflow-definitionrepository.html}
|
|
175
|
+
*/
|
|
176
|
+
export type DefinitionRepository = {
|
|
177
|
+
/**
|
|
178
|
+
* The Amazon Resource Name (ARN) of the connection to the source code repository.
|
|
179
|
+
* @minLength 1
|
|
180
|
+
* @maxLength 256
|
|
181
|
+
* @pattern ^arn:aws(-[\\w]+)*:.+:.+:[0-9]{12}:.+$
|
|
182
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflow-definitionrepository.html#cfn-omics-workflow-definitionrepository-connectionarn}
|
|
183
|
+
*/
|
|
184
|
+
connectionArn?: string | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* A list of file patterns to exclude when retrieving the workflow definition from the repository.
|
|
187
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflow-definitionrepository.html#cfn-omics-workflow-definitionrepository-excludefilepatterns}
|
|
188
|
+
*/
|
|
189
|
+
excludeFilePatterns?: string[] | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* The full repository identifier, including the repository owner and name. For example, 'repository-owner/repository-name'.
|
|
192
|
+
* @pattern .+/.+
|
|
193
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflow-definitionrepository.html#cfn-omics-workflow-definitionrepository-fullrepositoryid}
|
|
194
|
+
*/
|
|
195
|
+
fullRepositoryId?: string | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* The source reference for the repository, such as a branch name, tag, or commit ID.
|
|
198
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflow-definitionrepository.html#cfn-omics-workflow-definitionrepository-sourcereference}
|
|
199
|
+
*/
|
|
200
|
+
sourceReference?: SourceReference | undefined;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Contains information about the source reference in a code repository, such as a branch, tag, or commit.
|
|
204
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflow-sourcereference.html}
|
|
205
|
+
*/
|
|
206
|
+
export type SourceReference = {
|
|
207
|
+
/**
|
|
208
|
+
* The type of source reference, such as branch, tag, or commit.
|
|
209
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflow-sourcereference.html#cfn-omics-workflow-sourcereference-type}
|
|
210
|
+
*/
|
|
211
|
+
type?: "BRANCH" | "TAG" | "COMMIT" | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* The value of the source reference, such as the branch name, tag name, or commit ID.
|
|
214
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-omics-workflow-sourcereference.html#cfn-omics-workflow-sourcereference-value}
|
|
215
|
+
*/
|
|
216
|
+
value?: string | undefined;
|
|
217
|
+
};
|
|
136
218
|
/**
|
|
137
219
|
* @minLength 1
|
|
138
220
|
* @maxLength 64
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Creates an AWS PCS cluster resource. For more information, see [Creating a cluster in AWS Parallel Computing Service](https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_create.html) in the *AWS PCS User Guide* .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-cluster.html}
|
|
5
5
|
*/
|
|
6
6
|
export type PCSCluster = ResourceDefinitionWithAttributes<"AWS::PCS::Cluster", PCSClusterProps, PCSClusterAttribs>;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Creates an AWS PCS cluster resource. For more information, see [Creating a cluster in AWS Parallel Computing Service](https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_create.html) in the *AWS PCS User Guide* .
|
|
9
9
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-cluster.html}
|
|
10
10
|
*/
|
|
11
11
|
export type PCSClusterProps = {
|
|
@@ -48,6 +48,10 @@ export type PCSClusterProps = {
|
|
|
48
48
|
};
|
|
49
49
|
/**
|
|
50
50
|
* The size of the cluster.
|
|
51
|
+
*
|
|
52
|
+
* - `SMALL` : 32 compute nodes and 256 jobs
|
|
53
|
+
* - `MEDIUM` : 512 compute nodes and 8192 jobs
|
|
54
|
+
* - `LARGE` : 2048 compute nodes and 16,384 jobs
|
|
51
55
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-cluster.html#cfn-pcs-cluster-size}
|
|
52
56
|
*/
|
|
53
57
|
Size: "SMALL" | "MEDIUM" | "LARGE";
|
|
@@ -90,20 +94,24 @@ export type PCSClusterAttribs = {
|
|
|
90
94
|
*/
|
|
91
95
|
Id: string;
|
|
92
96
|
/**
|
|
93
|
-
* The provisioning status of the cluster.
|
|
97
|
+
* The provisioning status of the cluster.
|
|
98
|
+
*
|
|
99
|
+
* > The provisioning status doesn't indicate the overall health of the cluster. > The resource enters the `SUSPENDING` and `SUSPENDED` states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is `SUSPENDED` . For more information, see [Frequently asked questions about Slurm versions in AWS PCS](https://docs.aws.amazon.com//pcs/latest/userguide/slurm-versions_faq.html) in the *AWS PCS User Guide* .
|
|
94
100
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-cluster.html#cfn-pcs-cluster-status}
|
|
95
101
|
*/
|
|
96
102
|
Status: "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED";
|
|
97
103
|
};
|
|
98
104
|
/**
|
|
99
|
-
* The accounting configuration includes configurable settings for Slurm accounting.
|
|
105
|
+
* The accounting configuration includes configurable settings for Slurm accounting.
|
|
100
106
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-accounting.html}
|
|
101
107
|
*/
|
|
102
108
|
export type Accounting = {
|
|
103
109
|
/**
|
|
104
110
|
* The default value for all purge settings for `slurmdbd.conf` . For more information, see the [slurmdbd.conf documentation at SchedMD](https://docs.aws.amazon.com/https://slurm.schedmd.com/slurmdbd.conf.html) .
|
|
105
111
|
*
|
|
106
|
-
* The default value
|
|
112
|
+
* The default value for `defaultPurgeTimeInDays` is `-1` .
|
|
113
|
+
*
|
|
114
|
+
* A value of `-1` means there is no purge time and records persist as long as the cluster exists.
|
|
107
115
|
*
|
|
108
116
|
* > `0` isn't a valid value.
|
|
109
117
|
* @min -1
|
|
@@ -125,7 +133,7 @@ export type Accounting = {
|
|
|
125
133
|
*/
|
|
126
134
|
export type AuthKey = {
|
|
127
135
|
/**
|
|
128
|
-
* The Amazon Resource Name (ARN) of the shared Slurm key.
|
|
136
|
+
* The Amazon Resource Name (ARN) of the the shared Slurm key.
|
|
129
137
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pcs-cluster-authkey.html#cfn-pcs-cluster-authkey-secretarn}
|
|
130
138
|
*/
|
|
131
139
|
SecretArn: string;
|
|
@@ -148,6 +156,9 @@ export type SlurmCustomSetting = {
|
|
|
148
156
|
* - [`Prolog`](https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Prolog_1)
|
|
149
157
|
* - [`Epilog`](https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Epilog_1)
|
|
150
158
|
* - [`SelectTypeParameters`](https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_SelectTypeParameters)
|
|
159
|
+
* - [`AccountingStorageEnforce`](https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_AccountingStorageEnforce)
|
|
160
|
+
*
|
|
161
|
+
* > AWS PCS supports a subset of the options for `AccountingStorageEnforce` . For more information, see [Slurm accounting in AWS PCS](https://docs.aws.amazon.com//pcs/latest/userguide/slurm-accounting.html) in the *AWS PCS User Guide* .
|
|
151
162
|
* - For *compute node groups*
|
|
152
163
|
*
|
|
153
164
|
* - [`Weight`](https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Weight)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Creates an AWS PCS compute node group resource. For more information, see [Creating a compute node group in AWS PCS](https://docs.aws.amazon.com/pcs/latest/userguide/working-with_cng_create.html) in the *AWS PCS User Guide* .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html}
|
|
5
5
|
*/
|
|
6
6
|
export type PCSComputeNodeGroup = ResourceDefinitionWithAttributes<"AWS::PCS::ComputeNodeGroup", PCSComputeNodeGroupProps, PCSComputeNodeGroupAttribs>;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Creates an AWS PCS compute node group resource. For more information, see [Creating a compute node group in AWS PCS](https://docs.aws.amazon.com/pcs/latest/userguide/working-with_cng_create.html) in the *AWS PCS User Guide* .
|
|
9
9
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html}
|
|
10
10
|
*/
|
|
11
11
|
export type PCSComputeNodeGroupProps = {
|
|
@@ -35,13 +35,13 @@ export type PCSComputeNodeGroupProps = {
|
|
|
35
35
|
Version: string;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
|
-
* 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
|
|
38
|
+
* 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 the `pcs:RegisterComputeNodeGroupInstance` permission and the role name must start with `AWSPCS` or must have the path `/aws-pcs/` . For more information, see [IAM instance profiles for AWS PCS](https://docs.aws.amazon.com//pcs/latest/userguide/security-instance-profiles.html) in the *AWS PCS User Guide* .
|
|
39
39
|
* @pattern ^arn:aws([a-zA-Z-]{0,10})?:iam::[0-9]{12}:instance-profile/.{1,128}$
|
|
40
40
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html#cfn-pcs-computenodegroup-iaminstanceprofilearn}
|
|
41
41
|
*/
|
|
42
42
|
IamInstanceProfileArn: string;
|
|
43
43
|
/**
|
|
44
|
-
* A list of EC2 instance configurations that AWS PCS can provision in the compute node group.
|
|
44
|
+
* A list of EC2 instance configurations that AWS AWS PCS can provision in the compute node group.
|
|
45
45
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html#cfn-pcs-computenodegroup-instanceconfigs}
|
|
46
46
|
*/
|
|
47
47
|
InstanceConfigs: InstanceConfig[];
|
|
@@ -51,7 +51,7 @@ export type PCSComputeNodeGroupProps = {
|
|
|
51
51
|
*/
|
|
52
52
|
Name?: string | undefined;
|
|
53
53
|
/**
|
|
54
|
-
* 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.
|
|
54
|
+
* Specifies how EC2 instances are purchased on your behalf. AWS AWS PCS supports On-Demand and Spot instances. For more information, see [Instance purchasing options](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html) in the *Amazon Elastic Compute Cloud User Guide* . If you don't provide this option, it defaults to On-Demand.
|
|
55
55
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html#cfn-pcs-computenodegroup-purchaseoption}
|
|
56
56
|
*/
|
|
57
57
|
PurchaseOption?: "ONDEMAND" | "SPOT" | undefined;
|
|
@@ -82,7 +82,7 @@ export type PCSComputeNodeGroupProps = {
|
|
|
82
82
|
SlurmCustomSettings?: SlurmCustomSetting[] | undefined;
|
|
83
83
|
} | undefined;
|
|
84
84
|
/**
|
|
85
|
-
* Additional configuration when you specify `SPOT` as the `purchaseOption` .
|
|
85
|
+
* Additional configuration when you specify `SPOT` as the `purchaseOption` for the `CreateComputeNodeGroup` API action.
|
|
86
86
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html#cfn-pcs-computenodegroup-spotoptions}
|
|
87
87
|
*/
|
|
88
88
|
SpotOptions?: {
|
|
@@ -117,7 +117,9 @@ export type PCSComputeNodeGroupAttribs = {
|
|
|
117
117
|
*/
|
|
118
118
|
Id: string;
|
|
119
119
|
/**
|
|
120
|
-
* The provisioning status of the compute node group.
|
|
120
|
+
* The provisioning status of the compute node group.
|
|
121
|
+
*
|
|
122
|
+
* > The provisioning status doesn't indicate the overall health of the compute node group. > The resource enters the `SUSPENDING` and `SUSPENDED` states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is `SUSPENDED` . For more information, see [Frequently asked questions about Slurm versions in AWS PCS](https://docs.aws.amazon.com//pcs/latest/userguide/slurm-versions_faq.html) in the *AWS PCS User Guide* .
|
|
121
123
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-computenodegroup.html#cfn-pcs-computenodegroup-status}
|
|
122
124
|
*/
|
|
123
125
|
Status: "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED";
|
|
@@ -148,6 +150,9 @@ export type SlurmCustomSetting = {
|
|
|
148
150
|
* - [`Prolog`](https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Prolog_1)
|
|
149
151
|
* - [`Epilog`](https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Epilog_1)
|
|
150
152
|
* - [`SelectTypeParameters`](https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_SelectTypeParameters)
|
|
153
|
+
* - [`AccountingStorageEnforce`](https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_AccountingStorageEnforce)
|
|
154
|
+
*
|
|
155
|
+
* > AWS PCS supports a subset of the options for `AccountingStorageEnforce` . For more information, see [Slurm accounting in AWS PCS](https://docs.aws.amazon.com//pcs/latest/userguide/slurm-accounting.html) in the *AWS PCS User Guide* .
|
|
151
156
|
* - For *compute node groups*
|
|
152
157
|
*
|
|
153
158
|
* - [`Weight`](https://docs.aws.amazon.com/https://slurm.schedmd.com/slurm.conf.html#OPT_Weight)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Creates an AWS PCS queue resource. For more information, see [Creating a queue in AWS PCS](https://docs.aws.amazon.com/pcs/latest/userguide/working-with_queues_create.html) in the *AWS PCS User Guide* .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html}
|
|
5
5
|
*/
|
|
6
6
|
export type PCSQueue = ResourceDefinitionWithAttributes<"AWS::PCS::Queue", PCSQueueProps, PCSQueueAttribs>;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Creates an AWS PCS queue resource. For more information, see [Creating a queue in AWS PCS](https://docs.aws.amazon.com/pcs/latest/userguide/working-with_queues_create.html) in the *AWS PCS User Guide* .
|
|
9
9
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html}
|
|
10
10
|
*/
|
|
11
11
|
export type PCSQueueProps = {
|
|
@@ -46,7 +46,9 @@ export type PCSQueueAttribs = {
|
|
|
46
46
|
*/
|
|
47
47
|
Id: string;
|
|
48
48
|
/**
|
|
49
|
-
* The provisioning status of the queue.
|
|
49
|
+
* The provisioning status of the queue.
|
|
50
|
+
*
|
|
51
|
+
* > The provisioning status doesn't indicate the overall health of the queue. > The resource enters the `SUSPENDING` and `SUSPENDED` states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is `SUSPENDED` . For more information, see [Frequently asked questions about Slurm versions in AWS PCS](https://docs.aws.amazon.com//pcs/latest/userguide/slurm-versions_faq.html) in the *AWS PCS User Guide* .
|
|
50
52
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pcs-queue.html#cfn-pcs-queue-status}
|
|
51
53
|
*/
|
|
52
54
|
Status: "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED";
|
|
@@ -73,7 +73,7 @@ export type QBusinessDataSourceProps = {
|
|
|
73
73
|
*/
|
|
74
74
|
MediaExtractionConfiguration?: MediaExtractionConfiguration | undefined;
|
|
75
75
|
/**
|
|
76
|
-
* The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources.
|
|
76
|
+
* The Amazon Resource Name (ARN) of an IAM role with permission to access the data source and required resources. This field is required for all connector types except custom connectors, where it is optional.
|
|
77
77
|
* @minLength 0
|
|
78
78
|
* @maxLength 1284
|
|
79
79
|
* @pattern ^arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$
|
|
@@ -3,6 +3,10 @@ import type { ResourceDefinition } from "../main.ts";
|
|
|
3
3
|
* Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see [Create a namespace](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-namespace-create.html) in the *Amazon Simple Storage Service User Guide* .
|
|
4
4
|
*
|
|
5
5
|
* - **Permissions** - You must have the `s3tables:CreateNamespace` permission to use this operation.
|
|
6
|
+
* - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options:
|
|
7
|
+
*
|
|
8
|
+
* - NPM: `npm i @aws-cdk/aws-s3tables-alpha`
|
|
9
|
+
* - Yarn: `yarn add @aws-cdk/aws-s3tables-alpha`
|
|
6
10
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-namespace.html}
|
|
7
11
|
*/
|
|
8
12
|
export type S3TablesNamespace = ResourceDefinition<"AWS::S3Tables::Namespace", S3TablesNamespaceProps>;
|
|
@@ -10,6 +14,10 @@ export type S3TablesNamespace = ResourceDefinition<"AWS::S3Tables::Namespace", S
|
|
|
10
14
|
* Creates a namespace. A namespace is a logical grouping of tables within your table bucket, which you can use to organize tables. For more information, see [Create a namespace](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-namespace-create.html) in the *Amazon Simple Storage Service User Guide* .
|
|
11
15
|
*
|
|
12
16
|
* - **Permissions** - You must have the `s3tables:CreateNamespace` permission to use this operation.
|
|
17
|
+
* - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options:
|
|
18
|
+
*
|
|
19
|
+
* - NPM: `npm i @aws-cdk/aws-s3tables-alpha`
|
|
20
|
+
* - Yarn: `yarn add @aws-cdk/aws-s3tables-alpha`
|
|
13
21
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-namespace.html}
|
|
14
22
|
*/
|
|
15
23
|
export type S3TablesNamespaceProps = {
|
|
@@ -19,7 +27,7 @@ export type S3TablesNamespaceProps = {
|
|
|
19
27
|
*/
|
|
20
28
|
Namespace: string;
|
|
21
29
|
/**
|
|
22
|
-
* The Amazon Resource Name (ARN) of the
|
|
30
|
+
* The Amazon Resource Name (ARN) of the table bucket to create the namespace in.
|
|
23
31
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-namespace.html#cfn-s3tables-namespace-tablebucketarn}
|
|
24
32
|
*/
|
|
25
33
|
TableBucketARN: string;
|
|
@@ -7,6 +7,10 @@ import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
|
7
7
|
* - If you use this operation with the optional `encryptionConfiguration` request parameter you must have the `s3tables:PutTableEncryption` permission.
|
|
8
8
|
*
|
|
9
9
|
* > Additionally, If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see [Permissions requirements for S3 Tables SSE-KMS encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-kms-permissions.html) .
|
|
10
|
+
* - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options:
|
|
11
|
+
*
|
|
12
|
+
* - NPM: `npm i @aws-cdk/aws-s3tables-alpha`
|
|
13
|
+
* - Yarn: `yarn add @aws-cdk/aws-s3tables-alpha`
|
|
10
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html}
|
|
11
15
|
*/
|
|
12
16
|
export type S3TablesTable = ResourceDefinitionWithAttributes<"AWS::S3Tables::Table", S3TablesTableProps, S3TablesTableAttribs>;
|
|
@@ -18,11 +22,15 @@ export type S3TablesTable = ResourceDefinitionWithAttributes<"AWS::S3Tables::Tab
|
|
|
18
22
|
* - If you use this operation with the optional `encryptionConfiguration` request parameter you must have the `s3tables:PutTableEncryption` permission.
|
|
19
23
|
*
|
|
20
24
|
* > Additionally, If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see [Permissions requirements for S3 Tables SSE-KMS encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-kms-permissions.html) .
|
|
25
|
+
* - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options:
|
|
26
|
+
*
|
|
27
|
+
* - NPM: `npm i @aws-cdk/aws-s3tables-alpha`
|
|
28
|
+
* - Yarn: `yarn add @aws-cdk/aws-s3tables-alpha`
|
|
21
29
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html}
|
|
22
30
|
*/
|
|
23
31
|
export type S3TablesTableProps = {
|
|
24
32
|
/**
|
|
25
|
-
*
|
|
33
|
+
* Contains details about the compaction settings for an Iceberg table.
|
|
26
34
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-compaction}
|
|
27
35
|
*/
|
|
28
36
|
Compaction?: Compaction | undefined;
|
|
@@ -37,17 +45,17 @@ export type S3TablesTableProps = {
|
|
|
37
45
|
*/
|
|
38
46
|
Namespace: string;
|
|
39
47
|
/**
|
|
40
|
-
*
|
|
48
|
+
* The format of the table.
|
|
41
49
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-opentableformat}
|
|
42
50
|
*/
|
|
43
51
|
OpenTableFormat: OpenTableFormat;
|
|
44
52
|
/**
|
|
45
|
-
* Contains details about the snapshot management settings for
|
|
53
|
+
* Contains details about the Iceberg snapshot management settings for the table.
|
|
46
54
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-snapshotmanagement}
|
|
47
55
|
*/
|
|
48
56
|
SnapshotManagement?: SnapshotManagement | undefined;
|
|
49
57
|
/**
|
|
50
|
-
* The Amazon Resource Name (ARN) of the
|
|
58
|
+
* The Amazon Resource Name (ARN) of the table bucket to create the table in.
|
|
51
59
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-tablebucketarn}
|
|
52
60
|
*/
|
|
53
61
|
TableBucketARN: string;
|
|
@@ -57,7 +65,7 @@ export type S3TablesTableProps = {
|
|
|
57
65
|
*/
|
|
58
66
|
TableName: string;
|
|
59
67
|
/**
|
|
60
|
-
* Indicates that you don't want to specify a schema for the table. This property is mutually exclusive to
|
|
68
|
+
* Indicates that you don't want to specify a schema for the table. This property is mutually exclusive to `IcebergMetadata` , and its only possible value is `Yes` .
|
|
61
69
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-withoutmetadata}
|
|
62
70
|
*/
|
|
63
71
|
WithoutMetadata?: WithoutMetadata | undefined;
|
|
@@ -72,7 +80,7 @@ export type S3TablesTableAttribs = {
|
|
|
72
80
|
*/
|
|
73
81
|
TableARN: string;
|
|
74
82
|
/**
|
|
75
|
-
* The version token of the table
|
|
83
|
+
* The version token of the table.
|
|
76
84
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-table.html#cfn-s3tables-table-versiontoken}
|
|
77
85
|
*/
|
|
78
86
|
VersionToken: string;
|
|
@@ -83,12 +91,12 @@ export type S3TablesTableAttribs = {
|
|
|
83
91
|
WarehouseLocation: string;
|
|
84
92
|
};
|
|
85
93
|
/**
|
|
86
|
-
*
|
|
94
|
+
* Contains details about the compaction settings for an Iceberg table.
|
|
87
95
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-compaction.html}
|
|
88
96
|
*/
|
|
89
97
|
export type Compaction = {
|
|
90
98
|
/**
|
|
91
|
-
*
|
|
99
|
+
* The status of the maintenance configuration.
|
|
92
100
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-compaction.html#cfn-s3tables-table-compaction-status}
|
|
93
101
|
*/
|
|
94
102
|
Status?: "enabled" | "disabled" | undefined;
|
|
@@ -105,7 +113,7 @@ export type Compaction = {
|
|
|
105
113
|
*/
|
|
106
114
|
export type IcebergMetadata = {
|
|
107
115
|
/**
|
|
108
|
-
*
|
|
116
|
+
* The schema for an Iceberg table.
|
|
109
117
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-icebergmetadata.html#cfn-s3tables-table-icebergmetadata-icebergschema}
|
|
110
118
|
*/
|
|
111
119
|
IcebergSchema: IcebergSchema;
|
|
@@ -116,7 +124,7 @@ export type IcebergMetadata = {
|
|
|
116
124
|
*/
|
|
117
125
|
export type IcebergSchema = {
|
|
118
126
|
/**
|
|
119
|
-
*
|
|
127
|
+
* The schema fields for the table
|
|
120
128
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-icebergschema.html#cfn-s3tables-table-icebergschema-schemafieldlist}
|
|
121
129
|
*/
|
|
122
130
|
SchemaFieldList: SchemaField[];
|
|
@@ -148,7 +156,7 @@ export type SchemaField = {
|
|
|
148
156
|
Type: string;
|
|
149
157
|
};
|
|
150
158
|
/**
|
|
151
|
-
* Contains details about the snapshot management settings for an Iceberg table.
|
|
159
|
+
* Contains details about the snapshot management settings for an Iceberg table. The oldest snapshot expires when its age exceeds the `maxSnapshotAgeHours` and the total number of snapshots exceeds the value for the minimum number of snapshots to keep `minSnapshotsToKeep` .
|
|
152
160
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-snapshotmanagement.html}
|
|
153
161
|
*/
|
|
154
162
|
export type SnapshotManagement = {
|
|
@@ -165,7 +173,7 @@ export type SnapshotManagement = {
|
|
|
165
173
|
*/
|
|
166
174
|
MinSnapshotsToKeep?: number | undefined;
|
|
167
175
|
/**
|
|
168
|
-
*
|
|
176
|
+
* The status of the maintenance configuration.
|
|
169
177
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3tables-table-snapshotmanagement.html#cfn-s3tables-table-snapshotmanagement-status}
|
|
170
178
|
*/
|
|
171
179
|
Status?: "enabled" | "disabled" | undefined;
|
|
@@ -4,6 +4,10 @@ import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
|
4
4
|
*
|
|
5
5
|
* - **Permissions** - - You must have the `s3tables:CreateTableBucket` permission to use this operation.
|
|
6
6
|
* - If you use this operation with the optional `encryptionConfiguration` parameter you must have the `s3tables:PutTableBucketEncryption` permission.
|
|
7
|
+
* - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options:
|
|
8
|
+
*
|
|
9
|
+
* - NPM: `npm i @aws-cdk/aws-s3tables-alpha`
|
|
10
|
+
* - Yarn: `yarn add @aws-cdk/aws-s3tables-alpha`
|
|
7
11
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html}
|
|
8
12
|
*/
|
|
9
13
|
export type S3TablesTableBucket = ResourceDefinitionWithAttributes<"AWS::S3Tables::TableBucket", S3TablesTableBucketProps, S3TablesTableBucketAttribs>;
|
|
@@ -12,6 +16,10 @@ export type S3TablesTableBucket = ResourceDefinitionWithAttributes<"AWS::S3Table
|
|
|
12
16
|
*
|
|
13
17
|
* - **Permissions** - - You must have the `s3tables:CreateTableBucket` permission to use this operation.
|
|
14
18
|
* - If you use this operation with the optional `encryptionConfiguration` parameter you must have the `s3tables:PutTableBucketEncryption` permission.
|
|
19
|
+
* - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options:
|
|
20
|
+
*
|
|
21
|
+
* - NPM: `npm i @aws-cdk/aws-s3tables-alpha`
|
|
22
|
+
* - Yarn: `yarn add @aws-cdk/aws-s3tables-alpha`
|
|
15
23
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucket.html}
|
|
16
24
|
*/
|
|
17
25
|
export type S3TablesTableBucketProps = {
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
* Creates a new
|
|
3
|
+
* Creates a new maintenance configuration or replaces an existing table bucket policy for a table bucket. For more information, see [Adding a table bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html#table-bucket-policy-add) in the *Amazon Simple Storage Service User Guide* .
|
|
4
4
|
*
|
|
5
5
|
* - **Permissions** - You must have the `s3tables:PutTableBucketPolicy` permission to use this operation.
|
|
6
|
+
* - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options:
|
|
7
|
+
*
|
|
8
|
+
* - NPM: `npm i @aws-cdk/aws-s3tables-alpha`
|
|
9
|
+
* - Yarn: `yarn add @aws-cdk/aws-s3tables-alpha`
|
|
6
10
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucketpolicy.html}
|
|
7
11
|
*/
|
|
8
12
|
export type S3TablesTableBucketPolicy = ResourceDefinition<"AWS::S3Tables::TableBucketPolicy", S3TablesTableBucketPolicyProps>;
|
|
9
13
|
/**
|
|
10
|
-
* Creates a new
|
|
14
|
+
* Creates a new maintenance configuration or replaces an existing table bucket policy for a table bucket. For more information, see [Adding a table bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html#table-bucket-policy-add) in the *Amazon Simple Storage Service User Guide* .
|
|
11
15
|
*
|
|
12
16
|
* - **Permissions** - You must have the `s3tables:PutTableBucketPolicy` permission to use this operation.
|
|
17
|
+
* - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options:
|
|
18
|
+
*
|
|
19
|
+
* - NPM: `npm i @aws-cdk/aws-s3tables-alpha`
|
|
20
|
+
* - Yarn: `yarn add @aws-cdk/aws-s3tables-alpha`
|
|
13
21
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucketpolicy.html}
|
|
14
22
|
*/
|
|
15
23
|
export type S3TablesTableBucketPolicyProps = {
|
|
@@ -1,24 +1,33 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
* Creates a new
|
|
3
|
+
* Creates a new maintenance configuration or replaces an existing table policy for a table. For more information, see [Adding a table policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-table-policy.html#table-policy-add) in the *Amazon Simple Storage Service User Guide* .
|
|
4
4
|
*
|
|
5
5
|
* - **Permissions** - You must have the `s3tables:PutTablePolicy` permission to use this operation.
|
|
6
|
+
* - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options:
|
|
7
|
+
*
|
|
8
|
+
* - NPM: `npm i @aws-cdk/aws-s3tables-alpha`
|
|
9
|
+
* - Yarn: `yarn add @aws-cdk/aws-s3tables-alpha`
|
|
6
10
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablepolicy.html}
|
|
7
11
|
*/
|
|
8
12
|
export type S3TablesTablePolicy = ResourceDefinitionWithAttributes<"AWS::S3Tables::TablePolicy", S3TablesTablePolicyProps, S3TablesTablePolicyAttribs>;
|
|
9
13
|
/**
|
|
10
|
-
* Creates a new
|
|
14
|
+
* Creates a new maintenance configuration or replaces an existing table policy for a table. For more information, see [Adding a table policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-table-policy.html#table-policy-add) in the *Amazon Simple Storage Service User Guide* .
|
|
11
15
|
*
|
|
12
16
|
* - **Permissions** - You must have the `s3tables:PutTablePolicy` permission to use this operation.
|
|
17
|
+
* - **Cloud Development Kit** - To use S3 Tables AWS CDK constructs, add the `@aws-cdk/aws-s3tables-alpha` dependency with one of the following options:
|
|
18
|
+
*
|
|
19
|
+
* - NPM: `npm i @aws-cdk/aws-s3tables-alpha`
|
|
20
|
+
* - Yarn: `yarn add @aws-cdk/aws-s3tables-alpha`
|
|
13
21
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablepolicy.html}
|
|
14
22
|
*/
|
|
15
23
|
export type S3TablesTablePolicyProps = {
|
|
16
24
|
/**
|
|
25
|
+
* The `JSON` that defines the policy.
|
|
17
26
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablepolicy.html#cfn-s3tables-tablepolicy-resourcepolicy}
|
|
18
27
|
*/
|
|
19
28
|
ResourcePolicy: ResourcePolicy;
|
|
20
29
|
/**
|
|
21
|
-
* The Amazon Resource Name (ARN) of the
|
|
30
|
+
* The Amazon Resource Name (ARN) of the table.
|
|
22
31
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablepolicy.html#cfn-s3tables-tablepolicy-tablearn}
|
|
23
32
|
*/
|
|
24
33
|
TableARN: string;
|
|
@@ -28,17 +37,17 @@ export type S3TablesTablePolicyProps = {
|
|
|
28
37
|
*/
|
|
29
38
|
export type S3TablesTablePolicyAttribs = {
|
|
30
39
|
/**
|
|
31
|
-
* The namespace
|
|
40
|
+
* The namespace to associated with the table.
|
|
32
41
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablepolicy.html#cfn-s3tables-tablepolicy-namespace}
|
|
33
42
|
*/
|
|
34
43
|
Namespace: string;
|
|
35
44
|
/**
|
|
36
|
-
* The Amazon Resource Name (ARN) of the
|
|
45
|
+
* The Amazon Resource Name (ARN) of the table bucket that contains the table.
|
|
37
46
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablepolicy.html#cfn-s3tables-tablepolicy-tablebucketarn}
|
|
38
47
|
*/
|
|
39
48
|
TableBucketARN: string;
|
|
40
49
|
/**
|
|
41
|
-
* The name
|
|
50
|
+
* The name of the table.
|
|
42
51
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablepolicy.html#cfn-s3tables-tablepolicy-tablename}
|
|
43
52
|
*/
|
|
44
53
|
TableName: string;
|
|
@@ -167,6 +167,19 @@ export type AsyncInferenceOutputConfig = {
|
|
|
167
167
|
*/
|
|
168
168
|
S3OutputPath?: string | undefined;
|
|
169
169
|
};
|
|
170
|
+
/**
|
|
171
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-capacityreservationconfig.html}
|
|
172
|
+
*/
|
|
173
|
+
export type CapacityReservationConfig = {
|
|
174
|
+
/**
|
|
175
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-capacityreservationconfig.html#cfn-sagemaker-endpointconfig-capacityreservationconfig-capacityreservationpreference}
|
|
176
|
+
*/
|
|
177
|
+
CapacityReservationPreference?: string | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-capacityreservationconfig.html#cfn-sagemaker-endpointconfig-capacityreservationconfig-mlreservationarn}
|
|
180
|
+
*/
|
|
181
|
+
MlReservationArn?: string | undefined;
|
|
182
|
+
};
|
|
170
183
|
/**
|
|
171
184
|
* Specifies the JSON and CSV content types of the data that the endpoint captures.
|
|
172
185
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-capturecontenttypeheader.html}
|
|
@@ -430,6 +443,10 @@ export type ManagedInstanceScaling = {
|
|
|
430
443
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html}
|
|
431
444
|
*/
|
|
432
445
|
export type ProductionVariant = {
|
|
446
|
+
/**
|
|
447
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-capacityreservationconfig}
|
|
448
|
+
*/
|
|
449
|
+
CapacityReservationConfig?: CapacityReservationConfig | undefined;
|
|
433
450
|
/**
|
|
434
451
|
* The timeout value, in seconds, for your inference container to pass health check by SageMaker Hosting. For more information about health check, see [How Your Container Should Respond to Health Check (Ping) Requests](https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-inference-code.html#your-algorithms-inference-algo-ping-requests) .
|
|
435
452
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-containerstartuphealthchecktimeoutinseconds}
|
|
@@ -172,12 +172,12 @@ export type HostedRotationLambda = {
|
|
|
172
172
|
* > Only define the `Runtime` key if:
|
|
173
173
|
* >
|
|
174
174
|
* > - You are using `Transform: AWS::SecretsManager-2020-07-23` .
|
|
175
|
-
* > - The code or shared object files defined in the rotation function deployment package are incompatible with Python 3.
|
|
175
|
+
* > - The code or shared object files defined in the rotation function deployment package are incompatible with Python 3.10.
|
|
176
176
|
*
|
|
177
|
-
* The Python Runtime version for with the rotation function. By default, CloudFormation deploys Python 3.
|
|
177
|
+
* The Python Runtime version for with the rotation function. By default, CloudFormation deploys Python 3.10 binaries for the rotation function. To use a different version of Python, you must do the following two steps:
|
|
178
178
|
*
|
|
179
179
|
* - Deploy the matching version Python binaries with your rotation function.
|
|
180
|
-
* - Set the version number in this field. For example, for Python 3.
|
|
180
|
+
* - Set the version number in this field. For example, for Python 3.10, enter *python3.10* .
|
|
181
181
|
*
|
|
182
182
|
* If you only do one of the steps, your rotation function will be incompatible with the binaries. For more information, see [Why did my Lambda rotation function fail with a "pg module not found" error](https://docs.aws.amazon.com/https://repost.aws/knowledge-center/secrets-manager-lambda-rotation) .
|
|
183
183
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-secretsmanager-rotationschedule-hostedrotationlambda.html#cfn-secretsmanager-rotationschedule-hostedrotationlambda-runtime}
|