interface CfnProcessingJobMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnProcessingJobMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnProcessingJobMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnProcessingJobMixinProps |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnProcessingJobMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnProcessingJobMixinProps |
Properties for CfnProcessingJobPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const cfnProcessingJobMixinProps: sagemaker_mixins.CfnProcessingJobMixinProps = {
appSpecification: {
containerArguments: ['containerArguments'],
containerEntrypoint: ['containerEntrypoint'],
imageUri: 'imageUri',
},
environment: {
environmentKey: 'environment',
},
experimentConfig: {
experimentName: 'experimentName',
runName: 'runName',
trialComponentDisplayName: 'trialComponentDisplayName',
trialName: 'trialName',
},
networkConfig: {
enableInterContainerTrafficEncryption: false,
enableNetworkIsolation: false,
vpcConfig: {
securityGroupIds: ['securityGroupIds'],
subnets: ['subnets'],
},
},
processingInputs: [{
appManaged: false,
datasetDefinition: {
athenaDatasetDefinition: {
catalog: 'catalog',
database: 'database',
kmsKeyId: 'kmsKeyId',
outputCompression: 'outputCompression',
outputFormat: 'outputFormat',
outputS3Uri: 'outputS3Uri',
queryString: 'queryString',
workGroup: 'workGroup',
},
dataDistributionType: 'dataDistributionType',
inputMode: 'inputMode',
localPath: 'localPath',
redshiftDatasetDefinition: {
clusterId: 'clusterId',
clusterRoleArn: 'clusterRoleArn',
database: 'database',
dbUser: 'dbUser',
kmsKeyId: 'kmsKeyId',
outputCompression: 'outputCompression',
outputFormat: 'outputFormat',
outputS3Uri: 'outputS3Uri',
queryString: 'queryString',
},
},
inputName: 'inputName',
s3Input: {
localPath: 'localPath',
s3CompressionType: 's3CompressionType',
s3DataDistributionType: 's3DataDistributionType',
s3DataType: 's3DataType',
s3InputMode: 's3InputMode',
s3Uri: 's3Uri',
},
}],
processingJobName: 'processingJobName',
processingOutputConfig: {
kmsKeyId: 'kmsKeyId',
outputs: [{
appManaged: false,
featureStoreOutput: {
featureGroupName: 'featureGroupName',
},
outputName: 'outputName',
s3Output: {
localPath: 'localPath',
s3UploadMode: 's3UploadMode',
s3Uri: 's3Uri',
},
}],
},
processingResources: {
clusterConfig: {
instanceCount: 123,
instanceType: 'instanceType',
volumeKmsKeyId: 'volumeKmsKeyId',
volumeSizeInGb: 123,
},
},
roleArn: 'roleArn',
stoppingCondition: {
maxRuntimeInSeconds: 123,
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| app | IResolvable | App | Configuration to run a processing job in a specified container image. |
| environment? | { [string]: string } | IResolvable | Sets the environment variables in the Docker container. |
| experiment | IResolvable | Experiment | Associates a SageMaker job as a trial component with an experiment and trial. |
| network | IResolvable | Network | 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. |
| processing | IResolvable | (IResolvable | Processing)[] | List of input configurations for the processing job. |
| processing | string | The name of the processing job. |
| processing | IResolvable | Processing | Contains information about the output location for the compiled model and the target device that the model runs on. |
| processing | IResolvable | Processing | Identifies the resources, ML compute instances, and ML storage volumes to deploy for a processing job. |
| role | string | The ARN of the role used to create the processing job. |
| stopping | IResolvable | Stopping | Configures conditions under which the processing job should be stopped, such as how long the processing job has been running. |
| tags? | Cfn[] | An array of key-value pairs. |
appSpecification?
Type:
IResolvable | App
(optional)
Configuration to run a processing job in a specified container image.
environment?
Type:
{ [string]: string } | IResolvable
(optional)
Sets the environment variables in the Docker container.
experimentConfig?
Type:
IResolvable | Experiment
(optional)
Associates a SageMaker job as a trial component with an experiment and trial.
Specified when you call the CreateProcessingJob API.
networkConfig?
Type:
IResolvable | Network
(optional)
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.
processingInputs?
Type:
IResolvable | (IResolvable | Processing)[]
(optional)
List of input configurations for the processing job.
processingJobName?
Type:
string
(optional)
The name of the processing job.
If you don't provide a job name, then a unique name is automatically created for the job.
processingOutputConfig?
Type:
IResolvable | Processing
(optional)
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.
processingResources?
Type:
IResolvable | Processing
(optional)
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.
roleArn?
Type:
string
(optional)
The ARN of the role used to create the processing job.
stoppingCondition?
Type:
IResolvable | Stopping
(optional)
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.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs.
For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .

.NET
Go
Java
Python
TypeScript