Skip to content

Commit

Permalink
fix(AWS EventBridge): Fix MaximumEventAgeInSecond template reference
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Sep 29, 2021
1 parent ad315b1 commit cd03f55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -180,7 +180,7 @@ class AwsCompileEventBridgeEvents {
}

RetryPolicy = {
MaximumEventAge: RetryPolicy.maximumEventAge,
MaximumEventAgeInSeconds: RetryPolicy.maximumEventAge,
MaximumRetryAttempts: RetryPolicy.maximumRetryAttempts,
};
}
Expand Down
Expand Up @@ -542,7 +542,7 @@ describe('EventBridgeEvents', () => {
const retryPolicyRuleTarget = getRuleResourceEndingWith(cfResources, '6').Properties
.Targets[0];
expect(retryPolicyRuleTarget.RetryPolicy).to.deep.equal({
MaximumEventAge: 7200,
MaximumEventAgeInSeconds: 7200,
MaximumRetryAttempts: 9,
});
});
Expand Down

0 comments on commit cd03f55

Please sign in to comment.