title: Turn off Default Retry Policy for Stepfuntions through CDK
body: <p>Im creating a state machine using the below code</p>
  <pre><code>const taskState2 = new tasks.LambdaInvoke(this, 'call 2nd lambda', {
        lambdaFunction: secondlambda,
        payloadResponseOnly: true
      });
  
  
      const taskState1 = new tasks.LambdaInvoke(this, 'Call 1st lambda', {
        lambdaFunction: first_lambda,
        payloadResponseOnly: true
      });
  
      //taskState1.addRetry(retryPolicy).next(taskState2);
       taskState1.next(taskState2);
  
      const mapstate = new sfn.Map(this, 'MapStateStepLambda', {
        itemsPath: '$.StepLambdaInput',
        maxConcurrency: 10,
      }).iterator(taskState1);
  
      const stateMachine = new sfn.StateMachine(this, 'MyStateMachine', {
        definition: mapstate,
        stateMachineName: `StateMachine`
      });
  </code></pre>
  <p>But when I deploy this, it is automatically attaching retry policy</p>
  <pre><code>&quot;Call 1st lambda&quot;: {
              &quot;Next&quot;: &quot;Call 2nd lambda&quot;,
              &quot;Retry&quot;: [
                {
                  &quot;ErrorEquals&quot;: [
                    &quot;Lambda.ServiceException&quot;,
                    &quot;Lambda.AWSLambdaException&quot;,
                    &quot;Lambda.SdkClientException&quot;
                  ],
                  &quot;IntervalSeconds&quot;: 2,
                  &quot;MaxAttempts&quot;: 6,
                  &quot;BackoffRate&quot;: 2
                }
              ],
              &quot;Type&quot;: &quot;Task&quot;,
              &quot;Resource&quot;: &quot;**&quot;
            },
  </code></pre>
  <p>when I attach some user-defined retry policy through cdk <code> taskstate1.addRetryPolicy(mypolicy)</code>, I can still see default policy after deployment.
  how can I remove default retry policy or edit the default retry policy using cdk.</p>