Closed ufoo68 closed 4 years ago
Hi @ufoo68.
The code you are referring to is auto generated from the CloudFormation specifications. You can see in the docs that:
parameterObjects
is required.pipelineObjects
is not required.You say there is an error when pipelineObjects
is not specified, can you share the error and the code you used to deploy?
Thanks
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
Sorry, it is a not bug. This issue is just my option. CloudFormation on the doc specify parameterObjects
is required, so parameterObjects
is not nullable on aws-cdk.
I basically do not use parameterObjects
for develop the datapipeline using aws-cdk.
However, I understand that this library is based on cloudformation docs. I close this issue
@aws-cdk/aws-datapipeline.CfnPipeline don't need
parameterObjects
I think @aws-cdk/aws-datapipeline.CfnPipeline on CfnPipelineProps,
parameterObjects
is not required andpipelineObjects
is required (if pipelineObjects is empty, cdk-deploy cause an error).Because, aws-cdk able to define parameters using programing language(TypeScript etc..)