@propulsionworks/cloudformation 0.1.19 → 0.1.21
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-appconfig-configurationprofile.d.ts +3 -3
- package/out/exports/resources.generated/aws-appconfig-deployment.d.ts +5 -0
- package/out/exports/resources.generated/aws-arcregionswitch-plan.d.ts +848 -0
- package/out/exports/resources.generated/aws-athena-datacatalog.d.ts +15 -6
- package/out/exports/resources.generated/aws-athena-workgroup.d.ts +3 -3
- package/out/exports/resources.generated/aws-batch-jobqueue.d.ts +79 -1
- package/out/exports/resources.generated/aws-batch-serviceenvironment.d.ts +66 -0
- package/out/exports/resources.generated/aws-cassandra-table.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudfront-distribution.d.ts +10 -2
- package/out/exports/resources.generated/aws-codebuild-project.d.ts +17 -0
- package/out/exports/resources.generated/aws-cognito-managedloginbranding.d.ts +7 -0
- package/out/exports/resources.generated/aws-datazone-environmentblueprintconfiguration.d.ts +4 -0
- package/out/exports/resources.generated/aws-datazone-project.d.ts +9 -2
- package/out/exports/resources.generated/aws-datazone-projectprofile.d.ts +26 -2
- package/out/exports/resources.generated/aws-deadline-fleet.d.ts +13 -0
- package/out/exports/resources.generated/aws-deadline-monitor.d.ts +6 -1
- package/out/exports/resources.generated/aws-docdb-dbcluster.d.ts +5 -1
- package/out/exports/resources.generated/aws-ec2-ec2fleet.d.ts +0 -4
- package/out/exports/resources.generated/aws-ec2-ipam.d.ts +6 -1
- package/out/exports/resources.generated/aws-ec2-launchtemplate.d.ts +4 -53
- package/out/exports/resources.generated/aws-ec2-natgateway.d.ts +1 -1
- package/out/exports/resources.generated/aws-ec2-transitgatewayconnectpeer.d.ts +74 -0
- package/out/exports/resources.generated/aws-ecr-repository.d.ts +27 -1
- package/out/exports/resources.generated/aws-ecr-repositorycreationtemplate.d.ts +23 -1
- package/out/exports/resources.generated/aws-ecs-service.d.ts +1 -1
- package/out/exports/resources.generated/aws-eks-cluster.d.ts +5 -0
- package/out/exports/resources.generated/aws-elasticloadbalancingv2-loadbalancer.d.ts +1 -0
- package/out/exports/resources.generated/aws-entityresolution-idmappingworkflow.d.ts +12 -8
- package/out/exports/resources.generated/aws-entityresolution-idnamespace.d.ts +8 -8
- package/out/exports/resources.generated/aws-entityresolution-matchingworkflow.d.ts +61 -15
- package/out/exports/resources.generated/aws-evs-environment.d.ts +1 -9
- package/out/exports/resources.generated/aws-glue-job.d.ts +1 -1
- package/out/exports/resources.generated/aws-iotsitewise-assetmodel.d.ts +46 -2
- package/out/exports/resources.generated/aws-iotsitewise-computationmodel.d.ts +158 -0
- package/out/exports/resources.generated/aws-iotsitewise-gateway.d.ts +1 -1
- package/out/exports/resources.generated/aws-kinesisfirehose-deliverystream.d.ts +1 -1
- package/out/exports/resources.generated/aws-lambda-url.d.ts +1 -1
- package/out/exports/resources.generated/aws-lightsail-domain.d.ts +26 -11
- package/out/exports/resources.generated/aws-logs-destination.d.ts +6 -1
- package/out/exports/resources.generated/aws-logs-loggroup.d.ts +4 -0
- package/out/exports/resources.generated/aws-medialive-channel.d.ts +3 -0
- package/out/exports/resources.generated/aws-mediapackagev2-channel.d.ts +7 -0
- package/out/exports/resources.generated/aws-mediapackagev2-originendpoint.d.ts +18 -0
- package/out/exports/resources.generated/aws-mediapackagev2-originendpointpolicy.d.ts +23 -0
- package/out/exports/resources.generated/aws-networkfirewall-firewall.d.ts +36 -6
- package/out/exports/resources.generated/aws-networkfirewall-firewallpolicy.d.ts +16 -9
- package/out/exports/resources.generated/aws-networkfirewall-loggingconfiguration.d.ts +8 -8
- package/out/exports/resources.generated/aws-networkfirewall-rulegroup.d.ts +36 -22
- package/out/exports/resources.generated/aws-networkfirewall-vpcendpointassociation.d.ts +3 -3
- package/out/exports/resources.generated/aws-opensearchserverless-securityconfig.d.ts +1 -1
- package/out/exports/resources.generated/aws-opsworks-app.d.ts +4 -4
- package/out/exports/resources.generated/aws-opsworks-elasticloadbalancerattachment.d.ts +1 -1
- package/out/exports/resources.generated/aws-opsworks-instance.d.ts +14 -14
- package/out/exports/resources.generated/aws-opsworks-layer.d.ts +8 -8
- package/out/exports/resources.generated/aws-opsworks-stack.d.ts +25 -25
- package/out/exports/resources.generated/aws-opsworkscm-server.d.ts +2 -4
- package/out/exports/resources.generated/aws-pcs-cluster.d.ts +4 -0
- package/out/exports/resources.generated/aws-qbusiness-webexperience.d.ts +1 -1
- package/out/exports/resources.generated/aws-quicksight-topic.d.ts +15 -0
- package/out/exports/resources.generated/aws-rds-dbcluster.d.ts +5 -0
- package/out/exports/resources.generated/aws-rds-dbinstance.d.ts +20 -0
- package/out/exports/resources.generated/aws-rds-dbproxy.d.ts +1 -1
- package/out/exports/resources.generated/aws-s3-accesspoint.d.ts +6 -1
- package/out/exports/resources.generated/aws-s3express-accesspoint.d.ts +5 -1
- package/out/exports/resources.generated/aws-sagemaker-cluster.d.ts +116 -1
- package/out/exports/resources.generated/aws-sagemaker-domain.d.ts +5 -1
- package/out/exports/resources.generated/aws-sagemaker-processingjob.d.ts +634 -0
- package/out/exports/resources.generated/aws-sagemaker-space.d.ts +3 -0
- package/out/exports/resources.generated/aws-sagemaker-userprofile.d.ts +4 -0
- package/out/exports/resources.generated/aws-ses-configurationset.d.ts +1 -1
- package/out/exports/resources.generated/aws-ses-dedicatedippool.d.ts +1 -1
- package/out/exports/resources.generated/aws-ses-emailidentity.d.ts +1 -1
- package/out/exports/resources.generated/aws-ssm-patchbaseline.d.ts +5 -1
- package/out/exports/resources.generated/aws-verifiedpermissions-policystore.d.ts +3 -5
- package/out/exports/resources.generated/aws-wisdom-messagetemplate.d.ts +2 -2
- package/out/exports/resources.generated/aws-workspacesweb-portal.d.ts +7 -0
- package/out/exports/resources.generated/aws-workspacesweb-sessionlogger.d.ts +125 -0
- package/package.json +1 -1
|
@@ -0,0 +1,634 @@
|
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, Tag } from "../main.ts";
|
|
2
|
+
/**
|
|
3
|
+
* An Amazon SageMaker processing job that is used to analyze data and evaluate models. For more information, see [Process Data and Evaluate Models](https://docs.aws.amazon.com/sagemaker/latest/dg/processing-job.html) .
|
|
4
|
+
*
|
|
5
|
+
* Also, note the following details specific to processing jobs created using CloudFormation stacks:
|
|
6
|
+
*
|
|
7
|
+
* - When you delete a CloudFormation stack with a processing job resource, the processing job is stopped using the [StopProcessingJob](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StopProcessingJob.html) API but not deleted. Any tags associated with the processing job are deleted using the [DeleteTags](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteTags.html) API.
|
|
8
|
+
* - If any part of your CloudFormation stack deployment fails and a rollback initiates, processing jobs with a specified `ProcessingJobName` value might cause the stack to become stuck in a failed state. This occurs because during a rollback, CloudFormation attempts to recreate the stack resources. Processing job names must be unique, so when CloudFormation attempts to recreate a processing job using the already defined name, this results in an `AlreadyExists` error. To prevent this, we recommend that you don't specify the optional `ProcessingJobName` property, thereby allowing SageMaker to auto-generate a unique name for your processing job. This ensures successful stack rollbacks when necessary. If you must use custom job names, you have to manually modify the `ProcessingJobName` and redeploy the stack to recover from a failed rollback.
|
|
9
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html}
|
|
10
|
+
*/
|
|
11
|
+
export type SageMakerProcessingJob = ResourceDefinitionWithAttributes<"AWS::SageMaker::ProcessingJob", SageMakerProcessingJobProps, SageMakerProcessingJobAttribs>;
|
|
12
|
+
/**
|
|
13
|
+
* An Amazon SageMaker processing job that is used to analyze data and evaluate models. For more information, see [Process Data and Evaluate Models](https://docs.aws.amazon.com/sagemaker/latest/dg/processing-job.html) .
|
|
14
|
+
*
|
|
15
|
+
* Also, note the following details specific to processing jobs created using CloudFormation stacks:
|
|
16
|
+
*
|
|
17
|
+
* - When you delete a CloudFormation stack with a processing job resource, the processing job is stopped using the [StopProcessingJob](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StopProcessingJob.html) API but not deleted. Any tags associated with the processing job are deleted using the [DeleteTags](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteTags.html) API.
|
|
18
|
+
* - If any part of your CloudFormation stack deployment fails and a rollback initiates, processing jobs with a specified `ProcessingJobName` value might cause the stack to become stuck in a failed state. This occurs because during a rollback, CloudFormation attempts to recreate the stack resources. Processing job names must be unique, so when CloudFormation attempts to recreate a processing job using the already defined name, this results in an `AlreadyExists` error. To prevent this, we recommend that you don't specify the optional `ProcessingJobName` property, thereby allowing SageMaker to auto-generate a unique name for your processing job. This ensures successful stack rollbacks when necessary. If you must use custom job names, you have to manually modify the `ProcessingJobName` and redeploy the stack to recover from a failed rollback.
|
|
19
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html}
|
|
20
|
+
*/
|
|
21
|
+
export type SageMakerProcessingJobProps = {
|
|
22
|
+
/**
|
|
23
|
+
* Configuration to run a processing job in a specified container image.
|
|
24
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-appspecification}
|
|
25
|
+
*/
|
|
26
|
+
AppSpecification: AppSpecification;
|
|
27
|
+
/**
|
|
28
|
+
* Sets the environment variables in the Docker container.
|
|
29
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-environment}
|
|
30
|
+
*/
|
|
31
|
+
Environment?: Record<string, string> | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the [CreateProcessingJob](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateProcessingJob.html) API.
|
|
34
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-experimentconfig}
|
|
35
|
+
*/
|
|
36
|
+
ExperimentConfig?: ExperimentConfig | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.
|
|
39
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-networkconfig}
|
|
40
|
+
*/
|
|
41
|
+
NetworkConfig?: NetworkConfig | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* List of input configurations for the processing job.
|
|
44
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-processinginputs}
|
|
45
|
+
*/
|
|
46
|
+
ProcessingInputs?: ProcessingInputsObject[] | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the processing job. If you don't provide a job name, then a unique name is automatically created for the job.
|
|
49
|
+
* @minLength 1
|
|
50
|
+
* @maxLength 63
|
|
51
|
+
* @pattern [a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}
|
|
52
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-processingjobname}
|
|
53
|
+
*/
|
|
54
|
+
ProcessingJobName?: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Contains information about the output location for the compiled model and the target device that the model runs on. `TargetDevice` and `TargetPlatform` are mutually exclusive, so you need to choose one between the two to specify your target device or platform. If you cannot find your device you want to use from the `TargetDevice` list, use `TargetPlatform` to describe the platform of your edge device and `CompilerOptions` if there are specific settings that are required or recommended to use for particular TargetPlatform.
|
|
57
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-processingoutputconfig}
|
|
58
|
+
*/
|
|
59
|
+
ProcessingOutputConfig?: ProcessingOutputConfig | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.
|
|
62
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-processingresources}
|
|
63
|
+
*/
|
|
64
|
+
ProcessingResources: ProcessingResources;
|
|
65
|
+
/**
|
|
66
|
+
* The ARN of the role used to create the processing job.
|
|
67
|
+
* @minLength 20
|
|
68
|
+
* @maxLength 2048
|
|
69
|
+
* @pattern arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
|
|
70
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-rolearn}
|
|
71
|
+
*/
|
|
72
|
+
RoleArn: string;
|
|
73
|
+
/**
|
|
74
|
+
* Configures conditions under which the processing job should be stopped, such as how long the processing job has been running. After the condition is met, the processing job is stopped.
|
|
75
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-stoppingcondition}
|
|
76
|
+
*/
|
|
77
|
+
StoppingCondition?: StoppingCondition | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* An array of key-value pairs. For more information, see [Using Cost Allocation Tags](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL) in the *AWS Billing and Cost Management User Guide* .
|
|
80
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-tags}
|
|
81
|
+
*/
|
|
82
|
+
Tags?: Tag[] | undefined;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#aws-resource-sagemaker-processingjob-return-values}
|
|
86
|
+
*/
|
|
87
|
+
export type SageMakerProcessingJobAttribs = {
|
|
88
|
+
/**
|
|
89
|
+
* The Amazon Resource Name (ARN) of the AutoML job associated with this processing job.
|
|
90
|
+
* @maxLength 256
|
|
91
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-automljobarn}
|
|
92
|
+
*/
|
|
93
|
+
AutoMLJobArn: string;
|
|
94
|
+
/**
|
|
95
|
+
* The time the processing job was created.
|
|
96
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-creationtime}
|
|
97
|
+
*/
|
|
98
|
+
CreationTime: string;
|
|
99
|
+
/**
|
|
100
|
+
* A string, up to one KB in size, that contains metadata from the processing container when the processing job exits.
|
|
101
|
+
* @maxLength 1024
|
|
102
|
+
* @pattern [\S\s]*
|
|
103
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-exitmessage}
|
|
104
|
+
*/
|
|
105
|
+
ExitMessage: string;
|
|
106
|
+
/**
|
|
107
|
+
* A string, up to one KB in size, that contains the reason a processing job failed, if it failed.
|
|
108
|
+
* @maxLength 1024
|
|
109
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-failurereason}
|
|
110
|
+
*/
|
|
111
|
+
FailureReason: string;
|
|
112
|
+
/**
|
|
113
|
+
* The time the processing job was last modified.
|
|
114
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-lastmodifiedtime}
|
|
115
|
+
*/
|
|
116
|
+
LastModifiedTime: string;
|
|
117
|
+
/**
|
|
118
|
+
* The ARN of a monitoring schedule for an endpoint associated with this processing job.
|
|
119
|
+
* @maxLength 256
|
|
120
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-monitoringschedulearn}
|
|
121
|
+
*/
|
|
122
|
+
MonitoringScheduleArn: string;
|
|
123
|
+
/**
|
|
124
|
+
* The time that the processing job ended.
|
|
125
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-processingendtime}
|
|
126
|
+
*/
|
|
127
|
+
ProcessingEndTime: string;
|
|
128
|
+
/**
|
|
129
|
+
* The ARN of the processing job.
|
|
130
|
+
* @minLength 0
|
|
131
|
+
* @maxLength 256
|
|
132
|
+
* @pattern arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]*:[0-9]{12}:processing-job/.*
|
|
133
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-processingjobarn}
|
|
134
|
+
*/
|
|
135
|
+
ProcessingJobArn: string;
|
|
136
|
+
/**
|
|
137
|
+
* The status of the processing job.
|
|
138
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-processingjobstatus}
|
|
139
|
+
*/
|
|
140
|
+
ProcessingJobStatus: "Completed" | "InProgress" | "Stopping" | "Stopped" | "Failed";
|
|
141
|
+
/**
|
|
142
|
+
* The time that the processing job started.
|
|
143
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-processingstarttime}
|
|
144
|
+
*/
|
|
145
|
+
ProcessingStartTime: string;
|
|
146
|
+
/**
|
|
147
|
+
* The ARN of the training job associated with this processing job.
|
|
148
|
+
* @maxLength 256
|
|
149
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html#cfn-sagemaker-processingjob-trainingjobarn}
|
|
150
|
+
*/
|
|
151
|
+
TrainingJobArn: string;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Configuration to run a processing job in a specified container image.
|
|
155
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-appspecification.html}
|
|
156
|
+
*/
|
|
157
|
+
export type AppSpecification = {
|
|
158
|
+
/**
|
|
159
|
+
* The arguments for a container used to run a processing job.
|
|
160
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-appspecification.html#cfn-sagemaker-processingjob-appspecification-containerarguments}
|
|
161
|
+
*/
|
|
162
|
+
ContainerArguments?: string[] | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* The entrypoint for a container used to run a processing job.
|
|
165
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-appspecification.html#cfn-sagemaker-processingjob-appspecification-containerentrypoint}
|
|
166
|
+
*/
|
|
167
|
+
ContainerEntrypoint?: string[] | undefined;
|
|
168
|
+
/**
|
|
169
|
+
* The container image to be run by the processing job.
|
|
170
|
+
* @minLength 0
|
|
171
|
+
* @maxLength 256
|
|
172
|
+
* @pattern .*
|
|
173
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-appspecification.html#cfn-sagemaker-processingjob-appspecification-imageuri}
|
|
174
|
+
*/
|
|
175
|
+
ImageUri: string;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Configuration for Athena Dataset Definition input.
|
|
179
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-athenadatasetdefinition.html}
|
|
180
|
+
*/
|
|
181
|
+
export type AthenaDatasetDefinition = {
|
|
182
|
+
/**
|
|
183
|
+
* The name of the data catalog used in Athena query execution.
|
|
184
|
+
* @maxLength 256
|
|
185
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-athenadatasetdefinition.html#cfn-sagemaker-processingjob-athenadatasetdefinition-catalog}
|
|
186
|
+
*/
|
|
187
|
+
Catalog: string;
|
|
188
|
+
/**
|
|
189
|
+
* The name of the database used in the Athena query execution.
|
|
190
|
+
* @maxLength 255
|
|
191
|
+
* @pattern .*
|
|
192
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-athenadatasetdefinition.html#cfn-sagemaker-processingjob-athenadatasetdefinition-database}
|
|
193
|
+
*/
|
|
194
|
+
Database: string;
|
|
195
|
+
/**
|
|
196
|
+
* The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data generated from an Athena query execution.
|
|
197
|
+
* @minLength 0
|
|
198
|
+
* @maxLength 2048
|
|
199
|
+
* @pattern [a-zA-Z0-9:/_-]*
|
|
200
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-athenadatasetdefinition.html#cfn-sagemaker-processingjob-athenadatasetdefinition-kmskeyid}
|
|
201
|
+
*/
|
|
202
|
+
KmsKeyId?: string | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* The compression used for Athena query results.
|
|
205
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-athenadatasetdefinition.html#cfn-sagemaker-processingjob-athenadatasetdefinition-outputcompression}
|
|
206
|
+
*/
|
|
207
|
+
OutputCompression?: "GZIP" | "SNAPPY" | "ZLIB" | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* The data storage format for Athena query results.
|
|
210
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-athenadatasetdefinition.html#cfn-sagemaker-processingjob-athenadatasetdefinition-outputformat}
|
|
211
|
+
*/
|
|
212
|
+
OutputFormat: "PARQUET" | "AVRO" | "ORC" | "JSON" | "TEXTFILE";
|
|
213
|
+
/**
|
|
214
|
+
* The location in Amazon S3 where Athena query results are stored.
|
|
215
|
+
* @minLength 0
|
|
216
|
+
* @maxLength 1024
|
|
217
|
+
* @pattern (https|s3)://([^/]+)/?(.*)
|
|
218
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-athenadatasetdefinition.html#cfn-sagemaker-processingjob-athenadatasetdefinition-outputs3uri}
|
|
219
|
+
*/
|
|
220
|
+
OutputS3Uri: string;
|
|
221
|
+
/**
|
|
222
|
+
* The SQL query statements, to be executed.
|
|
223
|
+
* @maxLength 4096
|
|
224
|
+
* @pattern [\s\S]+
|
|
225
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-athenadatasetdefinition.html#cfn-sagemaker-processingjob-athenadatasetdefinition-querystring}
|
|
226
|
+
*/
|
|
227
|
+
QueryString: string;
|
|
228
|
+
/**
|
|
229
|
+
* The name of the workgroup in which the Athena query is being started.
|
|
230
|
+
* @maxLength 128
|
|
231
|
+
* @pattern [a-zA-Z0-9._-]+
|
|
232
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-athenadatasetdefinition.html#cfn-sagemaker-processingjob-athenadatasetdefinition-workgroup}
|
|
233
|
+
*/
|
|
234
|
+
WorkGroup?: string | undefined;
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* Configuration for the cluster used to run a processing job.
|
|
238
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-clusterconfig.html}
|
|
239
|
+
*/
|
|
240
|
+
export type ClusterConfig = {
|
|
241
|
+
/**
|
|
242
|
+
* The number of ML compute instances to use in the processing job. For distributed processing jobs, specify a value greater than 1. The default value is 1.
|
|
243
|
+
* @min 1
|
|
244
|
+
* @max 100
|
|
245
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-clusterconfig.html#cfn-sagemaker-processingjob-clusterconfig-instancecount}
|
|
246
|
+
*/
|
|
247
|
+
InstanceCount: number;
|
|
248
|
+
/**
|
|
249
|
+
* The ML compute instance type for the processing job.
|
|
250
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-clusterconfig.html#cfn-sagemaker-processingjob-clusterconfig-instancetype}
|
|
251
|
+
*/
|
|
252
|
+
InstanceType: "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m4.xlarge" | "ml.m4.2xlarge" | "ml.m4.4xlarge" | "ml.m4.10xlarge" | "ml.m4.16xlarge" | "ml.c4.xlarge" | "ml.c4.2xlarge" | "ml.c4.4xlarge" | "ml.c4.8xlarge" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.18xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.12xlarge" | "ml.m5.24xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.r5d.large" | "ml.r5d.xlarge" | "ml.r5d.2xlarge" | "ml.r5d.4xlarge" | "ml.r5d.8xlarge" | "ml.r5d.12xlarge" | "ml.r5d.16xlarge" | "ml.r5d.24xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge";
|
|
253
|
+
/**
|
|
254
|
+
* The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the processing job.
|
|
255
|
+
*
|
|
256
|
+
* > Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a `VolumeKmsKeyId` when using an instance type with local storage.
|
|
257
|
+
* >
|
|
258
|
+
* > For a list of instance types that support local instance storage, see [Instance Store Volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes) .
|
|
259
|
+
* >
|
|
260
|
+
* > For more information about local instance storage encryption, see [SSD Instance Store Volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html) .
|
|
261
|
+
* @minLength 0
|
|
262
|
+
* @maxLength 2048
|
|
263
|
+
* @pattern [a-zA-Z0-9:/_-]*
|
|
264
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-clusterconfig.html#cfn-sagemaker-processingjob-clusterconfig-volumekmskeyid}
|
|
265
|
+
*/
|
|
266
|
+
VolumeKmsKeyId?: string | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* The size of the ML storage volume in gigabytes that you want to provision. You must specify sufficient ML storage for your scenario.
|
|
269
|
+
*
|
|
270
|
+
* > Certain Nitro-based instances include local storage with a fixed total size, dependent on the instance type. When using these instances for processing, Amazon SageMaker mounts the local instance storage instead of Amazon EBS gp2 storage. You can't request a `VolumeSizeInGB` greater than the total size of the local instance storage.
|
|
271
|
+
* >
|
|
272
|
+
* > For a list of instance types that support local instance storage, including the total size per instance type, see [Instance Store Volumes](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes) .
|
|
273
|
+
* @min 1
|
|
274
|
+
* @max 16384
|
|
275
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-clusterconfig.html#cfn-sagemaker-processingjob-clusterconfig-volumesizeingb}
|
|
276
|
+
*/
|
|
277
|
+
VolumeSizeInGB: number;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* Configuration for Dataset Definition inputs. The Dataset Definition input must specify exactly one of either `AthenaDatasetDefinition` or `RedshiftDatasetDefinition` types.
|
|
281
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-datasetdefinition.html}
|
|
282
|
+
*/
|
|
283
|
+
export type DatasetDefinition = {
|
|
284
|
+
/**
|
|
285
|
+
* Configuration for Athena Dataset Definition input.
|
|
286
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-datasetdefinition.html#cfn-sagemaker-processingjob-datasetdefinition-athenadatasetdefinition}
|
|
287
|
+
*/
|
|
288
|
+
AthenaDatasetDefinition?: AthenaDatasetDefinition | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* Whether the generated dataset is `FullyReplicated` or `ShardedByS3Key` (default).
|
|
291
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-datasetdefinition.html#cfn-sagemaker-processingjob-datasetdefinition-datadistributiontype}
|
|
292
|
+
*/
|
|
293
|
+
DataDistributionType?: "FullyReplicated" | "ShardedByS3Key" | undefined;
|
|
294
|
+
/**
|
|
295
|
+
* Whether to use `File` or `Pipe` input mode. In `File` (default) mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode. In `Pipe` mode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.
|
|
296
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-datasetdefinition.html#cfn-sagemaker-processingjob-datasetdefinition-inputmode}
|
|
297
|
+
*/
|
|
298
|
+
InputMode?: "File" | "Pipe" | undefined;
|
|
299
|
+
/**
|
|
300
|
+
* The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job. `LocalPath` is an absolute path to the input data. This is a required parameter when `AppManaged` is `False` (default).
|
|
301
|
+
* @minLength 0
|
|
302
|
+
* @maxLength 256
|
|
303
|
+
* @pattern .*
|
|
304
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-datasetdefinition.html#cfn-sagemaker-processingjob-datasetdefinition-localpath}
|
|
305
|
+
*/
|
|
306
|
+
LocalPath?: string | undefined;
|
|
307
|
+
/**
|
|
308
|
+
* Configuration for Redshift Dataset Definition input.
|
|
309
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-datasetdefinition.html#cfn-sagemaker-processingjob-datasetdefinition-redshiftdatasetdefinition}
|
|
310
|
+
*/
|
|
311
|
+
RedshiftDatasetDefinition?: RedshiftDatasetDefinition | undefined;
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* Associates a SageMaker job as a trial component with an experiment and trial. Specified when you call the [CreateProcessingJob](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateProcessingJob.html) API.
|
|
315
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-experimentconfig.html}
|
|
316
|
+
*/
|
|
317
|
+
export type ExperimentConfig = {
|
|
318
|
+
/**
|
|
319
|
+
* The name of an existing experiment to associate with the trial component.
|
|
320
|
+
* @maxLength 120
|
|
321
|
+
* @pattern [a-zA-Z0-9](-*[a-zA-Z0-9]){0,119}
|
|
322
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-experimentconfig.html#cfn-sagemaker-processingjob-experimentconfig-experimentname}
|
|
323
|
+
*/
|
|
324
|
+
ExperimentName?: string | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* The name of the experiment run to associate with the trial component.
|
|
327
|
+
* @maxLength 120
|
|
328
|
+
* @pattern [a-zA-Z0-9](-*[a-zA-Z0-9]){0,119}
|
|
329
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-experimentconfig.html#cfn-sagemaker-processingjob-experimentconfig-runname}
|
|
330
|
+
*/
|
|
331
|
+
RunName?: string | undefined;
|
|
332
|
+
/**
|
|
333
|
+
* The display name for the trial component. If this key isn't specified, the display name is the trial component name.
|
|
334
|
+
* @maxLength 120
|
|
335
|
+
* @pattern [a-zA-Z0-9](-*[a-zA-Z0-9]){0,119}
|
|
336
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-experimentconfig.html#cfn-sagemaker-processingjob-experimentconfig-trialcomponentdisplayname}
|
|
337
|
+
*/
|
|
338
|
+
TrialComponentDisplayName?: string | undefined;
|
|
339
|
+
/**
|
|
340
|
+
* The name of an existing trial to associate the trial component with. If not specified, a new trial is created.
|
|
341
|
+
* @maxLength 120
|
|
342
|
+
* @pattern [a-zA-Z0-9](-*[a-zA-Z0-9]){0,119}
|
|
343
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-experimentconfig.html#cfn-sagemaker-processingjob-experimentconfig-trialname}
|
|
344
|
+
*/
|
|
345
|
+
TrialName?: string | undefined;
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* Configuration for processing job outputs in Amazon SageMaker Feature Store.
|
|
349
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-featurestoreoutput.html}
|
|
350
|
+
*/
|
|
351
|
+
export type FeatureStoreOutput = {
|
|
352
|
+
/**
|
|
353
|
+
* The name of the Amazon SageMaker FeatureGroup to use as the destination for processing job output. Note that your processing script is responsible for putting records into your Feature Store.
|
|
354
|
+
* @maxLength 64
|
|
355
|
+
* @pattern [a-zA-Z0-9]([_-]*[a-zA-Z0-9]){0,63}
|
|
356
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-featurestoreoutput.html#cfn-sagemaker-processingjob-featurestoreoutput-featuregroupname}
|
|
357
|
+
*/
|
|
358
|
+
FeatureGroupName: string;
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
* Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.
|
|
362
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-networkconfig.html}
|
|
363
|
+
*/
|
|
364
|
+
export type NetworkConfig = {
|
|
365
|
+
/**
|
|
366
|
+
* Whether to encrypt all communications between distributed processing jobs. Choose `True` to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.
|
|
367
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-networkconfig.html#cfn-sagemaker-processingjob-networkconfig-enableintercontainertrafficencryption}
|
|
368
|
+
*/
|
|
369
|
+
EnableInterContainerTrafficEncryption?: boolean | undefined;
|
|
370
|
+
/**
|
|
371
|
+
* Whether to allow inbound and outbound network calls to and from the containers used for the processing job.
|
|
372
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-networkconfig.html#cfn-sagemaker-processingjob-networkconfig-enablenetworkisolation}
|
|
373
|
+
*/
|
|
374
|
+
EnableNetworkIsolation?: boolean | undefined;
|
|
375
|
+
/**
|
|
376
|
+
* Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see [Give SageMaker Access to Resources in your Amazon VPC](https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html) .
|
|
377
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-networkconfig.html#cfn-sagemaker-processingjob-networkconfig-vpcconfig}
|
|
378
|
+
*/
|
|
379
|
+
VpcConfig?: VpcConfig | undefined;
|
|
380
|
+
};
|
|
381
|
+
/**
|
|
382
|
+
* The inputs for a processing job. The processing input must specify exactly one of either `S3Input` or `DatasetDefinition` types.
|
|
383
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processinginputsobject.html}
|
|
384
|
+
*/
|
|
385
|
+
export type ProcessingInputsObject = {
|
|
386
|
+
/**
|
|
387
|
+
* When `True` , input operations such as data download are managed natively by the processing job application. When `False` (default), input operations are managed by Amazon SageMaker.
|
|
388
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processinginputsobject.html#cfn-sagemaker-processingjob-processinginputsobject-appmanaged}
|
|
389
|
+
*/
|
|
390
|
+
AppManaged?: boolean | undefined;
|
|
391
|
+
/**
|
|
392
|
+
* Configuration for Dataset Definition inputs. The Dataset Definition input must specify exactly one of either `AthenaDatasetDefinition` or `RedshiftDatasetDefinition` types.
|
|
393
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processinginputsobject.html#cfn-sagemaker-processingjob-processinginputsobject-datasetdefinition}
|
|
394
|
+
*/
|
|
395
|
+
DatasetDefinition?: DatasetDefinition | undefined;
|
|
396
|
+
/**
|
|
397
|
+
* The name for the processing job input.
|
|
398
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processinginputsobject.html#cfn-sagemaker-processingjob-processinginputsobject-inputname}
|
|
399
|
+
*/
|
|
400
|
+
InputName: string;
|
|
401
|
+
/**
|
|
402
|
+
* Configuration for downloading input data from Amazon S3 into the processing container.
|
|
403
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processinginputsobject.html#cfn-sagemaker-processingjob-processinginputsobject-s3input}
|
|
404
|
+
*/
|
|
405
|
+
S3Input?: S3Input | undefined;
|
|
406
|
+
};
|
|
407
|
+
/**
|
|
408
|
+
* Configuration for uploading output from the processing container.
|
|
409
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingoutputconfig.html}
|
|
410
|
+
*/
|
|
411
|
+
export type ProcessingOutputConfig = {
|
|
412
|
+
/**
|
|
413
|
+
* The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt the processing job output. `KmsKeyId` can be an ID of a KMS key, ARN of a KMS key, or alias of a KMS key. The `KmsKeyId` is applied to all outputs.
|
|
414
|
+
* @maxLength 2048
|
|
415
|
+
* @pattern [a-zA-Z0-9:/_-]*
|
|
416
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingoutputconfig.html#cfn-sagemaker-processingjob-processingoutputconfig-kmskeyid}
|
|
417
|
+
*/
|
|
418
|
+
KmsKeyId?: string | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* An array of outputs configuring the data to upload from the processing container.
|
|
421
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingoutputconfig.html#cfn-sagemaker-processingjob-processingoutputconfig-outputs}
|
|
422
|
+
*/
|
|
423
|
+
Outputs: ProcessingOutputsObject[];
|
|
424
|
+
};
|
|
425
|
+
/**
|
|
426
|
+
* Describes the results of a processing job. The processing output must specify exactly one of either `S3Output` or `FeatureStoreOutput` types.
|
|
427
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingoutputsobject.html}
|
|
428
|
+
*/
|
|
429
|
+
export type ProcessingOutputsObject = {
|
|
430
|
+
/**
|
|
431
|
+
* When `True` , output operations such as data upload are managed natively by the processing job application. When `False` (default), output operations are managed by Amazon SageMaker.
|
|
432
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingoutputsobject.html#cfn-sagemaker-processingjob-processingoutputsobject-appmanaged}
|
|
433
|
+
*/
|
|
434
|
+
AppManaged?: boolean | undefined;
|
|
435
|
+
/**
|
|
436
|
+
* Configuration for processing job outputs in Amazon SageMaker Feature Store.
|
|
437
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingoutputsobject.html#cfn-sagemaker-processingjob-processingoutputsobject-featurestoreoutput}
|
|
438
|
+
*/
|
|
439
|
+
FeatureStoreOutput?: FeatureStoreOutput | undefined;
|
|
440
|
+
/**
|
|
441
|
+
* The name for the processing job output.
|
|
442
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingoutputsobject.html#cfn-sagemaker-processingjob-processingoutputsobject-outputname}
|
|
443
|
+
*/
|
|
444
|
+
OutputName: string;
|
|
445
|
+
/**
|
|
446
|
+
* Configuration for uploading output data to Amazon S3 from the processing container.
|
|
447
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingoutputsobject.html#cfn-sagemaker-processingjob-processingoutputsobject-s3output}
|
|
448
|
+
*/
|
|
449
|
+
S3Output?: S3Output | undefined;
|
|
450
|
+
};
|
|
451
|
+
/**
|
|
452
|
+
* Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. In distributed training, you specify more than one instance.
|
|
453
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingresources.html}
|
|
454
|
+
*/
|
|
455
|
+
export type ProcessingResources = {
|
|
456
|
+
/**
|
|
457
|
+
* The configuration for the resources in a cluster used to run the processing job.
|
|
458
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingresources.html#cfn-sagemaker-processingjob-processingresources-clusterconfig}
|
|
459
|
+
*/
|
|
460
|
+
ClusterConfig: ClusterConfig;
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* Configuration for Redshift Dataset Definition input.
|
|
464
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-redshiftdatasetdefinition.html}
|
|
465
|
+
*/
|
|
466
|
+
export type RedshiftDatasetDefinition = {
|
|
467
|
+
/**
|
|
468
|
+
* The Redshift cluster Identifier.
|
|
469
|
+
* @maxLength 63
|
|
470
|
+
* @pattern .*
|
|
471
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-redshiftdatasetdefinition.html#cfn-sagemaker-processingjob-redshiftdatasetdefinition-clusterid}
|
|
472
|
+
*/
|
|
473
|
+
ClusterId: string;
|
|
474
|
+
/**
|
|
475
|
+
* The IAM role attached to your Redshift cluster that Amazon SageMaker uses to generate datasets.
|
|
476
|
+
* @minLength 20
|
|
477
|
+
* @maxLength 2048
|
|
478
|
+
* @pattern arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+
|
|
479
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-redshiftdatasetdefinition.html#cfn-sagemaker-processingjob-redshiftdatasetdefinition-clusterrolearn}
|
|
480
|
+
*/
|
|
481
|
+
ClusterRoleArn: string;
|
|
482
|
+
/**
|
|
483
|
+
* The name of the Redshift database used in Redshift query execution.
|
|
484
|
+
* @maxLength 64
|
|
485
|
+
* @pattern .*
|
|
486
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-redshiftdatasetdefinition.html#cfn-sagemaker-processingjob-redshiftdatasetdefinition-database}
|
|
487
|
+
*/
|
|
488
|
+
Database: string;
|
|
489
|
+
/**
|
|
490
|
+
* The database user name used in Redshift query execution.
|
|
491
|
+
* @maxLength 128
|
|
492
|
+
* @pattern .*
|
|
493
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-redshiftdatasetdefinition.html#cfn-sagemaker-processingjob-redshiftdatasetdefinition-dbuser}
|
|
494
|
+
*/
|
|
495
|
+
DbUser: string;
|
|
496
|
+
/**
|
|
497
|
+
* The AWS Key Management Service ( AWS KMS) key that Amazon SageMaker uses to encrypt data from a Redshift execution.
|
|
498
|
+
* @minLength 0
|
|
499
|
+
* @maxLength 2048
|
|
500
|
+
* @pattern [a-zA-Z0-9:/_-]*
|
|
501
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-redshiftdatasetdefinition.html#cfn-sagemaker-processingjob-redshiftdatasetdefinition-kmskeyid}
|
|
502
|
+
*/
|
|
503
|
+
KmsKeyId?: string | undefined;
|
|
504
|
+
/**
|
|
505
|
+
* The compression used for Redshift query results.
|
|
506
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-redshiftdatasetdefinition.html#cfn-sagemaker-processingjob-redshiftdatasetdefinition-outputcompression}
|
|
507
|
+
*/
|
|
508
|
+
OutputCompression?: "None" | "GZIP" | "SNAPPY" | "ZSTD" | "BZIP2" | undefined;
|
|
509
|
+
/**
|
|
510
|
+
* The data storage format for Redshift query results.
|
|
511
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-redshiftdatasetdefinition.html#cfn-sagemaker-processingjob-redshiftdatasetdefinition-outputformat}
|
|
512
|
+
*/
|
|
513
|
+
OutputFormat: "PARQUET" | "CSV";
|
|
514
|
+
/**
|
|
515
|
+
* The location in Amazon S3 where the Redshift query results are stored.
|
|
516
|
+
* @minLength 0
|
|
517
|
+
* @maxLength 1024
|
|
518
|
+
* @pattern (https|s3)://([^/]+)/?(.*)
|
|
519
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-redshiftdatasetdefinition.html#cfn-sagemaker-processingjob-redshiftdatasetdefinition-outputs3uri}
|
|
520
|
+
*/
|
|
521
|
+
OutputS3Uri: string;
|
|
522
|
+
/**
|
|
523
|
+
* The SQL query statements to be executed.
|
|
524
|
+
* @maxLength 4096
|
|
525
|
+
* @pattern [\s\S]+
|
|
526
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-redshiftdatasetdefinition.html#cfn-sagemaker-processingjob-redshiftdatasetdefinition-querystring}
|
|
527
|
+
*/
|
|
528
|
+
QueryString: string;
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* Configuration for downloading input data from Amazon S3 into the processing container.
|
|
532
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3input.html}
|
|
533
|
+
*/
|
|
534
|
+
export type S3Input = {
|
|
535
|
+
/**
|
|
536
|
+
* The local path in your container where you want Amazon SageMaker to write input data to. `LocalPath` is an absolute path to the input data and must begin with `/opt/ml/processing/` . `LocalPath` is a required parameter when `AppManaged` is `False` (default).
|
|
537
|
+
* @minLength 0
|
|
538
|
+
* @maxLength 256
|
|
539
|
+
* @pattern .*
|
|
540
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3input.html#cfn-sagemaker-processingjob-s3input-localpath}
|
|
541
|
+
*/
|
|
542
|
+
LocalPath?: string | undefined;
|
|
543
|
+
/**
|
|
544
|
+
* Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container. `Gzip` can only be used when `Pipe` mode is specified as the `S3InputMode` . In `Pipe` mode, Amazon SageMaker streams input data from the source directly to your container without using the EBS volume.
|
|
545
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3input.html#cfn-sagemaker-processingjob-s3input-s3compressiontype}
|
|
546
|
+
*/
|
|
547
|
+
S3CompressionType?: "None" | "Gzip" | undefined;
|
|
548
|
+
/**
|
|
549
|
+
* Whether to distribute the data from Amazon S3 to all processing instances with `FullyReplicated` , or whether the data from Amazon S3 is shared by Amazon S3 key, downloading one shard of data to each processing instance.
|
|
550
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3input.html#cfn-sagemaker-processingjob-s3input-s3datadistributiontype}
|
|
551
|
+
*/
|
|
552
|
+
S3DataDistributionType?: "FullyReplicated" | "ShardedByS3Key" | undefined;
|
|
553
|
+
/**
|
|
554
|
+
* Whether you use an `S3Prefix` or a `ManifestFile` for the data type. If you choose `S3Prefix` , `S3Uri` identifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for the processing job. If you choose `ManifestFile` , `S3Uri` identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for the processing job.
|
|
555
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3input.html#cfn-sagemaker-processingjob-s3input-s3datatype}
|
|
556
|
+
*/
|
|
557
|
+
S3DataType: "ManifestFile" | "S3Prefix";
|
|
558
|
+
/**
|
|
559
|
+
* Whether to use `File` or `Pipe` input mode. In File mode, Amazon SageMaker copies the data from the input source onto the local ML storage volume before starting your processing container. This is the most commonly used input mode. In `Pipe` mode, Amazon SageMaker streams input data from the source directly to your processing container into named pipes without using the ML storage volume.
|
|
560
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3input.html#cfn-sagemaker-processingjob-s3input-s3inputmode}
|
|
561
|
+
*/
|
|
562
|
+
S3InputMode?: "File" | "Pipe" | undefined;
|
|
563
|
+
/**
|
|
564
|
+
* The URI of the Amazon S3 prefix Amazon SageMaker downloads data required to run a processing job.
|
|
565
|
+
* @minLength 0
|
|
566
|
+
* @maxLength 1024
|
|
567
|
+
* @pattern (https|s3)://([^/]+)/?(.*)
|
|
568
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3input.html#cfn-sagemaker-processingjob-s3input-s3uri}
|
|
569
|
+
*/
|
|
570
|
+
S3Uri: string;
|
|
571
|
+
};
|
|
572
|
+
/**
|
|
573
|
+
* Configuration for uploading output data to Amazon S3 from the processing container.
|
|
574
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3output.html}
|
|
575
|
+
*/
|
|
576
|
+
export type S3Output = {
|
|
577
|
+
/**
|
|
578
|
+
* The local path of a directory where you want Amazon SageMaker to upload its contents to Amazon S3. `LocalPath` is an absolute path to a directory containing output files. This directory will be created by the platform and exist when your container's entrypoint is invoked.
|
|
579
|
+
* @minLength 0
|
|
580
|
+
* @maxLength 256
|
|
581
|
+
* @pattern .*
|
|
582
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3output.html#cfn-sagemaker-processingjob-s3output-localpath}
|
|
583
|
+
*/
|
|
584
|
+
LocalPath?: string | undefined;
|
|
585
|
+
/**
|
|
586
|
+
* Whether to upload the results of the processing job continuously or after the job completes.
|
|
587
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3output.html#cfn-sagemaker-processingjob-s3output-s3uploadmode}
|
|
588
|
+
*/
|
|
589
|
+
S3UploadMode: "Continuous" | "EndOfJob";
|
|
590
|
+
/**
|
|
591
|
+
* The URI of the Amazon S3 prefix Amazon SageMaker downloads data required to run a processing job.
|
|
592
|
+
* @minLength 0
|
|
593
|
+
* @maxLength 1024
|
|
594
|
+
* @pattern (https|s3)://([^/]+)/?(.*)
|
|
595
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3output.html#cfn-sagemaker-processingjob-s3output-s3uri}
|
|
596
|
+
*/
|
|
597
|
+
S3Uri: string;
|
|
598
|
+
};
|
|
599
|
+
/**
|
|
600
|
+
* Configures conditions under which the processing job should be stopped, such as how long the processing job has been running. After the condition is met, the processing job is stopped.
|
|
601
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-stoppingcondition.html}
|
|
602
|
+
*/
|
|
603
|
+
export type StoppingCondition = {
|
|
604
|
+
/**
|
|
605
|
+
* The maximum length of time, in seconds, that a training or compilation job can run before it is stopped.
|
|
606
|
+
*
|
|
607
|
+
* For compilation jobs, if the job does not complete during this time, a `TimeOut` error is generated. We recommend starting with 900 seconds and increasing as necessary based on your model.
|
|
608
|
+
*
|
|
609
|
+
* For all other jobs, if the job does not complete during this time, SageMaker ends the job. When `RetryStrategy` is specified in the job request, `MaxRuntimeInSeconds` specifies the maximum time for all of the attempts in total, not each individual attempt. The default value is 1 day. The maximum value is 28 days.
|
|
610
|
+
*
|
|
611
|
+
* The maximum time that a `TrainingJob` can run in total, including any time spent publishing metrics or archiving and uploading models after it has been stopped, is 30 days.
|
|
612
|
+
* @min 1
|
|
613
|
+
* @max 777600
|
|
614
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-stoppingcondition.html#cfn-sagemaker-processingjob-stoppingcondition-maxruntimeinseconds}
|
|
615
|
+
*/
|
|
616
|
+
MaxRuntimeInSeconds: number;
|
|
617
|
+
};
|
|
618
|
+
/**
|
|
619
|
+
* Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see [Give SageMaker Access to Resources in your Amazon VPC](https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html) .
|
|
620
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-vpcconfig.html}
|
|
621
|
+
*/
|
|
622
|
+
export type VpcConfig = {
|
|
623
|
+
/**
|
|
624
|
+
* The VPC security group IDs, in the form `sg-xxxxxxxx` . Specify the security groups for the VPC that is specified in the `Subnets` field.
|
|
625
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-vpcconfig.html#cfn-sagemaker-processingjob-vpcconfig-securitygroupids}
|
|
626
|
+
*/
|
|
627
|
+
SecurityGroupIds: string[];
|
|
628
|
+
/**
|
|
629
|
+
* The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see [Supported Instance Types and Availability Zones](https://docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html) .
|
|
630
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-vpcconfig.html#cfn-sagemaker-processingjob-vpcconfig-subnets}
|
|
631
|
+
*/
|
|
632
|
+
Subnets: string[];
|
|
633
|
+
};
|
|
634
|
+
//# sourceMappingURL=aws-sagemaker-processingjob.d.ts.map
|