Skip to content

Commit b5fa4a5

Browse files
author
Frank
committed
StepFunctions: fix Task permissions type
1 parent e180576 commit b5fa4a5

File tree

1 file changed

+3
-3
lines changed
  • platform/src/components/aws/step-functions

1 file changed

+3
-3
lines changed

platform/src/components/aws/step-functions/task.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export interface TaskArgs extends TaskBaseArgs {
145145
* }
146146
* ```
147147
*/
148-
permissions?: Input<Prettify<FunctionPermissionArgs>[]>;
148+
permissions?: Prettify<FunctionPermissionArgs>[];
149149
}
150150

151151
/**
@@ -257,8 +257,8 @@ export class Task extends State implements Nextable, Failable {
257257
},
258258
Timeout: this.args.timeout
259259
? output(this.args.timeout).apply((t) =>
260-
isJSONata(t) ? t : toSeconds(t as Duration),
261-
)
260+
isJSONata(t) ? t : toSeconds(t as Duration),
261+
)
262262
: undefined,
263263
Arguments: this.args.arguments,
264264
};

0 commit comments

Comments
 (0)