-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support the new "Parameters" option of AWS Step Functions #1480
Comments
In the mean time, I hope you are aware you can use CloudFormation overrides to work around the lack of support for now. |
I could not use the CloudFormation overrides because what I need is a property (on TaskProps) that will end up as a JSON object. I got it to work for now with this: interface ParameterizedTaskProps extends sf.TaskProps {
parameters: any;
}
class ParameterizedTask extends sf.Task {
private parameterizedProps: ParameterizedTaskProps;
constructor(parentConstruct: cdk.Construct, id: string, parameterizedProps: ParameterizedTaskProps) {
super(parentConstruct, id, parameterizedProps);
this.parameterizedProps = parameterizedProps;
}
public toStateJson(): object {
const stateJson = {
...super.toStateJson(),
Parameters: this.parameterizedProps.parameters
};
return stateJson;
}
} |
You are right, of course. Sorry! |
AWS Step Functions released support for 'Parameters' option in the input definition. Closes aws#1480
… added a link to the docs AWS Step Functions released support for 'Parameters' option in the input definition. Closes aws#1480
AWS Step Functions released support for 'Parameters' option in the input definition. Closes #1480
commit d0c5283 has removed this... can this issue be reopened? |
I'm unable to set Parameters on Step Functions tasks in CDK v1.3. Can this issue be reopened? |
I see this StepFunctionsInvokeActivity still have no parameters path. |
AWS Step Functions released support for Parameters option in the input definition.
CDK should be able to define this attribute:
The text was updated successfully, but these errors were encountered: