Closed rbs392 closed 2 years ago
@eladb can you please comment if this feature is planned or possible in any upcoming releases?
Hi @rbs392, thanks for submitting a feature request. Unfortunately until this is added to CloudFormation we can't add it to the CDK. I've submitted a ticket for them to add it. You can also ask them here.
I was able to get it to work by overriding the bind method. Does this mean it is supported in CFN it now?
export class SageMakerTransformTaskWithDataProcessingInput extends tasks.SagemakerTransformTask {
public bind(task: sfn.Task): sfn.StepFunctionsTaskConfig {
const config = super.bind(task)
const newParameters = config.parameters || {};
// Adding DataProcessing seperately into the input
// as this is not part of the SagemakerTransformTask model
// refer https://github.com/aws/aws-cdk/issues/3543
newParameters["DataProcessing"] = {
"JoinSource": "Input"
}
return {
resourceArn: config.resourceArn,
policyStatements: config.policyStatements,
parameters: newParameters
}
}
}
Seems to be missing in their documentation for CreateTransformJob
- https://docs.aws.amazon.com/step-functions/latest/dg/connect-sagemaker.html
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
I'm submitting a ...
What is the expected behavior (or behavior of feature suggested)? SagemakerTransformTask supports DataProcessing property
What is the motivation / use case for changing the behavior or adding this feature? Missing feature from the actual api of sagemaker batch transform
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateTransformJob.html#SageMaker-CreateTransformJob-request-DataProcessing