def register_stacks(app: core.App, aws_env: core.Environment, stacks: list) -> None:
    for stack in stacks:
        (stack_id, stack_class, stack_kwargs) = (stack[0], stack[1], (stack[2] if (len(stack) == 3) else {}))
        stack_class(app, stack_id, env=aws_env, **stack_kwargs)
def register_stacks(app: core.App, aws_env: core.Environment, stacks: list) -> None:
    for stack in stacks:
        (stack_id, stack_class, stack_kwargs) = (stack[0], stack[1], (stack[2] if (len(stack) == 3) else {}))
        stack_class(app, stack_id, env=aws_env, **stack_kwargs)